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