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 bofh:
6#
7# ./configure
8#
9# Compiler output produced by configure, useful for debugging
10# configure, is in ./config.log if it exists.
11
12ac_cs_usage="Usage: ./config.status [--recheck] [--version] [--help]"
13for ac_option
14do
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.12"
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
26done
27
28ac_given_srcdir=.
29ac_given_INSTALL="/usr/bin/install -c"
30
31trap 'rm -fr Makefile diag/Makefile config.h conftest*; exit 1' 1 2 15
32
33# Protect against being on the right side of a sed subst in config.status.
34sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\&%]/\\&/g;
35 s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
36/^[ 	]*VPATH[ 	]*=[^:]*$/d
37
38s%@CFLAGS@%-g -O2%g
39s%@CPPFLAGS@%%g
40s%@CXXFLAGS@%%g
41s%@DEFS@%-DHAVE_CONFIG_H%g
42s%@LDFLAGS@%%g
43s%@LIBS@%%g
44s%@exec_prefix@%${prefix}%g
45s%@prefix@%/usr/local%g
46s%@program_transform_name@%s,x,x,%g
47s%@bindir@%${exec_prefix}/bin%g
48s%@sbindir@%${exec_prefix}/sbin%g
49s%@libexecdir@%${exec_prefix}/libexec%g
50s%@datadir@%${prefix}/share%g
51s%@sysconfdir@%${prefix}/etc%g
52s%@sharedstatedir@%${prefix}/com%g
53s%@localstatedir@%${prefix}/var%g
54s%@libdir@%${exec_prefix}/lib%g
55s%@includedir@%${prefix}/include%g
56s%@oldincludedir@%/usr/include%g
57s%@infodir@%${prefix}/info%g
58s%@mandir@%${prefix}/man%g
59s%@CC@%gcc%g
60s%@CPP@%gcc -E%g
61s%@INSTALL_PROGRAM@%${INSTALL}%g
62s%@INSTALL_DATA@%${INSTALL} -m 644%g
63s%@RANLIB@%ranlib%g
64
65CEOF
66
67# Split the substitutions into bite-sized pieces for seds with
68# small command number limits, like on Digital OSF/1 and HP-UX.
69ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
70ac_file=1 # Number of current file.
71ac_beg=1 # First line for current file.
72ac_end=$ac_max_sed_cmds # Line after last line for current file.
73ac_more_lines=:
74ac_sed_cmds=""
75while $ac_more_lines; do
76  if test $ac_beg -gt 1; then
77    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
78  else
79    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
80  fi
81  if test ! -s conftest.s$ac_file; then
82    ac_more_lines=false
83    rm -f conftest.s$ac_file
84  else
85    if test -z "$ac_sed_cmds"; then
86      ac_sed_cmds="sed -f conftest.s$ac_file"
87    else
88      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
89    fi
90    ac_file=`expr $ac_file + 1`
91    ac_beg=$ac_end
92    ac_end=`expr $ac_end + $ac_max_sed_cmds`
93  fi
94done
95if test -z "$ac_sed_cmds"; then
96  ac_sed_cmds=cat
97fi
98
99CONFIG_FILES=${CONFIG_FILES-"Makefile diag/Makefile"}
100for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
101  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
102  case "$ac_file" in
103  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
104       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
105  *) ac_file_in="${ac_file}.in" ;;
106  esac
107
108  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
109
110  # Remove last slash and all that follows it.  Not all systems have dirname.
111  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
112  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
113    # The file is in a subdirectory.
114    test ! -d "$ac_dir" && mkdir "$ac_dir"
115    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
116    # A "../" for each directory in $ac_dir_suffix.
117    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
118  else
119    ac_dir_suffix= ac_dots=
120  fi
121
122  case "$ac_given_srcdir" in
123  .)  srcdir=.
124      if test -z "$ac_dots"; then top_srcdir=.
125      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
126  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
127  *) # Relative path.
128    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
129    top_srcdir="$ac_dots$ac_given_srcdir" ;;
130  esac
131
132  case "$ac_given_INSTALL" in
133  [/$]*) INSTALL="$ac_given_INSTALL" ;;
134  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
135  esac
136
137  echo creating "$ac_file"
138  rm -f "$ac_file"
139  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
140  case "$ac_file" in
141  *Makefile*) ac_comsub="1i\\
142# $configure_input" ;;
143  *) ac_comsub= ;;
144  esac
145
146  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
147  sed -e "$ac_comsub
148s%@configure_input@%$configure_input%g
149s%@srcdir@%$srcdir%g
150s%@top_srcdir@%$top_srcdir%g
151s%@INSTALL@%$INSTALL%g
152" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
153fi; done
154rm -f conftest.s*
155
156# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
157# NAME is the cpp macro being defined and VALUE is the value it is being given.
158#
159# ac_d sets the value in "#define NAME VALUE" lines.
160ac_dA='s%^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
161ac_dB='\([ 	][ 	]*\)[^ 	]*%\1#\2'
162ac_dC='\3'
163ac_dD='%g'
164# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
165ac_uA='s%^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
166ac_uB='\([ 	]\)%\1#\2define\3'
167ac_uC=' '
168ac_uD='\4%g'
169# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
170ac_eA='s%^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
171ac_eB='$%\1#\2define\3'
172ac_eC=' '
173ac_eD='%g'
174
175if test "${CONFIG_HEADERS+set}" != set; then
176  CONFIG_HEADERS="config.h"
177fi
178for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
179  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
180  case "$ac_file" in
181  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
182       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
183  *) ac_file_in="${ac_file}.in" ;;
184  esac
185
186  echo creating $ac_file
187
188  rm -f conftest.frag conftest.in conftest.out
189  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
190  cat $ac_file_inputs > conftest.in
191
192  cat > conftest.frag <<CEOF
193${ac_dA}HAVE_DIRENT_H${ac_dB}HAVE_DIRENT_H${ac_dC}1${ac_dD}
194${ac_uA}HAVE_DIRENT_H${ac_uB}HAVE_DIRENT_H${ac_uC}1${ac_uD}
195${ac_eA}HAVE_DIRENT_H${ac_eB}HAVE_DIRENT_H${ac_eC}1${ac_eD}
196${ac_dA}HAVE_MEMMOVE${ac_dB}HAVE_MEMMOVE${ac_dC}1${ac_dD}
197${ac_uA}HAVE_MEMMOVE${ac_uB}HAVE_MEMMOVE${ac_uC}1${ac_uD}
198${ac_eA}HAVE_MEMMOVE${ac_eB}HAVE_MEMMOVE${ac_eC}1${ac_eD}
199${ac_dA}HAVE_SBRK${ac_dB}HAVE_SBRK${ac_dC}1${ac_dD}
200${ac_uA}HAVE_SBRK${ac_uB}HAVE_SBRK${ac_uC}1${ac_uD}
201${ac_eA}HAVE_SBRK${ac_eB}HAVE_SBRK${ac_eC}1${ac_eD}
202${ac_dA}HAVE_STRDUP${ac_dB}HAVE_STRDUP${ac_dC}1${ac_dD}
203${ac_uA}HAVE_STRDUP${ac_uB}HAVE_STRDUP${ac_uC}1${ac_uD}
204${ac_eA}HAVE_STRDUP${ac_eB}HAVE_STRDUP${ac_eC}1${ac_eD}
205CEOF
206  sed -f conftest.frag conftest.in > conftest.out
207  rm -f conftest.in
208  mv conftest.out conftest.in
209
210  cat > conftest.frag <<CEOF
211${ac_dA}HAVE_TERMIOS_H${ac_dB}HAVE_TERMIOS_H${ac_dC}1${ac_dD}
212${ac_uA}HAVE_TERMIOS_H${ac_uB}HAVE_TERMIOS_H${ac_uC}1${ac_uD}
213${ac_eA}HAVE_TERMIOS_H${ac_eB}HAVE_TERMIOS_H${ac_eC}1${ac_eD}
214${ac_dA}HAVE_SYS_TYPES_H${ac_dB}HAVE_SYS_TYPES_H${ac_dC}1${ac_dD}
215${ac_uA}HAVE_SYS_TYPES_H${ac_uB}HAVE_SYS_TYPES_H${ac_uC}1${ac_uD}
216${ac_eA}HAVE_SYS_TYPES_H${ac_eB}HAVE_SYS_TYPES_H${ac_eC}1${ac_eD}
217${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
218${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
219${ac_eA}HAVE_UNISTD_H${ac_eB}HAVE_UNISTD_H${ac_eC}1${ac_eD}
220${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD}
221${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD}
222${ac_eA}HAVE_STRING_H${ac_eB}HAVE_STRING_H${ac_eC}1${ac_eD}
223CEOF
224  sed -f conftest.frag conftest.in > conftest.out
225  rm -f conftest.in
226  mv conftest.out conftest.in
227
228  cat > conftest.frag <<CEOF
229${ac_dA}HAVE_STRINGS_H${ac_dB}HAVE_STRINGS_H${ac_dC}1${ac_dD}
230${ac_uA}HAVE_STRINGS_H${ac_uB}HAVE_STRINGS_H${ac_uC}1${ac_uD}
231${ac_eA}HAVE_STRINGS_H${ac_eB}HAVE_STRINGS_H${ac_eC}1${ac_eD}
232${ac_dA}HAVE_SYS_STAT_H${ac_dB}HAVE_SYS_STAT_H${ac_dC}1${ac_dD}
233${ac_uA}HAVE_SYS_STAT_H${ac_uB}HAVE_SYS_STAT_H${ac_uC}1${ac_uD}
234${ac_eA}HAVE_SYS_STAT_H${ac_eB}HAVE_SYS_STAT_H${ac_eC}1${ac_eD}
235${ac_dA}HAVE_SYS_FCNTL_H${ac_dB}HAVE_SYS_FCNTL_H${ac_dC}1${ac_dD}
236${ac_uA}HAVE_SYS_FCNTL_H${ac_uB}HAVE_SYS_FCNTL_H${ac_uC}1${ac_uD}
237${ac_eA}HAVE_SYS_FCNTL_H${ac_eB}HAVE_SYS_FCNTL_H${ac_eC}1${ac_eD}
238s%^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
239CEOF
240  sed -f conftest.frag conftest.in > conftest.out
241  rm -f conftest.in
242  mv conftest.out conftest.in
243
244  rm -f conftest.frag conftest.h
245  echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
246  cat conftest.in >> conftest.h
247  rm -f conftest.in
248  if cmp -s $ac_file conftest.h 2>/dev/null; then
249    echo "$ac_file is unchanged"
250    rm -f conftest.h
251  else
252    # Remove last slash and all that follows it.  Not all systems have dirname.
253      ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
254      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
255      # The file is in a subdirectory.
256      test ! -d "$ac_dir" && mkdir "$ac_dir"
257    fi
258    rm -f $ac_file
259    mv conftest.h $ac_file
260  fi
261fi; done
262
263
264
265exit 0
266