1 |
#!/bin/sh |
2 |
# Generated automatically by configure. |
3 |
# Run this file to recreate the current configuration. |
4 |
# This directory was configured as follows, |
5 |
# on host raptor: |
6 |
# |
7 |
# ./configure |
8 |
# |
9 |
# Compiler output produced by configure, useful for debugging |
10 |
# configure, is in ./config.log if it exists. |
11 |
|
12 |
ac_cs_usage="Usage: ./config.status [--recheck] [--version] [--help]" |
13 |
for ac_option |
14 |
do |
15 |
case "$ac_option" in |
16 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
17 |
echo "running ${CONFIG_SHELL-/bin/sh} ./configure --no-create --no-recursion" |
18 |
exec ${CONFIG_SHELL-/bin/sh} ./configure --no-create --no-recursion ;; |
19 |
-version | --version | --versio | --versi | --vers | --ver | --ve | --v) |
20 |
echo "./config.status generated by autoconf version 2.1" |
21 |
exit 0 ;; |
22 |
-help | --help | --hel | --he | --h) |
23 |
echo "$ac_cs_usage"; exit 0 ;; |
24 |
*) echo "$ac_cs_usage"; exit 1 ;; |
25 |
esac |
26 |
done |
27 |
|
28 |
ac_given_srcdir=. |
29 |
|
30 |
trap 'rm -fr Makefile test/Makefile config.h conftest*; exit 1' 1 2 15 |
31 |
|
32 |
# Protect against being on the right side of a sed subst in config.status. |
33 |
sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\&%]/\\&/g; |
34 |
s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF |
35 |
/^[ ]*VPATH[ ]*=[^:]*$/d |
36 |
|
37 |
s%@CFLAGS@%-g -O%g |
38 |
s%@CPPFLAGS@%%g |
39 |
s%@CXXFLAGS@%-g -O%g |
40 |
s%@DEFS@%-DHAVE_CONFIG_H%g |
41 |
s%@LDFLAGS@%%g |
42 |
s%@LIBS@%%g |
43 |
s%@exec_prefix@%${prefix}%g |
44 |
s%@prefix@%/usr/local%g |
45 |
s%@program_transform_name@%s,x,x,%g |
46 |
s%@SET_MAKE@%%g |
47 |
s%@CC@%gcc%g |
48 |
s%@CXX@%c++%g |
49 |
s%@RANLIB@%ranlib%g |
50 |
s%@MAKEDEPEND@%makedepend%g |
51 |
s%@CPP@%gcc -E%g |
52 |
s%@CXXCPP@%c++ -E%g |
53 |
s%@NETWORK_LIBS@% -lnsl -lsocket%g |
54 |
|
55 |
CEOF |
56 |
|
57 |
CONFIG_FILES=${CONFIG_FILES-"Makefile test/Makefile"} |
58 |
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then |
59 |
# Support "outfile[:infile]", defaulting infile="outfile.in". |
60 |
case "$ac_file" in |
61 |
*:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'` |
62 |
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
63 |
*) ac_file_in="${ac_file}.in" ;; |
64 |
esac |
65 |
|
66 |
# Adjust relative srcdir, etc. for subdirectories. |
67 |
|
68 |
# Remove last slash and all that follows it. Not all systems have dirname. |
69 |
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |
70 |
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
71 |
# The file is in a subdirectory. |
72 |
test ! -d "$ac_dir" && mkdir "$ac_dir" |
73 |
ac_dir_suffix="/$ac_dir" |
74 |
# A "../" for each directory in $ac_dir_suffix. |
75 |
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` |
76 |
else |
77 |
ac_dir_suffix= ac_dots= |
78 |
fi |
79 |
|
80 |
case "$ac_given_srcdir" in |
81 |
.) srcdir=. |
82 |
if test -z "$ac_dots"; then top_srcdir=. |
83 |
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; |
84 |
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; |
85 |
*) # Relative path. |
86 |
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" |
87 |
top_srcdir="$ac_dots$ac_given_srcdir" ;; |
88 |
esac |
89 |
|
90 |
echo creating "$ac_file" |
91 |
rm -f "$ac_file" |
92 |
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." |
93 |
case "$ac_file" in |
94 |
*Makefile*) ac_comsub="1i\\ |
95 |
# $configure_input" ;; |
96 |
*) ac_comsub= ;; |
97 |
esac |
98 |
sed -e "$ac_comsub |
99 |
s%@configure_input@%$configure_input%g |
100 |
s%@srcdir@%$srcdir%g |
101 |
s%@top_srcdir@%$top_srcdir%g |
102 |
" -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file |
103 |
fi; done |
104 |
rm -f conftest.subs |
105 |
|
106 |
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where |
107 |
# NAME is the cpp macro being defined and VALUE is the value it is being given. |
108 |
# |
109 |
# ac_d sets the value in "#define NAME VALUE" lines. |
110 |
ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
111 |
ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' |
112 |
ac_dC='\3' |
113 |
ac_dD='%g' |
114 |
# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". |
115 |
ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
116 |
ac_uB='\([ ]\)%\1#\2define\3' |
117 |
ac_uC=' ' |
118 |
ac_uD='\4%g' |
119 |
# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
120 |
ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
121 |
ac_eB='$%\1#\2define\3' |
122 |
ac_eC=' ' |
123 |
ac_eD='%g' |
124 |
|
125 |
CONFIG_HEADERS=${CONFIG_HEADERS-"config.h"} |
126 |
for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then |
127 |
# Support "outfile[:infile]", defaulting infile="outfile.in". |
128 |
case "$ac_file" in |
129 |
*:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'` |
130 |
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
131 |
*) ac_file_in="${ac_file}.in" ;; |
132 |
esac |
133 |
|
134 |
echo creating $ac_file |
135 |
|
136 |
rm -f conftest.frag conftest.in conftest.out |
137 |
cp $ac_given_srcdir/$ac_file_in conftest.in |
138 |
|
139 |
cat > conftest.frag <<CEOF |
140 |
${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD} |
141 |
${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD} |
142 |
${ac_eA}HAVE_STRING_H${ac_eB}HAVE_STRING_H${ac_eC}1${ac_eD} |
143 |
${ac_dA}HAVE_MEMORY_H${ac_dB}HAVE_MEMORY_H${ac_dC}1${ac_dD} |
144 |
${ac_uA}HAVE_MEMORY_H${ac_uB}HAVE_MEMORY_H${ac_uC}1${ac_uD} |
145 |
${ac_eA}HAVE_MEMORY_H${ac_eB}HAVE_MEMORY_H${ac_eC}1${ac_eD} |
146 |
${ac_dA}_S_LIBGXX${ac_dB}_S_LIBGXX${ac_dC}1${ac_dD} |
147 |
${ac_uA}_S_LIBGXX${ac_uB}_S_LIBGXX${ac_uC}1${ac_uD} |
148 |
${ac_eA}_S_LIBGXX${ac_eB}_S_LIBGXX${ac_eC}1${ac_eD} |
149 |
${ac_dA}HAVE_SYS_WAIT_H${ac_dB}HAVE_SYS_WAIT_H${ac_dC}1${ac_dD} |
150 |
${ac_uA}HAVE_SYS_WAIT_H${ac_uB}HAVE_SYS_WAIT_H${ac_uC}1${ac_uD} |
151 |
${ac_eA}HAVE_SYS_WAIT_H${ac_eB}HAVE_SYS_WAIT_H${ac_eC}1${ac_eD} |
152 |
CEOF |
153 |
sed -f conftest.frag conftest.in > conftest.out |
154 |
rm -f conftest.in |
155 |
mv conftest.out conftest.in |
156 |
|
157 |
cat > conftest.frag <<CEOF |
158 |
${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD} |
159 |
${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD} |
160 |
${ac_eA}STDC_HEADERS${ac_eB}STDC_HEADERS${ac_eC}1${ac_eD} |
161 |
${ac_dA}RETSIGTYPE${ac_dB}RETSIGTYPE${ac_dC}void${ac_dD} |
162 |
${ac_uA}RETSIGTYPE${ac_uB}RETSIGTYPE${ac_uC}void${ac_uD} |
163 |
${ac_eA}RETSIGTYPE${ac_eB}RETSIGTYPE${ac_eC}void${ac_eD} |
164 |
${ac_dA}HAVE_SELECT${ac_dB}HAVE_SELECT${ac_dC}1${ac_dD} |
165 |
${ac_uA}HAVE_SELECT${ac_uB}HAVE_SELECT${ac_uC}1${ac_uD} |
166 |
${ac_eA}HAVE_SELECT${ac_eB}HAVE_SELECT${ac_eC}1${ac_eD} |
167 |
${ac_dA}SYS_SIGLIST${ac_dB}SYS_SIGLIST${ac_dC}_sys_siglist${ac_dD} |
168 |
${ac_uA}SYS_SIGLIST${ac_uB}SYS_SIGLIST${ac_uC}_sys_siglist${ac_uD} |
169 |
${ac_eA}SYS_SIGLIST${ac_eB}SYS_SIGLIST${ac_eC}_sys_siglist${ac_eD} |
170 |
CEOF |
171 |
sed -f conftest.frag conftest.in > conftest.out |
172 |
rm -f conftest.in |
173 |
mv conftest.out conftest.in |
174 |
|
175 |
cat > conftest.frag <<CEOF |
176 |
${ac_dA}EXTERN_C_BEGIN${ac_dB}EXTERN_C_BEGIN${ac_dC}${ac_dD} |
177 |
${ac_uA}EXTERN_C_BEGIN${ac_uB}EXTERN_C_BEGIN${ac_uC}${ac_uD} |
178 |
${ac_eA}EXTERN_C_BEGIN${ac_eB}EXTERN_C_BEGIN${ac_eC}${ac_eD} |
179 |
${ac_dA}EXTERN_C_END${ac_dB}EXTERN_C_END${ac_dC}${ac_dD} |
180 |
${ac_uA}EXTERN_C_END${ac_uB}EXTERN_C_END${ac_uC}${ac_uD} |
181 |
${ac_eA}EXTERN_C_END${ac_eB}EXTERN_C_END${ac_eC}${ac_eD} |
182 |
s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% |
183 |
CEOF |
184 |
sed -f conftest.frag conftest.in > conftest.out |
185 |
rm -f conftest.in |
186 |
mv conftest.out conftest.in |
187 |
|
188 |
rm -f conftest.frag conftest.h |
189 |
echo "/* $ac_file. Generated automatically by configure. */" > conftest.h |
190 |
cat conftest.in >> conftest.h |
191 |
rm -f conftest.in |
192 |
if cmp -s $ac_file conftest.h 2>/dev/null; then |
193 |
echo "$ac_file is unchanged" |
194 |
rm -f conftest.h |
195 |
else |
196 |
rm -f $ac_file |
197 |
mv conftest.h $ac_file |
198 |
fi |
199 |
fi; done |
200 |
|
201 |
|
202 |
|
203 |
exit 0 |