home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / txtut122.zip / textutil / config.status < prev    next >
Text File  |  1998-04-05  |  19KB  |  484 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 :
  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.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
  26. done
  27.  
  28. ac_given_srcdir=.
  29. ac_given_INSTALL="./install-sh -c"
  30.  
  31. trap 'rm -fr Makefile doc/Makefile intl/Makefile lib/Makefile man/Makefile m4/Makefile po/Makefile.in src/Makefile tests/Makefile tests/cut-test/Makefile
  32. tests/join-test/Makefile
  33. tests/md5sum-test/Makefile
  34. tests/pr-test/Makefile
  35. tests/sort-test/Makefile
  36. tests/tail/Makefile
  37. tests/tr-test/Makefile config.h conftest*; exit 1' 1 2 15
  38.  
  39. # Protect against being on the right side of a sed subst in config.status.
  40. sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\&%]/\\&/g;
  41.  s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
  42. /^[     ]*VPATH[     ]*=[^:]*$/d
  43.  
  44. s%@CFLAGS@%-g -O2%g
  45. s%@CPPFLAGS@%%g
  46. s%@CXXFLAGS@%%g
  47. s%@DEFS@%-DHAVE_CONFIG_H%g
  48. s%@LDFLAGS@%%g
  49. s%@LIBS@%%g
  50. s%@exec_prefix@%${prefix}%g
  51. s%@prefix@%/usr/local%g
  52. s%@program_transform_name@%s,x,x,%g
  53. s%@bindir@%${exec_prefix}/bin%g
  54. s%@sbindir@%${exec_prefix}/sbin%g
  55. s%@libexecdir@%${exec_prefix}/libexec%g
  56. s%@datadir@%${prefix}/share%g
  57. s%@sysconfdir@%${prefix}/etc%g
  58. s%@sharedstatedir@%${prefix}/com%g
  59. s%@localstatedir@%${prefix}/var%g
  60. s%@libdir@%${exec_prefix}/lib%g
  61. s%@includedir@%${prefix}/include%g
  62. s%@oldincludedir@%/usr/include%g
  63. s%@infodir@%${prefix}/info%g
  64. s%@mandir@%${prefix}/man%g
  65. s%@INSTALL_PROGRAM@%${INSTALL}%g
  66. s%@INSTALL_DATA@%${INSTALL} -m 644%g
  67. s%@INSTALL_SCRIPT@%${INSTALL_PROGRAM}%g
  68. s%@PACKAGE@%textutils%g
  69. s%@VERSION@%1.22%g
  70. s%@SET_MAKE@%MAKE=make%g
  71. s%@MAINT@%#M#%g
  72. s%@PERL@%%g
  73. s%@CC@%gcc%g
  74. s%@CPP@%gcc -E%g
  75. s%@RANLIB@%:%g
  76. s%@LIBOBJS@% regex.o stpcpy.o error.o getline.o%g
  77. s%@U@%%g
  78. s%@ANSI2KNR@%%g
  79. s%@ALLOCA@%%g
  80. s%@POW_LIBM@%%g
  81. s%@USE_NLS@%yes%g
  82. s%@MSGFMT@%msgfmt%g
  83. s%@GMSGFMT@%msgfmt%g
  84. s%@XGETTEXT@%:%g
  85. s%@GENCAT@%%g
  86. s%@USE_INCLUDED_LIBINTL@%yes%g
  87. s%@CATALOGS@% de.gmo es.gmo fr.gmo ko.gmo nl.gmo es.gmo fr.gmo ko.gmo nl.gmo pl.gmo%g
  88. s%@CATOBJEXT@%.gmo%g
  89. s%@DATADIRNAME@%share%g
  90. s%@GMOFILES@% de.gmo es.gmo fr.gmo ko.gmo nl.gmo pl.gmo%g
  91. s%@INSTOBJEXT@%.mo%g
  92. s%@INTLDEPS@%../intl/libintl.a%g
  93. s%@INTLLIBS@%../intl/libintl.a%g
  94. s%@INTLOBJS@%$(GETTOBJS)%g
  95. s%@POFILES@% de.po es.po fr.po ko.po nl.po pl.po%g
  96. s%@POSUB@%po%g
  97. s%@GT_NO@%%g
  98. s%@GT_YES@%#YES#%g
  99. s%@MKINSTALLDIRS@%./mkinstalldirs%g
  100.  
  101. CEOF
  102.  
  103. # Split the substitutions into bite-sized pieces for seds with
  104. # small command number limits, like on Digital OSF/1 and HP-UX.
  105. ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
  106. ac_file=1 # Number of current file.
  107. ac_beg=1 # First line for current file.
  108. ac_end=$ac_max_sed_cmds # Line after last line for current file.
  109. ac_more_lines=:
  110. ac_sed_cmds=""
  111. while $ac_more_lines; do
  112.   if test $ac_beg -gt 1; then
  113.     sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
  114.   else
  115.     sed "${ac_end}q" conftest.subs > conftest.s$ac_file
  116.   fi
  117.   if test ! -s conftest.s$ac_file; then
  118.     ac_more_lines=false
  119.     rm -f conftest.s$ac_file
  120.   else
  121.     if test -z "$ac_sed_cmds"; then
  122.       ac_sed_cmds="sed -f conftest.s$ac_file"
  123.     else
  124.       ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
  125.     fi
  126.     ac_file=`expr $ac_file + 1`
  127.     ac_beg=$ac_end
  128.     ac_end=`expr $ac_end + $ac_max_sed_cmds`
  129.   fi
  130. done
  131. if test -z "$ac_sed_cmds"; then
  132.   ac_sed_cmds=cat
  133. fi
  134.  
  135. CONFIG_FILES=${CONFIG_FILES-"Makefile doc/Makefile intl/Makefile lib/Makefile man/Makefile m4/Makefile po/Makefile.in src/Makefile tests/Makefile tests/cut-test/Makefile
  136. tests/join-test/Makefile
  137. tests/md5sum-test/Makefile
  138. tests/pr-test/Makefile
  139. tests/sort-test/Makefile
  140. tests/tail/Makefile
  141. tests/tr-test/Makefile"}
  142. for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  143.   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  144.   case "$ac_file" in
  145.   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
  146.        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  147.   *) ac_file_in="${ac_file}.in" ;;
  148.   esac
  149.  
  150.   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
  151.  
  152.   # Remove last slash and all that follows it.  Not all systems have dirname.
  153.   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  154.   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  155.     # The file is in a subdirectory.
  156.     test ! -d "$ac_dir" && mkdir "$ac_dir"
  157.     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
  158.     # A "../" for each directory in $ac_dir_suffix.
  159.     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  160.   else
  161.     ac_dir_suffix= ac_dots=
  162.   fi
  163.  
  164.   case "$ac_given_srcdir" in
  165.   .)  srcdir=.
  166.       if test -z "$ac_dots"; then top_srcdir=.
  167.       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  168.   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  169.   *) # Relative path.
  170.     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  171.     top_srcdir="$ac_dots$ac_given_srcdir" ;;
  172.   esac
  173.  
  174.   case "$ac_given_INSTALL" in
  175.   [/$]*) INSTALL="$ac_given_INSTALL" ;;
  176.   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  177.   esac
  178.  
  179.   echo creating "$ac_file"
  180.   rm -f "$ac_file"
  181.   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  182.   case "$ac_file" in
  183.   *Makefile*) ac_comsub="1i\\
  184. # $configure_input" ;;
  185.   *) ac_comsub= ;;
  186.   esac
  187.  
  188.   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
  189.   sed -e "$ac_comsub
  190. s%@configure_input@%$configure_input%g
  191. s%@srcdir@%$srcdir%g
  192. s%@top_srcdir@%$top_srcdir%g
  193. s%@INSTALL@%$INSTALL%g
  194. " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
  195. fi; done
  196. rm -f conftest.s*
  197.  
  198. # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
  199. # NAME is the cpp macro being defined and VALUE is the value it is being given.
  200. #
  201. # ac_d sets the value in "#define NAME VALUE" lines.
  202. ac_dA='s%^\([     ]*\)#\([     ]*define[     ][     ]*\)'
  203. ac_dB='\([     ][     ]*\)[^     ]*%\1#\2'
  204. ac_dC='\3'
  205. ac_dD='%g'
  206. # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
  207. ac_uA='s%^\([     ]*\)#\([     ]*\)undef\([     ][     ]*\)'
  208. ac_uB='\([     ]\)%\1#\2define\3'
  209. ac_uC=' '
  210. ac_uD='\4%g'
  211. # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
  212. ac_eA='s%^\([     ]*\)#\([     ]*\)undef\([     ][     ]*\)'
  213. ac_eB='$%\1#\2define\3'
  214. ac_eC=' '
  215. ac_eD='%g'
  216.  
  217. if test "${CONFIG_HEADERS+set}" != set; then
  218.   CONFIG_HEADERS="config.h"
  219. fi
  220. for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
  221.   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  222.   case "$ac_file" in
  223.   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
  224.        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  225.   *) ac_file_in="${ac_file}.in" ;;
  226.   esac
  227.  
  228.   echo creating $ac_file
  229.  
  230.   rm -f conftest.frag conftest.in conftest.out
  231.   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
  232.   cat $ac_file_inputs > conftest.in
  233.  
  234.   cat > conftest.frag <<CEOF
  235. ${ac_dA}PACKAGE${ac_dB}PACKAGE${ac_dC}"textutils"${ac_dD}
  236. ${ac_uA}PACKAGE${ac_uB}PACKAGE${ac_uC}"textutils"${ac_uD}
  237. ${ac_eA}PACKAGE${ac_eB}PACKAGE${ac_eC}"textutils"${ac_eD}
  238. ${ac_dA}VERSION${ac_dB}VERSION${ac_dC}"1.22"${ac_dD}
  239. ${ac_uA}VERSION${ac_uB}VERSION${ac_uC}"1.22"${ac_uD}
  240. ${ac_eA}VERSION${ac_eB}VERSION${ac_eC}"1.22"${ac_eD}
  241. ${ac_dA}GNU_PACKAGE${ac_dB}GNU_PACKAGE${ac_dC}"GNU textutils"${ac_dD}
  242. ${ac_uA}GNU_PACKAGE${ac_uB}GNU_PACKAGE${ac_uC}"GNU textutils"${ac_uD}
  243. ${ac_eA}GNU_PACKAGE${ac_eB}GNU_PACKAGE${ac_eC}"GNU textutils"${ac_eD}
  244. ${ac_dA}WITH_REGEX${ac_dB}WITH_REGEX${ac_dC}1${ac_dD}
  245. ${ac_uA}WITH_REGEX${ac_uB}WITH_REGEX${ac_uC}1${ac_uD}
  246. ${ac_eA}WITH_REGEX${ac_eB}WITH_REGEX${ac_eC}1${ac_eD}
  247. CEOF
  248.   sed -f conftest.frag conftest.in > conftest.out
  249.   rm -f conftest.in
  250.   mv conftest.out conftest.in
  251.  
  252.   cat > conftest.frag <<CEOF
  253. ${ac_dA}HAVE_LIMITS_H${ac_dB}HAVE_LIMITS_H${ac_dC}1${ac_dD}
  254. ${ac_uA}HAVE_LIMITS_H${ac_uB}HAVE_LIMITS_H${ac_uC}1${ac_uD}
  255. ${ac_eA}HAVE_LIMITS_H${ac_eB}HAVE_LIMITS_H${ac_eC}1${ac_eD}
  256. ${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD}
  257. ${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD}
  258. ${ac_eA}HAVE_STRING_H${ac_eB}HAVE_STRING_H${ac_eC}1${ac_eD}
  259. ${ac_dA}HAVE_MEMORY_H${ac_dB}HAVE_MEMORY_H${ac_dC}1${ac_dD}
  260. ${ac_uA}HAVE_MEMORY_H${ac_uB}HAVE_MEMORY_H${ac_uC}1${ac_uD}
  261. ${ac_eA}HAVE_MEMORY_H${ac_eB}HAVE_MEMORY_H${ac_eC}1${ac_eD}
  262. ${ac_dA}HAVE_FCNTL_H${ac_dB}HAVE_FCNTL_H${ac_dC}1${ac_dD}
  263. ${ac_uA}HAVE_FCNTL_H${ac_uB}HAVE_FCNTL_H${ac_uC}1${ac_uD}
  264. ${ac_eA}HAVE_FCNTL_H${ac_eB}HAVE_FCNTL_H${ac_eC}1${ac_eD}
  265. CEOF
  266.   sed -f conftest.frag conftest.in > conftest.out
  267.   rm -f conftest.in
  268.   mv conftest.out conftest.in
  269.  
  270.   cat > conftest.frag <<CEOF
  271. ${ac_dA}HAVE_FLOAT_H${ac_dB}HAVE_FLOAT_H${ac_dC}1${ac_dD}
  272. ${ac_uA}HAVE_FLOAT_H${ac_uB}HAVE_FLOAT_H${ac_uC}1${ac_uD}
  273. ${ac_eA}HAVE_FLOAT_H${ac_eB}HAVE_FLOAT_H${ac_eC}1${ac_eD}
  274. ${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
  275. ${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
  276. ${ac_eA}HAVE_UNISTD_H${ac_eB}HAVE_UNISTD_H${ac_eC}1${ac_eD}
  277. ${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD}
  278. ${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD}
  279. ${ac_eA}STDC_HEADERS${ac_eB}STDC_HEADERS${ac_eC}1${ac_eD}
  280. ${ac_dA}PROTOTYPES${ac_dB}PROTOTYPES${ac_dC}1${ac_dD}
  281. ${ac_uA}PROTOTYPES${ac_uB}PROTOTYPES${ac_uC}1${ac_uD}
  282. ${ac_eA}PROTOTYPES${ac_eB}PROTOTYPES${ac_eC}1${ac_eD}
  283. CEOF
  284.   sed -f conftest.frag conftest.in > conftest.out
  285.   rm -f conftest.in
  286.   mv conftest.out conftest.in
  287.  
  288.   cat > conftest.frag <<CEOF
  289. ${ac_dA}HAVE_LONG_DOUBLE${ac_dB}HAVE_LONG_DOUBLE${ac_dC}1${ac_dD}
  290. ${ac_uA}HAVE_LONG_DOUBLE${ac_uB}HAVE_LONG_DOUBLE${ac_uC}1${ac_uD}
  291. ${ac_eA}HAVE_LONG_DOUBLE${ac_eB}HAVE_LONG_DOUBLE${ac_eC}1${ac_eD}
  292. ${ac_dA}HAVE_DIRENT_H${ac_dB}HAVE_DIRENT_H${ac_dC}1${ac_dD}
  293. ${ac_uA}HAVE_DIRENT_H${ac_uB}HAVE_DIRENT_H${ac_uC}1${ac_uD}
  294. ${ac_eA}HAVE_DIRENT_H${ac_eB}HAVE_DIRENT_H${ac_eC}1${ac_eD}
  295. ${ac_dA}RETSIGTYPE${ac_dB}RETSIGTYPE${ac_dC}void${ac_dD}
  296. ${ac_uA}RETSIGTYPE${ac_uB}RETSIGTYPE${ac_uC}void${ac_uD}
  297. ${ac_eA}RETSIGTYPE${ac_eB}RETSIGTYPE${ac_eC}void${ac_eD}
  298. ${ac_dA}HAVE_STRERROR${ac_dB}HAVE_STRERROR${ac_dC}1${ac_dD}
  299. ${ac_uA}HAVE_STRERROR${ac_uB}HAVE_STRERROR${ac_uC}1${ac_uD}
  300. ${ac_eA}HAVE_STRERROR${ac_eB}HAVE_STRERROR${ac_eC}1${ac_eD}
  301. CEOF
  302.   sed -f conftest.frag conftest.in > conftest.out
  303.   rm -f conftest.in
  304.   mv conftest.out conftest.in
  305.  
  306.   cat > conftest.frag <<CEOF
  307. ${ac_dA}HAVE_ISASCII${ac_dB}HAVE_ISASCII${ac_dC}1${ac_dD}
  308. ${ac_uA}HAVE_ISASCII${ac_uB}HAVE_ISASCII${ac_uC}1${ac_uD}
  309. ${ac_eA}HAVE_ISASCII${ac_eB}HAVE_ISASCII${ac_eC}1${ac_eD}
  310. ${ac_dA}HAVE_STRCHR${ac_dB}HAVE_STRCHR${ac_dC}1${ac_dD}
  311. ${ac_uA}HAVE_STRCHR${ac_uB}HAVE_STRCHR${ac_uC}1${ac_uD}
  312. ${ac_eA}HAVE_STRCHR${ac_eB}HAVE_STRCHR${ac_eC}1${ac_eD}
  313. ${ac_dA}HAVE_STRRCHR${ac_dB}HAVE_STRRCHR${ac_dC}1${ac_dD}
  314. ${ac_uA}HAVE_STRRCHR${ac_uB}HAVE_STRRCHR${ac_uC}1${ac_uD}
  315. ${ac_eA}HAVE_STRRCHR${ac_eB}HAVE_STRRCHR${ac_eC}1${ac_eD}
  316. ${ac_dA}HAVE_ALLOCA_H${ac_dB}HAVE_ALLOCA_H${ac_dC}1${ac_dD}
  317. ${ac_uA}HAVE_ALLOCA_H${ac_uB}HAVE_ALLOCA_H${ac_uC}1${ac_uD}
  318. ${ac_eA}HAVE_ALLOCA_H${ac_eB}HAVE_ALLOCA_H${ac_eC}1${ac_eD}
  319. CEOF
  320.   sed -f conftest.frag conftest.in > conftest.out
  321.   rm -f conftest.in
  322.   mv conftest.out conftest.in
  323.  
  324.   cat > conftest.frag <<CEOF
  325. ${ac_dA}HAVE_ALLOCA${ac_dB}HAVE_ALLOCA${ac_dC}1${ac_dD}
  326. ${ac_uA}HAVE_ALLOCA${ac_uB}HAVE_ALLOCA${ac_uC}1${ac_uD}
  327. ${ac_eA}HAVE_ALLOCA${ac_eB}HAVE_ALLOCA${ac_eC}1${ac_eD}
  328. ${ac_dA}HAVE_VPRINTF${ac_dB}HAVE_VPRINTF${ac_dC}1${ac_dD}
  329. ${ac_uA}HAVE_VPRINTF${ac_uB}HAVE_VPRINTF${ac_uC}1${ac_uD}
  330. ${ac_eA}HAVE_VPRINTF${ac_eB}HAVE_VPRINTF${ac_eC}1${ac_eD}
  331. ${ac_dA}HAVE_MEMCPY${ac_dB}HAVE_MEMCPY${ac_dC}1${ac_dD}
  332. ${ac_uA}HAVE_MEMCPY${ac_uB}HAVE_MEMCPY${ac_uC}1${ac_uD}
  333. ${ac_eA}HAVE_MEMCPY${ac_eB}HAVE_MEMCPY${ac_eC}1${ac_eD}
  334. ${ac_dA}HAVE_MEMMOVE${ac_dB}HAVE_MEMMOVE${ac_dC}1${ac_dD}
  335. ${ac_uA}HAVE_MEMMOVE${ac_uB}HAVE_MEMMOVE${ac_uC}1${ac_uD}
  336. ${ac_eA}HAVE_MEMMOVE${ac_eB}HAVE_MEMMOVE${ac_eC}1${ac_eD}
  337. CEOF
  338.   sed -f conftest.frag conftest.in > conftest.out
  339.   rm -f conftest.in
  340.   mv conftest.out conftest.in
  341.  
  342.   cat > conftest.frag <<CEOF
  343. ${ac_dA}HAVE_MEMSET${ac_dB}HAVE_MEMSET${ac_dC}1${ac_dD}
  344. ${ac_uA}HAVE_MEMSET${ac_uB}HAVE_MEMSET${ac_uC}1${ac_uD}
  345. ${ac_eA}HAVE_MEMSET${ac_eB}HAVE_MEMSET${ac_eC}1${ac_eD}
  346. ${ac_dA}HAVE_STRPBRK${ac_dB}HAVE_STRPBRK${ac_dC}1${ac_dD}
  347. ${ac_uA}HAVE_STRPBRK${ac_uB}HAVE_STRPBRK${ac_uC}1${ac_uD}
  348. ${ac_eA}HAVE_STRPBRK${ac_eB}HAVE_STRPBRK${ac_eC}1${ac_eD}
  349. ${ac_dA}HAVE_STRTOL${ac_dB}HAVE_STRTOL${ac_dC}1${ac_dD}
  350. ${ac_uA}HAVE_STRTOL${ac_uB}HAVE_STRTOL${ac_uC}1${ac_uD}
  351. ${ac_eA}HAVE_STRTOL${ac_eB}HAVE_STRTOL${ac_eC}1${ac_eD}
  352. ${ac_dA}HAVE_STRTOUL${ac_dB}HAVE_STRTOUL${ac_dC}1${ac_dD}
  353. ${ac_uA}HAVE_STRTOUL${ac_uB}HAVE_STRTOUL${ac_uC}1${ac_uD}
  354. ${ac_eA}HAVE_STRTOUL${ac_eB}HAVE_STRTOUL${ac_eC}1${ac_eD}
  355. CEOF
  356.   sed -f conftest.frag conftest.in > conftest.out
  357.   rm -f conftest.in
  358.   mv conftest.out conftest.in
  359.  
  360.   cat > conftest.frag <<CEOF
  361. ${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
  362. ${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
  363. ${ac_eA}HAVE_UNISTD_H${ac_eB}HAVE_UNISTD_H${ac_eC}1${ac_eD}
  364. ${ac_dA}HAVE_GETPAGESIZE${ac_dB}HAVE_GETPAGESIZE${ac_dC}1${ac_dD}
  365. ${ac_uA}HAVE_GETPAGESIZE${ac_uB}HAVE_GETPAGESIZE${ac_uC}1${ac_uD}
  366. ${ac_eA}HAVE_GETPAGESIZE${ac_eB}HAVE_GETPAGESIZE${ac_eC}1${ac_eD}
  367. ${ac_dA}HAVE_LIMITS_H${ac_dB}HAVE_LIMITS_H${ac_dC}1${ac_dD}
  368. ${ac_uA}HAVE_LIMITS_H${ac_uB}HAVE_LIMITS_H${ac_uC}1${ac_uD}
  369. ${ac_eA}HAVE_LIMITS_H${ac_eB}HAVE_LIMITS_H${ac_eC}1${ac_eD}
  370. ${ac_dA}HAVE_LOCALE_H${ac_dB}HAVE_LOCALE_H${ac_dC}1${ac_dD}
  371. ${ac_uA}HAVE_LOCALE_H${ac_uB}HAVE_LOCALE_H${ac_uC}1${ac_uD}
  372. ${ac_eA}HAVE_LOCALE_H${ac_eB}HAVE_LOCALE_H${ac_eC}1${ac_eD}
  373. CEOF
  374.   sed -f conftest.frag conftest.in > conftest.out
  375.   rm -f conftest.in
  376.   mv conftest.out conftest.in
  377.  
  378.   cat > conftest.frag <<CEOF
  379. ${ac_dA}HAVE_MALLOC_H${ac_dB}HAVE_MALLOC_H${ac_dC}1${ac_dD}
  380. ${ac_uA}HAVE_MALLOC_H${ac_uB}HAVE_MALLOC_H${ac_uC}1${ac_uD}
  381. ${ac_eA}HAVE_MALLOC_H${ac_eB}HAVE_MALLOC_H${ac_eC}1${ac_eD}
  382. ${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD}
  383. ${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD}
  384. ${ac_eA}HAVE_STRING_H${ac_eB}HAVE_STRING_H${ac_eC}1${ac_eD}
  385. ${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
  386. ${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
  387. ${ac_eA}HAVE_UNISTD_H${ac_eB}HAVE_UNISTD_H${ac_eC}1${ac_eD}
  388. ${ac_dA}HAVE_GETCWD${ac_dB}HAVE_GETCWD${ac_dC}1${ac_dD}
  389. ${ac_uA}HAVE_GETCWD${ac_uB}HAVE_GETCWD${ac_uC}1${ac_uD}
  390. ${ac_eA}HAVE_GETCWD${ac_eB}HAVE_GETCWD${ac_eC}1${ac_eD}
  391. CEOF
  392.   sed -f conftest.frag conftest.in > conftest.out
  393.   rm -f conftest.in
  394.   mv conftest.out conftest.in
  395.  
  396.   cat > conftest.frag <<CEOF
  397. ${ac_dA}HAVE_PUTENV${ac_dB}HAVE_PUTENV${ac_dC}1${ac_dD}
  398. ${ac_uA}HAVE_PUTENV${ac_uB}HAVE_PUTENV${ac_uC}1${ac_uD}
  399. ${ac_eA}HAVE_PUTENV${ac_eB}HAVE_PUTENV${ac_eC}1${ac_eD}
  400. ${ac_dA}HAVE_SETLOCALE${ac_dB}HAVE_SETLOCALE${ac_dC}1${ac_dD}
  401. ${ac_uA}HAVE_SETLOCALE${ac_uB}HAVE_SETLOCALE${ac_uC}1${ac_uD}
  402. ${ac_eA}HAVE_SETLOCALE${ac_eB}HAVE_SETLOCALE${ac_eC}1${ac_eD}
  403. ${ac_dA}HAVE_STRCHR${ac_dB}HAVE_STRCHR${ac_dC}1${ac_dD}
  404. ${ac_uA}HAVE_STRCHR${ac_uB}HAVE_STRCHR${ac_uC}1${ac_uD}
  405. ${ac_eA}HAVE_STRCHR${ac_eB}HAVE_STRCHR${ac_eC}1${ac_eD}
  406. ${ac_dA}ENABLE_NLS${ac_dB}ENABLE_NLS${ac_dC}1${ac_dD}
  407. ${ac_uA}ENABLE_NLS${ac_uB}ENABLE_NLS${ac_uC}1${ac_uD}
  408. ${ac_eA}ENABLE_NLS${ac_eB}ENABLE_NLS${ac_eC}1${ac_eD}
  409. CEOF
  410.   sed -f conftest.frag conftest.in > conftest.out
  411.   rm -f conftest.in
  412.   mv conftest.out conftest.in
  413.  
  414.   cat > conftest.frag <<CEOF
  415. s%^[     ]*#[     ]*undef[     ][     ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
  416. CEOF
  417.   sed -f conftest.frag conftest.in > conftest.out
  418.   rm -f conftest.in
  419.   mv conftest.out conftest.in
  420.  
  421.   rm -f conftest.frag conftest.h
  422.   echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
  423.   cat conftest.in >> conftest.h
  424.   rm -f conftest.in
  425.   if cmp -s $ac_file conftest.h 2>/dev/null; then
  426.     echo "$ac_file is unchanged"
  427.     rm -f conftest.h
  428.   else
  429.     # Remove last slash and all that follows it.  Not all systems have dirname.
  430.       ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  431.       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  432.       # The file is in a subdirectory.
  433.       test ! -d "$ac_dir" && mkdir "$ac_dir"
  434.     fi
  435.     rm -f $ac_file
  436.     mv conftest.h $ac_file
  437.   fi
  438. fi; done
  439.  
  440. ac_sources="intl/libgettext.h"
  441. ac_dests="intl/libintl.h"
  442. srcdir=$ac_given_srcdir
  443. while test -n "$ac_sources"; do
  444.   set $ac_dests; ac_dest=$1; shift; ac_dests=$*
  445.   set $ac_sources; ac_source=$1; shift; ac_sources=$*
  446.  
  447.   echo "linking $srcdir/$ac_source to $ac_dest"
  448.  
  449.   if test ! -r $srcdir/$ac_source; then
  450.     { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
  451.   fi
  452.   rm -f $ac_dest
  453.  
  454.   # Make relative symlinks.
  455.   # Remove last slash and all that follows it.  Not all systems have dirname.
  456.   ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
  457.   if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
  458.     # The dest file is in a subdirectory.
  459.     test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
  460.     ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
  461.     # A "../" for each directory in $ac_dest_dir_suffix.
  462.     ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
  463.   else
  464.     ac_dest_dir_suffix= ac_dots=
  465.   fi
  466.  
  467.   case "$srcdir" in
  468.   [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
  469.   *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
  470.   esac
  471.  
  472.   # Make a symlink if possible; otherwise try a hard link.
  473.   if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
  474.     ln $srcdir/$ac_source $ac_dest; then :
  475.   else
  476.     { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
  477.   fi
  478. done
  479.  
  480.  
  481. test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
  482. sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
  483. exit 0
  484.