home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / AP / TERMNET / READLINE.0 / CONFIG.STA < prev    next >
Encoding:
Text File  |  1995-04-20  |  7.6 KB  |  215 lines

  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 fuzzy:
  6. #
  7. # ./configure 
  8.  
  9. ac_cs_usage="Usage: config.status [--recheck] [--version] [--help]"
  10. for ac_option
  11. do
  12.   case "$ac_option" in
  13.   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  14.     echo running ${CONFIG_SHELL-/bin/sh} ./configure  --no-create
  15.     exec ${CONFIG_SHELL-/bin/sh} ./configure  --no-create ;;
  16.   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  17.     echo "config.status generated by autoconf version 1.11"
  18.     exit 0 ;;
  19.   -help | --help | --hel | --he | --h)
  20.     echo "$ac_cs_usage"; exit 0 ;;
  21.   *) echo "$ac_cs_usage"; exit 1 ;;
  22.   esac
  23. done
  24.  
  25. trap 'rm -fr Makefile config.h conftest*; exit 1' 1 2 15
  26. CC='gcc'
  27. CFLAGS='-g -O'
  28. LDFLAGS=''
  29. CPP='gcc -E'
  30. INSTALL='/usr/bin/install -c'
  31. INSTALL_PROGRAM='${INSTALL}'
  32. INSTALL_DATA='${INSTALL} -m 644'
  33. RANLIB='ranlib'
  34. ALLOCA=''
  35. LIBS=''
  36. srcdir='.'
  37. top_srcdir=''
  38. prefix='/usr/local'
  39. exec_prefix='${prefix}'
  40. ac_prsub=''
  41. ac_vpsub='/^[     ]*VPATH[     ]*=[^:]*$/d'
  42. extrasub=''
  43.  
  44. ac_given_srcdir=$srcdir
  45.  
  46. CONFIG_FILES=${CONFIG_FILES-"Makefile"}
  47. for ac_file in .. ${CONFIG_FILES}; do if test "x$ac_file" != x..; then
  48.   # Remove last slash and all that follows it.  Not all systems have dirname.
  49.   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  50.   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  51.     # The file is in a subdirectory.
  52.     test ! -d "$ac_dir" && mkdir "$ac_dir"
  53.     ac_dir_suffix="/$ac_dir"
  54.   else
  55.     ac_dir_suffix=
  56.   fi
  57.  
  58.   # A "../" for each directory in $ac_dir_suffix.
  59.   ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  60.   case "$ac_given_srcdir" in
  61.   .)  srcdir=.
  62.       if test -z "$ac_dir_suffix"; then top_srcdir=.
  63.       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  64.   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  65.   *) # Relative path.
  66.     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  67.     top_srcdir="$ac_dots$ac_given_srcdir" ;;
  68.   esac
  69.  
  70.   echo creating "$ac_file"
  71.   rm -f "$ac_file"
  72.   comment_str="Generated automatically from `echo $ac_file|sed 's|.*/||'`.in by configure."
  73.   case "$ac_file" in
  74.     *.c | *.h | *.C | *.cc | *.m )  echo "/* $comment_str */" > "$ac_file" ;;
  75.     * )          echo "# $comment_str"     > "$ac_file" ;;
  76.   esac
  77.   sed -e "
  78. $ac_prsub
  79. $ac_vpsub
  80. $extrasub
  81. s%@CC@%$CC%g
  82. s%@CFLAGS@%$CFLAGS%g
  83. s%@LDFLAGS@%$LDFLAGS%g
  84. s%@CPP@%$CPP%g
  85. s%@INSTALL@%$INSTALL%g
  86. s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
  87. s%@INSTALL_DATA@%$INSTALL_DATA%g
  88. s%@RANLIB@%$RANLIB%g
  89. s%@ALLOCA@%$ALLOCA%g
  90. s%@LIBS@%$LIBS%g
  91. s%@srcdir@%$srcdir%g
  92. s%@top_srcdir@%$top_srcdir%g
  93. s%@prefix@%$prefix%g
  94. s%@exec_prefix@%$exec_prefix%g
  95. s%@DEFS@%-DHAVE_CONFIG_H%" $ac_given_srcdir/${ac_file}.in >> $ac_file
  96. fi; done
  97.  
  98. # These sed commands are put into ac_sed_defs when defining a macro.
  99. # They are broken into pieces to make the sed script easier to manage.
  100. # They are passed to sed as "A NAME B NAME C VALUE D", where NAME
  101. # is the cpp macro being defined and VALUE is the value it is being given.
  102. # Each defining turns into a single global substitution command.
  103. # Hopefully no one uses "!" as a variable value.
  104. # Other candidates for the sed separators, like , and @, do get used.
  105. #
  106. # ac_d sets the value in "#define NAME VALUE" lines.
  107. ac_dA='s!^\([     ]*\)#\([     ]*define[     ][     ]*\)'
  108. ac_dB='\([     ][     ]*\)[^     ]*!\1#\2'
  109. ac_dC='\3'
  110. ac_dD='!g'
  111. # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
  112. ac_uA='s!^\([     ]*\)#\([     ]*\)undef\([     ][     ]*\)'
  113. ac_uB='\([     ]\)!\1#\2define\3'
  114. ac_uC=' '
  115. ac_uD='\4!g'
  116. # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
  117. ac_eA='s!^\([     ]*\)#\([     ]*\)undef\([     ][     ]*\)'
  118. ac_eB='$!\1#\2define\3'
  119. ac_eC=' '
  120. ac_eD='!g'
  121. rm -f conftest.sed
  122. cat >> conftest.sed <<CONFEOF
  123. ${ac_dA}HAVE_STRCASECMP${ac_dB}HAVE_STRCASECMP${ac_dC}1${ac_dD}
  124. ${ac_uA}HAVE_STRCASECMP${ac_uB}HAVE_STRCASECMP${ac_uC}1${ac_uD}
  125. ${ac_eA}HAVE_STRCASECMP${ac_eB}HAVE_STRCASECMP${ac_eC}1${ac_eD}
  126. ${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
  127. ${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
  128. ${ac_eA}HAVE_UNISTD_H${ac_eB}HAVE_UNISTD_H${ac_eC}1${ac_eD}
  129. ${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD}
  130. ${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD}
  131. ${ac_eA}HAVE_STDLIB_H${ac_eB}HAVE_STDLIB_H${ac_eC}1${ac_eD}
  132. CONFEOF
  133. cat >> conftest.sed <<CONFEOF
  134. ${ac_dA}HAVE_VARARGS_H${ac_dB}HAVE_VARARGS_H${ac_dC}1${ac_dD}
  135. ${ac_uA}HAVE_VARARGS_H${ac_uB}HAVE_VARARGS_H${ac_uC}1${ac_uD}
  136. ${ac_eA}HAVE_VARARGS_H${ac_eB}HAVE_VARARGS_H${ac_eC}1${ac_eD}
  137. ${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD}
  138. ${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD}
  139. ${ac_eA}HAVE_STRING_H${ac_eB}HAVE_STRING_H${ac_eC}1${ac_eD}
  140. ${ac_dA}HAVE_ALLOCA_H${ac_dB}HAVE_ALLOCA_H${ac_dC}1${ac_dD}
  141. ${ac_uA}HAVE_ALLOCA_H${ac_uB}HAVE_ALLOCA_H${ac_uC}1${ac_uD}
  142. ${ac_eA}HAVE_ALLOCA_H${ac_eB}HAVE_ALLOCA_H${ac_eC}1${ac_eD}
  143. CONFEOF
  144. cat >> conftest.sed <<CONFEOF
  145. ${ac_dA}HAVE_DIRENT_H${ac_dB}HAVE_DIRENT_H${ac_dC}1${ac_dD}
  146. ${ac_uA}HAVE_DIRENT_H${ac_uB}HAVE_DIRENT_H${ac_uC}1${ac_uD}
  147. ${ac_eA}HAVE_DIRENT_H${ac_eB}HAVE_DIRENT_H${ac_eC}1${ac_eD}
  148. ${ac_dA}HAVE_TERMCAP_H${ac_dB}HAVE_TERMCAP_H${ac_dC}1${ac_dD}
  149. ${ac_uA}HAVE_TERMCAP_H${ac_uB}HAVE_TERMCAP_H${ac_uC}1${ac_uD}
  150. ${ac_eA}HAVE_TERMCAP_H${ac_eB}HAVE_TERMCAP_H${ac_eC}1${ac_eD}
  151. ${ac_dA}HAVE_TERMIO_H${ac_dB}HAVE_TERMIO_H${ac_dC}1${ac_dD}
  152. ${ac_uA}HAVE_TERMIO_H${ac_uB}HAVE_TERMIO_H${ac_uC}1${ac_uD}
  153. ${ac_eA}HAVE_TERMIO_H${ac_eB}HAVE_TERMIO_H${ac_eC}1${ac_eD}
  154. CONFEOF
  155. cat >> conftest.sed <<CONFEOF
  156. ${ac_dA}GWINSZ_IN_SYS_IOCTL${ac_dB}GWINSZ_IN_SYS_IOCTL${ac_dC}1${ac_dD}
  157. ${ac_uA}GWINSZ_IN_SYS_IOCTL${ac_uB}GWINSZ_IN_SYS_IOCTL${ac_uC}1${ac_uD}
  158. ${ac_eA}GWINSZ_IN_SYS_IOCTL${ac_eB}GWINSZ_IN_SYS_IOCTL${ac_eC}1${ac_eD}
  159. ${ac_dA}HAVE_ALLOCA_H${ac_dB}HAVE_ALLOCA_H${ac_dC}1${ac_dD}
  160. ${ac_uA}HAVE_ALLOCA_H${ac_uB}HAVE_ALLOCA_H${ac_uC}1${ac_uD}
  161. ${ac_eA}HAVE_ALLOCA_H${ac_eB}HAVE_ALLOCA_H${ac_eC}1${ac_eD}
  162. ${ac_dA}HAVE_ALLOCA${ac_dB}HAVE_ALLOCA${ac_dC}1${ac_dD}
  163. ${ac_uA}HAVE_ALLOCA${ac_uB}HAVE_ALLOCA${ac_uC}1${ac_uD}
  164. ${ac_eA}HAVE_ALLOCA${ac_eB}HAVE_ALLOCA${ac_eC}1${ac_eD}
  165. CONFEOF
  166. # This sed command replaces #undef's with comments.  This is necessary, for
  167. # example, in the case of _POSIX_SOURCE, which is predefined and required
  168. # on some systems where configure will not decide to define it in
  169. # config.h.
  170. cat >> conftest.sed <<\CONFEOF
  171. s,^[     ]*#[     ]*undef[     ][     ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
  172. CONFEOF
  173. rm -f conftest.h
  174. # Break up the sed commands because old seds have small limits.
  175. ac_max_sed_lines=20
  176.  
  177. CONFIG_HEADERS=${CONFIG_HEADERS-"config.h"}
  178. for ac_file in .. ${CONFIG_HEADERS}; do if test "x$ac_file" != x..; then
  179.   echo creating $ac_file
  180.  
  181.   cp $ac_given_srcdir/$ac_file.in conftest.h1
  182.   cp conftest.sed conftest.stm
  183.   while :
  184.   do
  185.     ac_lines=`grep -c . conftest.stm`
  186.     if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
  187.     rm -f conftest.s1 conftest.s2 conftest.h2
  188.     sed ${ac_max_sed_lines}q conftest.stm > conftest.s1 # Like head -20.
  189.     sed 1,${ac_max_sed_lines}d conftest.stm > conftest.s2 # Like tail +21.
  190.     sed -f conftest.s1 < conftest.h1 > conftest.h2
  191.     rm -f conftest.s1 conftest.h1 conftest.stm
  192.     mv conftest.h2 conftest.h1
  193.     mv conftest.s2 conftest.stm
  194.   done
  195.   rm -f conftest.stm conftest.h
  196.   echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
  197.   cat conftest.h1 >> conftest.h
  198.   rm -f conftest.h1
  199.   if cmp -s $ac_file conftest.h 2>/dev/null; then
  200.     # The file exists and we would not be changing it.
  201.     echo "$ac_file is unchanged"
  202.     rm -f conftest.h
  203.   else
  204.     rm -f $ac_file
  205.     mv conftest.h $ac_file
  206.   fi
  207. fi; done
  208. rm -f conftest.sed
  209.  
  210.  
  211.  
  212. # Makefile uses this timestamp file to record whether config.h is up to date.
  213. touch stamp-config
  214. exit 0
  215.