~vcs-imports/gawk/master

« back to all changes in this revision

Viewing changes to atari/mkconf.g

  • Committer: Arnold D. Robbins
  • Date: 2010-07-16 08:58:26 UTC
  • Revision ID: git-v1:765c7494b3dac62207e6cd57fb839997e237f292
Moving to 2.13.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# gulam script to produce configuration file for Atari ST;
 
3
# performs the same job as mkconf, but only for this specific configuration;
 
4
# it is assumed that it is located in a subdirectory .\atari
 
5
#
 
6
if { -e ..\config\atari }
 
7
    sed -n -f mkscrpt.sed ..\config\atari > sedscr
 
8
    sed -f sedscr ..\config.h-d > config.h
 
9
    sed -n '/^#echo./s///p' ..\config\atari
 
10
    rm sedscr
 
11
    mv config.h ..
 
12
ef
 
13
    echo "'..\config\atari' was lost somewhere"
 
14
    echo "Either construct one based on the examples in the config directory,"
 
15
    echo "or, in source directory, copy config.h-dist to config.h and edit it."
 
16
    exit 1
 
17
endif
 
18
exit 0