1#! /bin/sh 2# Generated by configure. 3# Run this file to recreate the current configuration. 4# Compiler output produced by configure, useful for debugging 5# configure, is in config.log if it exists. 6 7debug=false 8SHELL=${CONFIG_SHELL-/bin/sh} 9 10## --------------------- ## 11## M4sh Initialization. ## 12## --------------------- ## 13 14# Be Bourne compatible 15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 16 emulate sh 17 NULLCMD=: 18elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 19 set -o posix 20fi 21 22# NLS nuisances. 23# Support unset when possible. 24if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 25 as_unset=unset 26else 27 as_unset=false 28fi 29 30(set +x; test -n "`(LANG=C; export LANG) 2>&1`") && 31 { $as_unset LANG || test "${LANG+set}" != set; } || 32 { LANG=C; export LANG; } 33(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && 34 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || 35 { LC_ALL=C; export LC_ALL; } 36(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && 37 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || 38 { LC_TIME=C; export LC_TIME; } 39(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && 40 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || 41 { LC_CTYPE=C; export LC_CTYPE; } 42(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && 43 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || 44 { LANGUAGE=C; export LANGUAGE; } 45(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && 46 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || 47 { LC_COLLATE=C; export LC_COLLATE; } 48(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && 49 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || 50 { LC_NUMERIC=C; export LC_NUMERIC; } 51(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && 52 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || 53 { LC_MESSAGES=C; export LC_MESSAGES; } 54 55 56# Name of the executable. 57as_me=`(basename "$0") 2>/dev/null || 58$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 59 X"$0" : 'X\(//\)$' \| \ 60 X"$0" : 'X\(/\)$' \| \ 61 . : '\(.\)' 2>/dev/null || 62echo X/"$0" | 63 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 64 /^X\/\(\/\/\)$/{ s//\1/; q; } 65 /^X\/\(\/\).*/{ s//\1/; q; } 66 s/.*/./; q'` 67 68# PATH needs CR, and LINENO needs CR and PATH. 69# Avoid depending upon Character Ranges. 70as_cr_letters='abcdefghijklmnopqrstuvwxyz' 71as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 72as_cr_Letters=$as_cr_letters$as_cr_LETTERS 73as_cr_digits='0123456789' 74as_cr_alnum=$as_cr_Letters$as_cr_digits 75 76# The user is always right. 77if test "${PATH_SEPARATOR+set}" != set; then 78 echo "#! /bin/sh" >conftest.sh 79 echo "exit 0" >>conftest.sh 80 chmod +x conftest.sh 81 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then 82 PATH_SEPARATOR=';' 83 else 84 PATH_SEPARATOR=: 85 fi 86 rm -f conftest.sh 87fi 88 89 90 as_lineno_1=$LINENO 91 as_lineno_2=$LINENO 92 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 93 test "x$as_lineno_1" != "x$as_lineno_2" && 94 test "x$as_lineno_3" = "x$as_lineno_2" || { 95 # Find who we are. Look in the path if we contain no path at all 96 # relative or not. 97 case $0 in 98 *[\\/]* ) as_myself=$0 ;; 99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 100for as_dir in $PATH 101do 102 IFS=$as_save_IFS 103 test -z "$as_dir" && as_dir=. 104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 105done 106 107 ;; 108 esac 109 # We did not find ourselves, most probably we were run as `sh COMMAND' 110 # in which case we are not to be found in the path. 111 if test "x$as_myself" = x; then 112 as_myself=$0 113 fi 114 if test ! -f "$as_myself"; then 115 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 116echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 117 { (exit 1); exit 1; }; } 118 fi 119 case $CONFIG_SHELL in 120 '') 121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 122for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 123do 124 IFS=$as_save_IFS 125 test -z "$as_dir" && as_dir=. 126 for as_base in sh bash ksh sh5; do 127 case $as_dir in 128 /*) 129 if ("$as_dir/$as_base" -c ' 130 as_lineno_1=$LINENO 131 as_lineno_2=$LINENO 132 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 133 test "x$as_lineno_1" != "x$as_lineno_2" && 134 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 135 CONFIG_SHELL=$as_dir/$as_base 136 export CONFIG_SHELL 137 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 138 fi;; 139 esac 140 done 141done 142;; 143 esac 144 145 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 146 # uniformly replaced by the line number. The first 'sed' inserts a 147 # line-number line before each line; the second 'sed' does the real 148 # work. The second script uses 'N' to pair each line-number line 149 # with the numbered line, and appends trailing '-' during 150 # substitution so that $LINENO is not a special case at line end. 151 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 152 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 153 sed '=' <$as_myself | 154 sed ' 155 N 156 s,$,-, 157 : loop 158 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 159 t loop 160 s,-$,, 161 s,^['$as_cr_digits']*\n,, 162 ' >$as_me.lineno && 163 chmod +x $as_me.lineno || 164 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 165echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 166 { (exit 1); exit 1; }; } 167 168 # Don't try to exec as it changes $[0], causing all sort of problems 169 # (the dirname of $[0] is not the place where we might find the 170 # original and so on. Autoconf is especially sensible to this). 171 . ./$as_me.lineno 172 # Exit status is that of the last command. 173 exit 174} 175 176 177case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 178 *c*,-n*) ECHO_N= ECHO_C=' 179' ECHO_T=' ' ;; 180 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 181 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 182esac 183 184if expr a : '\(a\)' >/dev/null 2>&1; then 185 as_expr=expr 186else 187 as_expr=false 188fi 189 190rm -f conf$$ conf$$.exe conf$$.file 191echo >conf$$.file 192if ln -s conf$$.file conf$$ 2>/dev/null; then 193 # We could just check for DJGPP; but this test a) works b) is more generic 194 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 195 if test -f conf$$.exe; then 196 # Don't use ln at all; we don't have any links 197 as_ln_s='cp -p' 198 else 199 as_ln_s='ln -s' 200 fi 201elif ln conf$$.file conf$$ 2>/dev/null; then 202 as_ln_s=ln 203else 204 as_ln_s='cp -p' 205fi 206rm -f conf$$ conf$$.exe conf$$.file 207 208as_executable_p="test -f" 209 210# Sed expression to map a string onto a valid CPP name. 211as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 212 213# Sed expression to map a string onto a valid variable name. 214as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 215 216 217# IFS 218# We need space, tab and new line, in precisely that order. 219as_nl=' 220' 221IFS=" $as_nl" 222 223# CDPATH. 224$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } 225 226exec 6>&1 227 228# Open the log real soon, to keep \$[0] and so on meaningful, and to 229# report actual input values of CONFIG_FILES etc. instead of their 230# values after options handling. Logging --version etc. is OK. 231exec 5>>config.log 232{ 233 echo 234 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 235## Running $as_me. ## 236_ASBOX 237} >&5 238cat >&5 <<_CSEOF 239 240This file was extended by GNU diffutils $as_me 2.8.1, which was 241generated by GNU Autoconf 2.53. Invocation command line was 242 243 CONFIG_FILES = $CONFIG_FILES 244 CONFIG_HEADERS = $CONFIG_HEADERS 245 CONFIG_LINKS = $CONFIG_LINKS 246 CONFIG_COMMANDS = $CONFIG_COMMANDS 247 $ $0 $@ 248 249_CSEOF 250echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 251echo >&5 252config_files=" Makefile doc/Makefile lib/Makefile lib/posix/Makefile man/Makefile m4/Makefile ms/Makefile po/Makefile.in src/Makefile" 253config_headers=" config.h:config.hin" 254config_links=" lib/fnmatch.h:lib/fnmatch.hin lib/regex.h:lib/regex.hin" 255config_commands=" depfiles default-1 default" 256 257ac_cs_usage="\ 258\`$as_me' instantiates files from templates according to the 259current configuration. 260 261Usage: $0 [OPTIONS] [FILE]... 262 263 -h, --help print this help, then exit 264 -V, --version print version number, then exit 265 -d, --debug don't remove temporary files 266 --recheck update $as_me by reconfiguring in the same conditions 267 --file=FILE[:TEMPLATE] 268 instantiate the configuration file FILE 269 --header=FILE[:TEMPLATE] 270 instantiate the configuration header FILE 271 272Configuration files: 273$config_files 274 275Configuration headers: 276$config_headers 277 278Configuration links: 279$config_links 280 281Configuration commands: 282$config_commands 283 284Report bugs to <bug-autoconf@gnu.org>." 285ac_cs_version="\ 286GNU diffutils config.status 2.8.1 287configured by ./configure, generated by GNU Autoconf 2.53, 288 with options \"\" 289 290Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 291Free Software Foundation, Inc. 292This config.status script is free software; the Free Software Foundation 293gives unlimited permission to copy, distribute and modify it." 294srcdir=. 295INSTALL="/bin/install -c" 296# If no file are specified by the user, then we need to provide default 297# value. By we need to know if files were specified by the user. 298ac_need_defaults=: 299while test $# != 0 300do 301 case $1 in 302 --*=*) 303 ac_option=`expr "x$1" : 'x\([^=]*\)='` 304 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 305 shift 306 set dummy "$ac_option" "$ac_optarg" ${1+"$@"} 307 shift 308 ;; 309 -*);; 310 *) # This is not an option, so the user has probably given explicit 311 # arguments. 312 ac_need_defaults=false;; 313 esac 314 315 case $1 in 316 # Handling of the options. 317 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 318 echo "running /bin/sh ./configure " " --no-create --no-recursion" 319 exec /bin/sh ./configure --no-create --no-recursion ;; 320 --version | --vers* | -V ) 321 echo "$ac_cs_version"; exit 0 ;; 322 --he | --h) 323 # Conflict between --help and --header 324 { { echo "$as_me:$LINENO: error: ambiguous option: $1 325Try \`$0 --help' for more information." >&5 326echo "$as_me: error: ambiguous option: $1 327Try \`$0 --help' for more information." >&2;} 328 { (exit 1); exit 1; }; };; 329 --help | --hel | -h ) 330 echo "$ac_cs_usage"; exit 0 ;; 331 --debug | --d* | -d ) 332 debug=: ;; 333 --file | --fil | --fi | --f ) 334 shift 335 CONFIG_FILES="$CONFIG_FILES $1" 336 ac_need_defaults=false;; 337 --header | --heade | --head | --hea ) 338 shift 339 CONFIG_HEADERS="$CONFIG_HEADERS $1" 340 ac_need_defaults=false;; 341 342 # This is an error. 343 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 344Try \`$0 --help' for more information." >&5 345echo "$as_me: error: unrecognized option: $1 346Try \`$0 --help' for more information." >&2;} 347 { (exit 1); exit 1; }; } ;; 348 349 *) ac_config_targets="$ac_config_targets $1" ;; 350 351 esac 352 shift 353done 354 355# 356# INIT-COMMANDS section. 357# 358 359AMDEP_TRUE="" ac_aux_dir="config" 360# Capture the value of obsolete because we need it to compute 361 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it 362 # from automake. 363 eval 'ALL_LINGUAS''=""' 364 # Capture the value of LINGUAS because we need it to compute CATALOGS. 365 LINGUAS="%UNSET%" 366 367 368for ac_config_target in $ac_config_targets 369do 370 case "$ac_config_target" in 371 # Handling of arguments. 372 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 373 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 374 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; 375 "lib/posix/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/posix/Makefile" ;; 376 "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; 377 "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; 378 "ms/Makefile" ) CONFIG_FILES="$CONFIG_FILES ms/Makefile" ;; 379 "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 380 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 381 "lib/fnmatch.h" ) CONFIG_LINKS="$CONFIG_LINKS lib/fnmatch.h:lib/fnmatch.hin" ;; 382 "lib/regex.h" ) CONFIG_LINKS="$CONFIG_LINKS lib/regex.h:lib/regex.hin" ;; 383 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 384 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 385 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 386 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.hin" ;; 387 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 388echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 389 { (exit 1); exit 1; }; };; 390 esac 391done 392 393# If the user did not use the arguments to specify the items to instantiate, 394# then the envvar interface is used. Set only those that are not. 395# We use the long form for the default assignment because of an extremely 396# bizarre bug on SunOS 4.1.3. 397if $ac_need_defaults; then 398 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 399 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 400 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links 401 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 402fi 403 404# Create a temporary directory, and hook for its removal unless debugging. 405$debug || 406{ 407 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 408 trap '{ (exit 1); exit 1; }' 1 2 13 15 409} 410 411# Create a (secure) tmp directory for tmp files. 412: ${TMPDIR=/tmp} 413{ 414 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && 415 test -n "$tmp" && test -d "$tmp" 416} || 417{ 418 tmp=$TMPDIR/cs$$-$RANDOM 419 (umask 077 && mkdir $tmp) 420} || 421{ 422 echo "$me: cannot create a temporary directory in $TMPDIR" >&2 423 { (exit 1); exit 1; } 424} 425 426 427# 428# CONFIG_FILES section. 429# 430 431# No need to generate the scripts if there are no CONFIG_FILES. 432# This happens for instance when ./config.status config.h 433if test -n "$CONFIG_FILES"; then 434 # Protect against being on the right side of a sed subst in config.status. 435 sed 's/,@/@@/; s/@,/@@/; s/,;t t$/@;t t/; /@;t t$/s/[\\&,]/\\&/g; 436 s/@@/,@/; s/@@/@,/; s/@;t t$/,;t t/' >$tmp/subs.sed <<\CEOF 437s,@SHELL@,/bin/sh,;t t 438s,@PATH_SEPARATOR@,:,;t t 439s,@PACKAGE_NAME@,GNU diffutils,;t t 440s,@PACKAGE_TARNAME@,diffutils,;t t 441s,@PACKAGE_VERSION@,2.8.1,;t t 442s,@PACKAGE_STRING@,GNU diffutils 2.8.1,;t t 443s,@PACKAGE_BUGREPORT@,bug-gnu-utils@gnu.org,;t t 444s,@exec_prefix@,${prefix},;t t 445s,@prefix@,/usr/local,;t t 446s,@program_transform_name@,s,x,x,,;t t 447s,@bindir@,${exec_prefix}/bin,;t t 448s,@sbindir@,${exec_prefix}/sbin,;t t 449s,@libexecdir@,${exec_prefix}/libexec,;t t 450s,@datadir@,${prefix}/share,;t t 451s,@sysconfdir@,${prefix}/etc,;t t 452s,@sharedstatedir@,${prefix}/com,;t t 453s,@localstatedir@,${prefix}/var,;t t 454s,@libdir@,${exec_prefix}/lib,;t t 455s,@includedir@,${prefix}/include,;t t 456s,@oldincludedir@,/usr/include,;t t 457s,@infodir@,${prefix}/info,;t t 458s,@mandir@,${prefix}/man,;t t 459s,@build_alias@,,;t t 460s,@host_alias@,,;t t 461s,@target_alias@,,;t t 462s,@DEFS@,-DHAVE_CONFIG_H,;t t 463s,@ECHO_C@,,;t t 464s,@ECHO_N@,-n,;t t 465s,@ECHO_T@,,;t t 466s,@LIBS@,,;t t 467s,@INSTALL_PROGRAM@,${INSTALL},;t t 468s,@INSTALL_SCRIPT@,${INSTALL},;t t 469s,@INSTALL_DATA@,${INSTALL} -m 644,;t t 470s,@PACKAGE@,diffutils,;t t 471s,@VERSION@,2.8.1,;t t 472s,@ACLOCAL@,${SHELL} /boot/home/Development/current/src/apps/bin/diffutils-2.8.1/config/missing --run aclocal-1.6,;t t 473s,@AUTOCONF@,${SHELL} /boot/home/Development/current/src/apps/bin/diffutils-2.8.1/config/missing --run autoconf,;t t 474s,@AUTOMAKE@,${SHELL} /boot/home/Development/current/src/apps/bin/diffutils-2.8.1/config/missing --run automake-1.6,;t t 475s,@AUTOHEADER@,${SHELL} /boot/home/Development/current/src/apps/bin/diffutils-2.8.1/config/missing --run autoheader,;t t 476s,@MAKEINFO@,${SHELL} /boot/home/Development/current/src/apps/bin/diffutils-2.8.1/config/missing --run makeinfo,;t t 477s,@AMTAR@,${SHELL} /boot/home/Development/current/src/apps/bin/diffutils-2.8.1/config/missing --run tar,;t t 478s,@install_sh@,/boot/home/Development/current/src/apps/bin/diffutils-2.8.1/config/install-sh,;t t 479s,@STRIP@,,;t t 480s,@ac_ct_STRIP@,,;t t 481s,@INSTALL_STRIP_PROGRAM@,${SHELL} $(install_sh) -c -s,;t t 482s,@AWK@,gawk,;t t 483s,@SET_MAKE@,,;t t 484s,@CC@,gcc,;t t 485s,@CFLAGS@,-g -O2,;t t 486s,@LDFLAGS@,,;t t 487s,@CPPFLAGS@,,;t t 488s,@ac_ct_CC@,gcc,;t t 489s,@EXEEXT@,,;t t 490s,@OBJEXT@,o,;t t 491s,@DEPDIR@,.deps,;t t 492s,@am__include@,include,;t t 493s,@am__quote@,,;t t 494s,@AMDEP_TRUE@,,;t t 495s,@AMDEP_FALSE@,#,;t t 496s,@AMDEPBACKSLASH@,\,;t t 497s,@CCDEPMODE@,depmode=gcc,;t t 498s,@CPP@,gcc -E,;t t 499s,@HELP2MAN@,${SHELL} /boot/home/Development/current/src/apps/bin/diffutils-2.8.1/config/missing --run help2man,;t t 500s,@RANLIB@,ranlib,;t t 501s,@ac_ct_RANLIB@,ranlib,;t t 502s,@PR_PROGRAM@,/bin/pr,;t t 503s,@MKINSTALLDIRS@,config/mkinstalldirs,;t t 504s,@MSGFMT@,:,;t t 505s,@GMSGFMT@,:,;t t 506s,@XGETTEXT@,AWK='gawk' $(SHELL) $(top_srcdir)/exgettext :,;t t 507s,@MSGMERGE@,:,;t t 508s,@build@,i586-pc-beos,;t t 509s,@build_cpu@,i586,;t t 510s,@build_vendor@,pc,;t t 511s,@build_os@,beos,;t t 512s,@host@,i586-pc-beos,;t t 513s,@host_cpu@,i586,;t t 514s,@host_vendor@,pc,;t t 515s,@host_os@,beos,;t t 516s,@USE_NLS@,no,;t t 517s,@LIBICONV@,,;t t 518s,@LTLIBICONV@,,;t t 519s,@INTLLIBS@,,;t t 520s,@LIBINTL@,,;t t 521s,@LTLIBINTL@,,;t t 522s,@POSUB@,,;t t 523s,@LIBOBJS@, fnmatch.o regex.o,;t t 524s,@ALLOCA@,,;t t 525s,@U@,,;t t 526s,@ANSI2KNR@,,;t t 527s,@LIB_CLOCK_GETTIME@,,;t t 528CEOF 529 530 # Split the substitutions into bite-sized pieces for seds with 531 # small command number limits, like on Digital OSF/1 and HP-UX. 532 ac_max_sed_lines=48 533 ac_sed_frag=1 # Number of current file. 534 ac_beg=1 # First line for current file. 535 ac_end=$ac_max_sed_lines # Line after last line for current file. 536 ac_more_lines=: 537 ac_sed_cmds= 538 while $ac_more_lines; do 539 if test $ac_beg -gt 1; then 540 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 541 else 542 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 543 fi 544 if test ! -s $tmp/subs.frag; then 545 ac_more_lines=false 546 else 547 # The purpose of the label and of the branching condition is to 548 # speed up the sed processing (if there are no `@' at all, there 549 # is no need to browse any of the substitutions). 550 # These are the two extra sed commands mentioned above. 551 (echo ':t 552 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 553 if test -z "$ac_sed_cmds"; then 554 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 555 else 556 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 557 fi 558 ac_sed_frag=`expr $ac_sed_frag + 1` 559 ac_beg=$ac_end 560 ac_end=`expr $ac_end + $ac_max_sed_lines` 561 fi 562 done 563 if test -z "$ac_sed_cmds"; then 564 ac_sed_cmds=cat 565 fi 566fi # test -n "$CONFIG_FILES" 567 568for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 569 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 570 case $ac_file in 571 - | *:- | *:-:* ) # input from stdin 572 cat >$tmp/stdin 573 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 574 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 575 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 576 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 577 * ) ac_file_in=$ac_file.in ;; 578 esac 579 580 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 581 ac_dir=`(dirname "$ac_file") 2>/dev/null || 582$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 583 X"$ac_file" : 'X\(//\)[^/]' \| \ 584 X"$ac_file" : 'X\(//\)$' \| \ 585 X"$ac_file" : 'X\(/\)' \| \ 586 . : '\(.\)' 2>/dev/null || 587echo X"$ac_file" | 588 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 589 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 590 /^X\(\/\/\)$/{ s//\1/; q; } 591 /^X\(\/\).*/{ s//\1/; q; } 592 s/.*/./; q'` 593 { if $as_mkdir_p; then 594 mkdir -p "$ac_dir" 595 else 596 as_dir="$ac_dir" 597 as_dirs= 598 while test ! -d "$as_dir"; do 599 as_dirs="$as_dir $as_dirs" 600 as_dir=`(dirname "$as_dir") 2>/dev/null || 601$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 602 X"$as_dir" : 'X\(//\)[^/]' \| \ 603 X"$as_dir" : 'X\(//\)$' \| \ 604 X"$as_dir" : 'X\(/\)' \| \ 605 . : '\(.\)' 2>/dev/null || 606echo X"$as_dir" | 607 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 608 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 609 /^X\(\/\/\)$/{ s//\1/; q; } 610 /^X\(\/\).*/{ s//\1/; q; } 611 s/.*/./; q'` 612 done 613 test ! -n "$as_dirs" || mkdir $as_dirs 614 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 615echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 616 { (exit 1); exit 1; }; }; } 617 618 ac_builddir=. 619 620if test "$ac_dir" != .; then 621 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 622 # A "../" for each directory in $ac_dir_suffix. 623 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 624else 625 ac_dir_suffix= ac_top_builddir= 626fi 627 628case $srcdir in 629 .) # No --srcdir option. We are building in place. 630 ac_srcdir=. 631 if test -z "$ac_top_builddir"; then 632 ac_top_srcdir=. 633 else 634 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 635 fi ;; 636 [\\/]* | ?:[\\/]* ) # Absolute path. 637 ac_srcdir=$srcdir$ac_dir_suffix; 638 ac_top_srcdir=$srcdir ;; 639 *) # Relative path. 640 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 641 ac_top_srcdir=$ac_top_builddir$srcdir ;; 642esac 643# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 644# absolute. 645ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 646ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` 647ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 648ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 649 650 651 case $INSTALL in 652 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 653 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 654 esac 655 656 if test x"$ac_file" != x-; then 657 { echo "$as_me:$LINENO: creating $ac_file" >&5 658echo "$as_me: creating $ac_file" >&6;} 659 rm -f "$ac_file" 660 fi 661 # Let's still pretend it is `configure' which instantiates (i.e., don't 662 # use $as_me), people would be surprised to read: 663 # /* config.h. Generated by config.status. */ 664 if test x"$ac_file" = x-; then 665 configure_input= 666 else 667 configure_input="$ac_file. " 668 fi 669 configure_input=$configure_input"Generated from `echo $ac_file_in | 670 sed 's,.*/,,'` by configure." 671 672 # First look for the input files in the build tree, otherwise in the 673 # src tree. 674 ac_file_inputs=`IFS=: 675 for f in $ac_file_in; do 676 case $f in 677 -) echo $tmp/stdin ;; 678 [\\/$]*) 679 # Absolute (can't be DOS-style, as IFS=:) 680 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 681echo "$as_me: error: cannot find input file: $f" >&2;} 682 { (exit 1); exit 1; }; } 683 echo $f;; 684 *) # Relative 685 if test -f "$f"; then 686 # Build tree 687 echo $f 688 elif test -f "$srcdir/$f"; then 689 # Source tree 690 echo $srcdir/$f 691 else 692 # /dev/null tree 693 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 694echo "$as_me: error: cannot find input file: $f" >&2;} 695 { (exit 1); exit 1; }; } 696 fi;; 697 esac 698 done` || { (exit 1); exit 1; } 699 sed "/^[ ]*VPATH[ ]*=/{ 700s/:*\$(srcdir):*/:/; 701s/:*\${srcdir}:*/:/; 702s/:*@srcdir@:*/:/; 703s/^\([^=]*=[ ]*\):*/\1/; 704s/:*$//; 705s/^[^=]*=[ ]*$//; 706} 707 708:t 709/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 710s,@configure_input@,$configure_input,;t t 711s,@srcdir@,$ac_srcdir,;t t 712s,@abs_srcdir@,$ac_abs_srcdir,;t t 713s,@top_srcdir@,$ac_top_srcdir,;t t 714s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 715s,@builddir@,$ac_builddir,;t t 716s,@abs_builddir@,$ac_abs_builddir,;t t 717s,@top_builddir@,$ac_top_builddir,;t t 718s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 719s,@INSTALL@,$ac_INSTALL,;t t 720" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 721 rm -f $tmp/stdin 722 if test x"$ac_file" != x-; then 723 mv $tmp/out $ac_file 724 else 725 cat $tmp/out 726 rm -f $tmp/out 727 fi 728 729done 730 731# 732# CONFIG_HEADER section. 733# 734 735# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 736# NAME is the cpp macro being defined and VALUE is the value it is being given. 737# 738# ac_d sets the value in "#define NAME VALUE" lines. 739ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 740ac_dB='[ ].*$,\1#\2' 741ac_dC=' ' 742ac_dD=',;t' 743# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 744ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 745ac_uB='$,\1#\2define\3' 746ac_uC=' ' 747ac_uD=',;t' 748 749for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 750 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 751 case $ac_file in 752 - | *:- | *:-:* ) # input from stdin 753 cat >$tmp/stdin 754 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 755 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 756 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 757 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 758 * ) ac_file_in=$ac_file.in ;; 759 esac 760 761 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 762echo "$as_me: creating $ac_file" >&6;} 763 764 # First look for the input files in the build tree, otherwise in the 765 # src tree. 766 ac_file_inputs=`IFS=: 767 for f in $ac_file_in; do 768 case $f in 769 -) echo $tmp/stdin ;; 770 [\\/$]*) 771 # Absolute (can't be DOS-style, as IFS=:) 772 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 773echo "$as_me: error: cannot find input file: $f" >&2;} 774 { (exit 1); exit 1; }; } 775 echo $f;; 776 *) # Relative 777 if test -f "$f"; then 778 # Build tree 779 echo $f 780 elif test -f "$srcdir/$f"; then 781 # Source tree 782 echo $srcdir/$f 783 else 784 # /dev/null tree 785 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 786echo "$as_me: error: cannot find input file: $f" >&2;} 787 { (exit 1); exit 1; }; } 788 fi;; 789 esac 790 done` || { (exit 1); exit 1; } 791 # Remove the trailing spaces. 792 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 793 794 # Handle all the #define templates only if necessary. 795 if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then 796 # If there are no defines, we may have an empty if/fi 797 : 798 cat >$tmp/defines.sed <<CEOF 799/^[ ]*#[ ]*define/!b 800t clr 801: clr 802${ac_dA}PACKAGE_NAME${ac_dB}PACKAGE_NAME${ac_dC}"GNU diffutils"${ac_dD} 803${ac_dA}PACKAGE_TARNAME${ac_dB}PACKAGE_TARNAME${ac_dC}"diffutils"${ac_dD} 804${ac_dA}PACKAGE_VERSION${ac_dB}PACKAGE_VERSION${ac_dC}"2.8.1"${ac_dD} 805${ac_dA}PACKAGE_STRING${ac_dB}PACKAGE_STRING${ac_dC}"GNU diffutils 2.8.1"${ac_dD} 806${ac_dA}PACKAGE_BUGREPORT${ac_dB}PACKAGE_BUGREPORT${ac_dC}"bug-gnu-utils@gnu.org"${ac_dD} 807${ac_dA}PACKAGE${ac_dB}PACKAGE${ac_dC}"diffutils"${ac_dD} 808${ac_dA}VERSION${ac_dB}VERSION${ac_dC}"2.8.1"${ac_dD} 809${ac_dA}_GNU_SOURCE${ac_dB}_GNU_SOURCE${ac_dC}${ac_dD} 810${ac_dA}__EXTENSIONS__${ac_dB}__EXTENSIONS__${ac_dC}1${ac_dD} 811${ac_dA}HAVE_C_VARARRAYS${ac_dB}HAVE_C_VARARRAYS${ac_dC}1${ac_dD} 812${ac_dA}DEFAULT_DIFF_PROGRAM${ac_dB}DEFAULT_DIFF_PROGRAM${ac_dC}"diff"${ac_dD} 813${ac_dA}DEFAULT_EDITOR_PROGRAM${ac_dB}DEFAULT_EDITOR_PROGRAM${ac_dC}"ed"${ac_dD} 814${ac_dA}PR_PROGRAM${ac_dB}PR_PROGRAM${ac_dC}"/bin/pr"${ac_dD} 815${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD} 816${ac_dA}HAVE_SYS_TYPES_H${ac_dB}HAVE_SYS_TYPES_H${ac_dC}1${ac_dD} 817${ac_dA}HAVE_SYS_STAT_H${ac_dB}HAVE_SYS_STAT_H${ac_dC}1${ac_dD} 818${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD} 819${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD} 820${ac_dA}HAVE_MEMORY_H${ac_dB}HAVE_MEMORY_H${ac_dC}1${ac_dD} 821${ac_dA}HAVE_STRINGS_H${ac_dB}HAVE_STRINGS_H${ac_dC}1${ac_dD} 822${ac_dA}HAVE_INTTYPES_H${ac_dB}HAVE_INTTYPES_H${ac_dC}1${ac_dD} 823${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD} 824${ac_dA}HAVE_FCNTL_H${ac_dB}HAVE_FCNTL_H${ac_dC}1${ac_dD} 825${ac_dA}HAVE_LIMITS_H${ac_dB}HAVE_LIMITS_H${ac_dC}1${ac_dD} 826${ac_dA}HAVE_LOCALE_H${ac_dB}HAVE_LOCALE_H${ac_dC}1${ac_dD} 827${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD} 828${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD} 829${ac_dA}HAVE_SYS_FILE_H${ac_dB}HAVE_SYS_FILE_H${ac_dC}1${ac_dD} 830${ac_dA}HAVE_TIME_H${ac_dB}HAVE_TIME_H${ac_dC}1${ac_dD} 831${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD} 832${ac_dA}HAVE_STRUCT_STAT_ST_BLKSIZE${ac_dB}HAVE_STRUCT_STAT_ST_BLKSIZE${ac_dC}1${ac_dD} 833${ac_dA}HAVE_STRUCT_STAT_ST_RDEV${ac_dB}HAVE_STRUCT_STAT_ST_RDEV${ac_dC}1${ac_dD} 834${ac_dA}HAVE_UNSIGNED_LONG_LONG${ac_dB}HAVE_UNSIGNED_LONG_LONG${ac_dC}1${ac_dD} 835${ac_dA}HAVE_DIRENT_H${ac_dB}HAVE_DIRENT_H${ac_dC}1${ac_dD} 836${ac_dA}HAVE_SYS_WAIT_H${ac_dB}HAVE_SYS_WAIT_H${ac_dC}1${ac_dD} 837${ac_dA}RETSIGTYPE${ac_dB}RETSIGTYPE${ac_dC}void${ac_dD} 838${ac_dA}HAVE_DUP2${ac_dB}HAVE_DUP2${ac_dC}1${ac_dD} 839${ac_dA}HAVE_GETTIMEOFDAY${ac_dB}HAVE_GETTIMEOFDAY${ac_dC}1${ac_dD} 840CEOF 841 sed -f $tmp/defines.sed $tmp/in >$tmp/out 842 rm -f $tmp/in 843 mv $tmp/out $tmp/in 844 845 cat >$tmp/defines.sed <<CEOF 846/^[ ]*#[ ]*define/!b 847t clr 848: clr 849${ac_dA}HAVE_SIGACTION${ac_dB}HAVE_SIGACTION${ac_dC}1${ac_dD} 850${ac_dA}HAVE_SIGPROCMASK${ac_dB}HAVE_SIGPROCMASK${ac_dC}1${ac_dD} 851${ac_dA}HAVE_STRCHR${ac_dB}HAVE_STRCHR${ac_dC}1${ac_dD} 852${ac_dA}HAVE_STRERROR${ac_dB}HAVE_STRERROR${ac_dC}1${ac_dD} 853${ac_dA}HAVE_TMPNAM${ac_dB}HAVE_TMPNAM${ac_dC}1${ac_dD} 854${ac_dA}HAVE_MEMCHR${ac_dB}HAVE_MEMCHR${ac_dC}1${ac_dD} 855${ac_dA}HAVE_MKSTEMP${ac_dB}HAVE_MKSTEMP${ac_dC}1${ac_dD} 856${ac_dA}HAVE_STRCASECMP${ac_dB}HAVE_STRCASECMP${ac_dC}1${ac_dD} 857${ac_dA}HAVE_WAITPID${ac_dB}HAVE_WAITPID${ac_dC}1${ac_dD} 858${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD} 859${ac_dA}HAVE_FORK${ac_dB}HAVE_FORK${ac_dC}1${ac_dD} 860${ac_dA}vfork${ac_dB}vfork${ac_dC}fork${ac_dD} 861${ac_dA}HAVE_WORKING_FORK${ac_dB}HAVE_WORKING_FORK${ac_dC}1${ac_dD} 862${ac_dA}HAVE_VPRINTF${ac_dB}HAVE_VPRINTF${ac_dC}1${ac_dD} 863${ac_dA}HAVE_DECL_CLEARERR_UNLOCKED${ac_dB}HAVE_DECL_CLEARERR_UNLOCKED${ac_dC}1${ac_dD} 864${ac_dA}HAVE_DECL_FEOF_UNLOCKED${ac_dB}HAVE_DECL_FEOF_UNLOCKED${ac_dC}1${ac_dD} 865${ac_dA}HAVE_DECL_FERROR_UNLOCKED${ac_dB}HAVE_DECL_FERROR_UNLOCKED${ac_dC}1${ac_dD} 866${ac_dA}HAVE_DECL_FFLUSH_UNLOCKED${ac_dB}HAVE_DECL_FFLUSH_UNLOCKED${ac_dC}1${ac_dD} 867${ac_dA}HAVE_DECL_FGETS_UNLOCKED${ac_dB}HAVE_DECL_FGETS_UNLOCKED${ac_dC}0${ac_dD} 868${ac_dA}HAVE_DECL_FPUTC_UNLOCKED${ac_dB}HAVE_DECL_FPUTC_UNLOCKED${ac_dC}1${ac_dD} 869${ac_dA}HAVE_DECL_FPUTS_UNLOCKED${ac_dB}HAVE_DECL_FPUTS_UNLOCKED${ac_dC}0${ac_dD} 870${ac_dA}HAVE_DECL_FREAD_UNLOCKED${ac_dB}HAVE_DECL_FREAD_UNLOCKED${ac_dC}1${ac_dD} 871${ac_dA}HAVE_DECL_FWRITE_UNLOCKED${ac_dB}HAVE_DECL_FWRITE_UNLOCKED${ac_dC}1${ac_dD} 872${ac_dA}HAVE_DECL_GETC_UNLOCKED${ac_dB}HAVE_DECL_GETC_UNLOCKED${ac_dC}1${ac_dD} 873${ac_dA}HAVE_DECL_GETCHAR_UNLOCKED${ac_dB}HAVE_DECL_GETCHAR_UNLOCKED${ac_dC}1${ac_dD} 874${ac_dA}HAVE_DECL_PUTC_UNLOCKED${ac_dB}HAVE_DECL_PUTC_UNLOCKED${ac_dC}1${ac_dD} 875${ac_dA}HAVE_DECL_PUTCHAR_UNLOCKED${ac_dB}HAVE_DECL_PUTCHAR_UNLOCKED${ac_dC}1${ac_dD} 876${ac_dA}TIME_WITH_SYS_TIME${ac_dB}TIME_WITH_SYS_TIME${ac_dC}1${ac_dD} 877${ac_dA}HAVE_LOCALTIME_R${ac_dB}HAVE_LOCALTIME_R${ac_dC}1${ac_dD} 878${ac_dA}HAVE_STRFTIME${ac_dB}HAVE_STRFTIME${ac_dC}1${ac_dD} 879${ac_dA}HAVE_LIMITS_H${ac_dB}HAVE_LIMITS_H${ac_dC}1${ac_dD} 880${ac_dA}HAVE_BCOPY${ac_dB}HAVE_BCOPY${ac_dC}1${ac_dD} 881${ac_dA}HAVE_TZSET${ac_dB}HAVE_TZSET${ac_dC}1${ac_dD} 882${ac_dA}HAVE_MEMCPY${ac_dB}HAVE_MEMCPY${ac_dC}1${ac_dD} 883${ac_dA}HAVE_MEMSET${ac_dB}HAVE_MEMSET${ac_dC}1${ac_dD} 884${ac_dA}HAVE_STRUCT_TM_TM_ZONE${ac_dB}HAVE_STRUCT_TM_TM_ZONE${ac_dC}1${ac_dD} 885${ac_dA}HAVE_TM_ZONE${ac_dB}HAVE_TM_ZONE${ac_dC}1${ac_dD} 886${ac_dA}HAVE_MBLEN${ac_dB}HAVE_MBLEN${ac_dC}1${ac_dD} 887CEOF 888 sed -f $tmp/defines.sed $tmp/in >$tmp/out 889 rm -f $tmp/in 890 mv $tmp/out $tmp/in 891 892 cat >$tmp/defines.sed <<CEOF 893/^[ ]*#[ ]*define/!b 894t clr 895: clr 896${ac_dA}HAVE_MBRLEN${ac_dB}HAVE_MBRLEN${ac_dC}1${ac_dD} 897${ac_dA}HAVE_TM_GMTOFF${ac_dB}HAVE_TM_GMTOFF${ac_dC}1${ac_dD} 898${ac_dA}HAVE_SYS_TIME_H${ac_dB}HAVE_SYS_TIME_H${ac_dC}1${ac_dD} 899${ac_dA}my_strftime${ac_dB}my_strftime${ac_dC}nstrftime${ac_dD} 900${ac_dA}HAVE_DONE_WORKING_MALLOC_CHECK${ac_dB}HAVE_DONE_WORKING_MALLOC_CHECK${ac_dC}1${ac_dD} 901${ac_dA}HAVE_DONE_WORKING_REALLOC_CHECK${ac_dB}HAVE_DONE_WORKING_REALLOC_CHECK${ac_dC}1${ac_dD} 902${ac_dA}HAVE_ALLOCA_H${ac_dB}HAVE_ALLOCA_H${ac_dC}1${ac_dD} 903${ac_dA}HAVE_ALLOCA${ac_dB}HAVE_ALLOCA${ac_dC}1${ac_dD} 904${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD} 905${ac_dA}HAVE_STACK_T${ac_dB}HAVE_STACK_T${ac_dC}1${ac_dD} 906${ac_dA}HAVE_STRERROR${ac_dB}HAVE_STRERROR${ac_dC}1${ac_dD} 907${ac_dA}HAVE_VPRINTF${ac_dB}HAVE_VPRINTF${ac_dC}1${ac_dD} 908${ac_dA}HAVE_DECL_STRERROR${ac_dB}HAVE_DECL_STRERROR${ac_dC}1${ac_dD} 909${ac_dA}HAVE_DECL_STRERROR_R${ac_dB}HAVE_DECL_STRERROR_R${ac_dC}0${ac_dD} 910${ac_dA}HAVE_STRERROR_R${ac_dB}HAVE_STRERROR_R${ac_dC}1${ac_dD} 911${ac_dA}STRERROR_R_CHAR_P${ac_dB}STRERROR_R_CHAR_P${ac_dC}1${ac_dD} 912${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD} 913${ac_dA}PROTOTYPES${ac_dB}PROTOTYPES${ac_dC}1${ac_dD} 914${ac_dA}__PROTOTYPES${ac_dB}__PROTOTYPES${ac_dC}1${ac_dD} 915${ac_dA}HAVE_SETLOCALE${ac_dB}HAVE_SETLOCALE${ac_dC}1${ac_dD} 916${ac_dA}HAVE_LOCALE_H${ac_dB}HAVE_LOCALE_H${ac_dC}1${ac_dD} 917${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD} 918${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD} 919${ac_dA}HAVE_ISASCII${ac_dB}HAVE_ISASCII${ac_dC}1${ac_dD} 920${ac_dA}HAVE_ISWPRINT${ac_dB}HAVE_ISWPRINT${ac_dC}1${ac_dD} 921${ac_dA}HAVE_LIMITS_H${ac_dB}HAVE_LIMITS_H${ac_dC}1${ac_dD} 922${ac_dA}HAVE_STDDEF_H${ac_dB}HAVE_STDDEF_H${ac_dC}1${ac_dD} 923${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD} 924${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD} 925${ac_dA}HAVE_WCHAR_H${ac_dB}HAVE_WCHAR_H${ac_dC}1${ac_dD} 926${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD} 927${ac_dA}HAVE_C_BACKSLASH_A${ac_dB}HAVE_C_BACKSLASH_A${ac_dC}1${ac_dD} 928${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD} 929${ac_dA}mbstate_t${ac_dB}mbstate_t${ac_dC}int${ac_dD} 930${ac_dA}PROTOTYPES${ac_dB}PROTOTYPES${ac_dC}1${ac_dD} 931${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD} 932${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD} 933${ac_dA}HAVE_BZERO${ac_dB}HAVE_BZERO${ac_dC}1${ac_dD} 934CEOF 935 sed -f $tmp/defines.sed $tmp/in >$tmp/out 936 rm -f $tmp/in 937 mv $tmp/out $tmp/in 938 939 cat >$tmp/defines.sed <<CEOF 940/^[ ]*#[ ]*define/!b 941t clr 942: clr 943${ac_dA}HAVE_BCOPY${ac_dB}HAVE_BCOPY${ac_dC}1${ac_dD} 944${ac_dA}HAVE_ISASCII${ac_dB}HAVE_ISASCII${ac_dC}1${ac_dD} 945${ac_dA}HAVE_BTOWC${ac_dB}HAVE_BTOWC${ac_dC}1${ac_dD} 946${ac_dA}HAVE_ALLOCA_H${ac_dB}HAVE_ALLOCA_H${ac_dC}1${ac_dD} 947${ac_dA}HAVE_WCHAR_H${ac_dB}HAVE_WCHAR_H${ac_dC}1${ac_dD} 948${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD} 949${ac_dA}HAVE_ALLOCA_H${ac_dB}HAVE_ALLOCA_H${ac_dC}1${ac_dD} 950${ac_dA}HAVE_ALLOCA${ac_dB}HAVE_ALLOCA${ac_dC}1${ac_dD} 951${ac_dA}REGEX_MALLOC${ac_dB}REGEX_MALLOC${ac_dC}1${ac_dD} 952${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD} 953${ac_dA}HAVE_FCNTL_H${ac_dB}HAVE_FCNTL_H${ac_dC}1${ac_dD} 954${ac_dA}HAVE_SYS_TIME_H${ac_dB}HAVE_SYS_TIME_H${ac_dC}1${ac_dD} 955${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD} 956${ac_dA}HAVE_GETTIMEOFDAY${ac_dB}HAVE_GETTIMEOFDAY${ac_dC}1${ac_dD} 957${ac_dA}HAVE_DECL_GETENV${ac_dB}HAVE_DECL_GETENV${ac_dC}1${ac_dD} 958${ac_dA}HAVE_LONG_LONG${ac_dB}HAVE_LONG_LONG${ac_dC}1${ac_dD} 959${ac_dA}HAVE_DECL_STRTOL${ac_dB}HAVE_DECL_STRTOL${ac_dC}1${ac_dD} 960${ac_dA}HAVE_DECL_STRTOUL${ac_dB}HAVE_DECL_STRTOUL${ac_dC}1${ac_dD} 961${ac_dA}HAVE_DECL_STRTOULL${ac_dB}HAVE_DECL_STRTOULL${ac_dC}1${ac_dD} 962${ac_dA}HAVE_DECL_STRTOIMAX${ac_dB}HAVE_DECL_STRTOIMAX${ac_dC}1${ac_dD} 963${ac_dA}HAVE_DECL_STRTOUMAX${ac_dB}HAVE_DECL_STRTOUMAX${ac_dC}1${ac_dD} 964${ac_dA}HAVE_LIMITS_H${ac_dB}HAVE_LIMITS_H${ac_dC}1${ac_dD} 965${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD} 966${ac_dA}HAVE_INTTYPES_H${ac_dB}HAVE_INTTYPES_H${ac_dC}1${ac_dD} 967${ac_dA}HAVE_STRTOUMAX${ac_dB}HAVE_STRTOUMAX${ac_dC}1${ac_dD} 968${ac_dA}FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX${ac_dB}FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX${ac_dC}0${ac_dD} 969${ac_dA}FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR${ac_dB}FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR${ac_dC}0${ac_dD} 970${ac_dA}HAVE_FCNTL_H${ac_dB}HAVE_FCNTL_H${ac_dC}1${ac_dD} 971${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD} 972CEOF 973 sed -f $tmp/defines.sed $tmp/in >$tmp/out 974 rm -f $tmp/in 975 mv $tmp/out $tmp/in 976 977 fi # egrep 978 979 # Handle all the #undef templates 980 cat >$tmp/undefs.sed <<CEOF 981/^[ ]*#[ ]*undef/!b 982t clr 983: clr 984${ac_uA}PACKAGE_NAME${ac_uB}PACKAGE_NAME${ac_uC}"GNU diffutils"${ac_uD} 985${ac_uA}PACKAGE_TARNAME${ac_uB}PACKAGE_TARNAME${ac_uC}"diffutils"${ac_uD} 986${ac_uA}PACKAGE_VERSION${ac_uB}PACKAGE_VERSION${ac_uC}"2.8.1"${ac_uD} 987${ac_uA}PACKAGE_STRING${ac_uB}PACKAGE_STRING${ac_uC}"GNU diffutils 2.8.1"${ac_uD} 988${ac_uA}PACKAGE_BUGREPORT${ac_uB}PACKAGE_BUGREPORT${ac_uC}"bug-gnu-utils@gnu.org"${ac_uD} 989${ac_uA}PACKAGE${ac_uB}PACKAGE${ac_uC}"diffutils"${ac_uD} 990${ac_uA}VERSION${ac_uB}VERSION${ac_uC}"2.8.1"${ac_uD} 991${ac_uA}_GNU_SOURCE${ac_uB}_GNU_SOURCE${ac_uC}${ac_uD} 992${ac_uA}__EXTENSIONS__${ac_uB}__EXTENSIONS__${ac_uC}1${ac_uD} 993${ac_uA}HAVE_C_VARARRAYS${ac_uB}HAVE_C_VARARRAYS${ac_uC}1${ac_uD} 994${ac_uA}DEFAULT_DIFF_PROGRAM${ac_uB}DEFAULT_DIFF_PROGRAM${ac_uC}"diff"${ac_uD} 995${ac_uA}DEFAULT_EDITOR_PROGRAM${ac_uB}DEFAULT_EDITOR_PROGRAM${ac_uC}"ed"${ac_uD} 996${ac_uA}PR_PROGRAM${ac_uB}PR_PROGRAM${ac_uC}"/bin/pr"${ac_uD} 997${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD} 998${ac_uA}HAVE_SYS_TYPES_H${ac_uB}HAVE_SYS_TYPES_H${ac_uC}1${ac_uD} 999${ac_uA}HAVE_SYS_STAT_H${ac_uB}HAVE_SYS_STAT_H${ac_uC}1${ac_uD} 1000${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD} 1001${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD} 1002${ac_uA}HAVE_MEMORY_H${ac_uB}HAVE_MEMORY_H${ac_uC}1${ac_uD} 1003${ac_uA}HAVE_STRINGS_H${ac_uB}HAVE_STRINGS_H${ac_uC}1${ac_uD} 1004${ac_uA}HAVE_INTTYPES_H${ac_uB}HAVE_INTTYPES_H${ac_uC}1${ac_uD} 1005${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD} 1006${ac_uA}HAVE_FCNTL_H${ac_uB}HAVE_FCNTL_H${ac_uC}1${ac_uD} 1007${ac_uA}HAVE_LIMITS_H${ac_uB}HAVE_LIMITS_H${ac_uC}1${ac_uD} 1008${ac_uA}HAVE_LOCALE_H${ac_uB}HAVE_LOCALE_H${ac_uC}1${ac_uD} 1009${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD} 1010${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD} 1011${ac_uA}HAVE_SYS_FILE_H${ac_uB}HAVE_SYS_FILE_H${ac_uC}1${ac_uD} 1012${ac_uA}HAVE_TIME_H${ac_uB}HAVE_TIME_H${ac_uC}1${ac_uD} 1013${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD} 1014${ac_uA}HAVE_STRUCT_STAT_ST_BLKSIZE${ac_uB}HAVE_STRUCT_STAT_ST_BLKSIZE${ac_uC}1${ac_uD} 1015${ac_uA}HAVE_STRUCT_STAT_ST_RDEV${ac_uB}HAVE_STRUCT_STAT_ST_RDEV${ac_uC}1${ac_uD} 1016${ac_uA}HAVE_UNSIGNED_LONG_LONG${ac_uB}HAVE_UNSIGNED_LONG_LONG${ac_uC}1${ac_uD} 1017${ac_uA}HAVE_DIRENT_H${ac_uB}HAVE_DIRENT_H${ac_uC}1${ac_uD} 1018${ac_uA}HAVE_SYS_WAIT_H${ac_uB}HAVE_SYS_WAIT_H${ac_uC}1${ac_uD} 1019${ac_uA}RETSIGTYPE${ac_uB}RETSIGTYPE${ac_uC}void${ac_uD} 1020${ac_uA}HAVE_DUP2${ac_uB}HAVE_DUP2${ac_uC}1${ac_uD} 1021${ac_uA}HAVE_GETTIMEOFDAY${ac_uB}HAVE_GETTIMEOFDAY${ac_uC}1${ac_uD} 1022CEOF 1023 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 1024 rm -f $tmp/in 1025 mv $tmp/out $tmp/in 1026 1027 cat >$tmp/undefs.sed <<CEOF 1028/^[ ]*#[ ]*undef/!b 1029t clr 1030: clr 1031${ac_uA}HAVE_SIGACTION${ac_uB}HAVE_SIGACTION${ac_uC}1${ac_uD} 1032${ac_uA}HAVE_SIGPROCMASK${ac_uB}HAVE_SIGPROCMASK${ac_uC}1${ac_uD} 1033${ac_uA}HAVE_STRCHR${ac_uB}HAVE_STRCHR${ac_uC}1${ac_uD} 1034${ac_uA}HAVE_STRERROR${ac_uB}HAVE_STRERROR${ac_uC}1${ac_uD} 1035${ac_uA}HAVE_TMPNAM${ac_uB}HAVE_TMPNAM${ac_uC}1${ac_uD} 1036${ac_uA}HAVE_MEMCHR${ac_uB}HAVE_MEMCHR${ac_uC}1${ac_uD} 1037${ac_uA}HAVE_MKSTEMP${ac_uB}HAVE_MKSTEMP${ac_uC}1${ac_uD} 1038${ac_uA}HAVE_STRCASECMP${ac_uB}HAVE_STRCASECMP${ac_uC}1${ac_uD} 1039${ac_uA}HAVE_WAITPID${ac_uB}HAVE_WAITPID${ac_uC}1${ac_uD} 1040${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD} 1041${ac_uA}HAVE_FORK${ac_uB}HAVE_FORK${ac_uC}1${ac_uD} 1042${ac_uA}vfork${ac_uB}vfork${ac_uC}fork${ac_uD} 1043${ac_uA}HAVE_WORKING_FORK${ac_uB}HAVE_WORKING_FORK${ac_uC}1${ac_uD} 1044${ac_uA}HAVE_VPRINTF${ac_uB}HAVE_VPRINTF${ac_uC}1${ac_uD} 1045${ac_uA}HAVE_DECL_CLEARERR_UNLOCKED${ac_uB}HAVE_DECL_CLEARERR_UNLOCKED${ac_uC}1${ac_uD} 1046${ac_uA}HAVE_DECL_FEOF_UNLOCKED${ac_uB}HAVE_DECL_FEOF_UNLOCKED${ac_uC}1${ac_uD} 1047${ac_uA}HAVE_DECL_FERROR_UNLOCKED${ac_uB}HAVE_DECL_FERROR_UNLOCKED${ac_uC}1${ac_uD} 1048${ac_uA}HAVE_DECL_FFLUSH_UNLOCKED${ac_uB}HAVE_DECL_FFLUSH_UNLOCKED${ac_uC}1${ac_uD} 1049${ac_uA}HAVE_DECL_FGETS_UNLOCKED${ac_uB}HAVE_DECL_FGETS_UNLOCKED${ac_uC}0${ac_uD} 1050${ac_uA}HAVE_DECL_FPUTC_UNLOCKED${ac_uB}HAVE_DECL_FPUTC_UNLOCKED${ac_uC}1${ac_uD} 1051${ac_uA}HAVE_DECL_FPUTS_UNLOCKED${ac_uB}HAVE_DECL_FPUTS_UNLOCKED${ac_uC}0${ac_uD} 1052${ac_uA}HAVE_DECL_FREAD_UNLOCKED${ac_uB}HAVE_DECL_FREAD_UNLOCKED${ac_uC}1${ac_uD} 1053${ac_uA}HAVE_DECL_FWRITE_UNLOCKED${ac_uB}HAVE_DECL_FWRITE_UNLOCKED${ac_uC}1${ac_uD} 1054${ac_uA}HAVE_DECL_GETC_UNLOCKED${ac_uB}HAVE_DECL_GETC_UNLOCKED${ac_uC}1${ac_uD} 1055${ac_uA}HAVE_DECL_GETCHAR_UNLOCKED${ac_uB}HAVE_DECL_GETCHAR_UNLOCKED${ac_uC}1${ac_uD} 1056${ac_uA}HAVE_DECL_PUTC_UNLOCKED${ac_uB}HAVE_DECL_PUTC_UNLOCKED${ac_uC}1${ac_uD} 1057${ac_uA}HAVE_DECL_PUTCHAR_UNLOCKED${ac_uB}HAVE_DECL_PUTCHAR_UNLOCKED${ac_uC}1${ac_uD} 1058${ac_uA}TIME_WITH_SYS_TIME${ac_uB}TIME_WITH_SYS_TIME${ac_uC}1${ac_uD} 1059${ac_uA}HAVE_LOCALTIME_R${ac_uB}HAVE_LOCALTIME_R${ac_uC}1${ac_uD} 1060${ac_uA}HAVE_STRFTIME${ac_uB}HAVE_STRFTIME${ac_uC}1${ac_uD} 1061${ac_uA}HAVE_LIMITS_H${ac_uB}HAVE_LIMITS_H${ac_uC}1${ac_uD} 1062${ac_uA}HAVE_BCOPY${ac_uB}HAVE_BCOPY${ac_uC}1${ac_uD} 1063${ac_uA}HAVE_TZSET${ac_uB}HAVE_TZSET${ac_uC}1${ac_uD} 1064${ac_uA}HAVE_MEMCPY${ac_uB}HAVE_MEMCPY${ac_uC}1${ac_uD} 1065${ac_uA}HAVE_MEMSET${ac_uB}HAVE_MEMSET${ac_uC}1${ac_uD} 1066${ac_uA}HAVE_STRUCT_TM_TM_ZONE${ac_uB}HAVE_STRUCT_TM_TM_ZONE${ac_uC}1${ac_uD} 1067${ac_uA}HAVE_TM_ZONE${ac_uB}HAVE_TM_ZONE${ac_uC}1${ac_uD} 1068${ac_uA}HAVE_MBLEN${ac_uB}HAVE_MBLEN${ac_uC}1${ac_uD} 1069CEOF 1070 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 1071 rm -f $tmp/in 1072 mv $tmp/out $tmp/in 1073 1074 cat >$tmp/undefs.sed <<CEOF 1075/^[ ]*#[ ]*undef/!b 1076t clr 1077: clr 1078${ac_uA}HAVE_MBRLEN${ac_uB}HAVE_MBRLEN${ac_uC}1${ac_uD} 1079${ac_uA}HAVE_TM_GMTOFF${ac_uB}HAVE_TM_GMTOFF${ac_uC}1${ac_uD} 1080${ac_uA}HAVE_SYS_TIME_H${ac_uB}HAVE_SYS_TIME_H${ac_uC}1${ac_uD} 1081${ac_uA}my_strftime${ac_uB}my_strftime${ac_uC}nstrftime${ac_uD} 1082${ac_uA}HAVE_DONE_WORKING_MALLOC_CHECK${ac_uB}HAVE_DONE_WORKING_MALLOC_CHECK${ac_uC}1${ac_uD} 1083${ac_uA}HAVE_DONE_WORKING_REALLOC_CHECK${ac_uB}HAVE_DONE_WORKING_REALLOC_CHECK${ac_uC}1${ac_uD} 1084${ac_uA}HAVE_ALLOCA_H${ac_uB}HAVE_ALLOCA_H${ac_uC}1${ac_uD} 1085${ac_uA}HAVE_ALLOCA${ac_uB}HAVE_ALLOCA${ac_uC}1${ac_uD} 1086${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD} 1087${ac_uA}HAVE_STACK_T${ac_uB}HAVE_STACK_T${ac_uC}1${ac_uD} 1088${ac_uA}HAVE_STRERROR${ac_uB}HAVE_STRERROR${ac_uC}1${ac_uD} 1089${ac_uA}HAVE_VPRINTF${ac_uB}HAVE_VPRINTF${ac_uC}1${ac_uD} 1090${ac_uA}HAVE_DECL_STRERROR${ac_uB}HAVE_DECL_STRERROR${ac_uC}1${ac_uD} 1091${ac_uA}HAVE_DECL_STRERROR_R${ac_uB}HAVE_DECL_STRERROR_R${ac_uC}0${ac_uD} 1092${ac_uA}HAVE_STRERROR_R${ac_uB}HAVE_STRERROR_R${ac_uC}1${ac_uD} 1093${ac_uA}STRERROR_R_CHAR_P${ac_uB}STRERROR_R_CHAR_P${ac_uC}1${ac_uD} 1094${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD} 1095${ac_uA}PROTOTYPES${ac_uB}PROTOTYPES${ac_uC}1${ac_uD} 1096${ac_uA}__PROTOTYPES${ac_uB}__PROTOTYPES${ac_uC}1${ac_uD} 1097${ac_uA}HAVE_SETLOCALE${ac_uB}HAVE_SETLOCALE${ac_uC}1${ac_uD} 1098${ac_uA}HAVE_LOCALE_H${ac_uB}HAVE_LOCALE_H${ac_uC}1${ac_uD} 1099${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD} 1100${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD} 1101${ac_uA}HAVE_ISASCII${ac_uB}HAVE_ISASCII${ac_uC}1${ac_uD} 1102${ac_uA}HAVE_ISWPRINT${ac_uB}HAVE_ISWPRINT${ac_uC}1${ac_uD} 1103${ac_uA}HAVE_LIMITS_H${ac_uB}HAVE_LIMITS_H${ac_uC}1${ac_uD} 1104${ac_uA}HAVE_STDDEF_H${ac_uB}HAVE_STDDEF_H${ac_uC}1${ac_uD} 1105${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD} 1106${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD} 1107${ac_uA}HAVE_WCHAR_H${ac_uB}HAVE_WCHAR_H${ac_uC}1${ac_uD} 1108${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD} 1109${ac_uA}HAVE_C_BACKSLASH_A${ac_uB}HAVE_C_BACKSLASH_A${ac_uC}1${ac_uD} 1110${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD} 1111${ac_uA}mbstate_t${ac_uB}mbstate_t${ac_uC}int${ac_uD} 1112${ac_uA}PROTOTYPES${ac_uB}PROTOTYPES${ac_uC}1${ac_uD} 1113${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD} 1114${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD} 1115${ac_uA}HAVE_BZERO${ac_uB}HAVE_BZERO${ac_uC}1${ac_uD} 1116CEOF 1117 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 1118 rm -f $tmp/in 1119 mv $tmp/out $tmp/in 1120 1121 cat >$tmp/undefs.sed <<CEOF 1122/^[ ]*#[ ]*undef/!b 1123t clr 1124: clr 1125${ac_uA}HAVE_BCOPY${ac_uB}HAVE_BCOPY${ac_uC}1${ac_uD} 1126${ac_uA}HAVE_ISASCII${ac_uB}HAVE_ISASCII${ac_uC}1${ac_uD} 1127${ac_uA}HAVE_BTOWC${ac_uB}HAVE_BTOWC${ac_uC}1${ac_uD} 1128${ac_uA}HAVE_ALLOCA_H${ac_uB}HAVE_ALLOCA_H${ac_uC}1${ac_uD} 1129${ac_uA}HAVE_WCHAR_H${ac_uB}HAVE_WCHAR_H${ac_uC}1${ac_uD} 1130${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD} 1131${ac_uA}HAVE_ALLOCA_H${ac_uB}HAVE_ALLOCA_H${ac_uC}1${ac_uD} 1132${ac_uA}HAVE_ALLOCA${ac_uB}HAVE_ALLOCA${ac_uC}1${ac_uD} 1133${ac_uA}REGEX_MALLOC${ac_uB}REGEX_MALLOC${ac_uC}1${ac_uD} 1134${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD} 1135${ac_uA}HAVE_FCNTL_H${ac_uB}HAVE_FCNTL_H${ac_uC}1${ac_uD} 1136${ac_uA}HAVE_SYS_TIME_H${ac_uB}HAVE_SYS_TIME_H${ac_uC}1${ac_uD} 1137${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD} 1138${ac_uA}HAVE_GETTIMEOFDAY${ac_uB}HAVE_GETTIMEOFDAY${ac_uC}1${ac_uD} 1139${ac_uA}HAVE_DECL_GETENV${ac_uB}HAVE_DECL_GETENV${ac_uC}1${ac_uD} 1140${ac_uA}HAVE_LONG_LONG${ac_uB}HAVE_LONG_LONG${ac_uC}1${ac_uD} 1141${ac_uA}HAVE_DECL_STRTOL${ac_uB}HAVE_DECL_STRTOL${ac_uC}1${ac_uD} 1142${ac_uA}HAVE_DECL_STRTOUL${ac_uB}HAVE_DECL_STRTOUL${ac_uC}1${ac_uD} 1143${ac_uA}HAVE_DECL_STRTOULL${ac_uB}HAVE_DECL_STRTOULL${ac_uC}1${ac_uD} 1144${ac_uA}HAVE_DECL_STRTOIMAX${ac_uB}HAVE_DECL_STRTOIMAX${ac_uC}1${ac_uD} 1145${ac_uA}HAVE_DECL_STRTOUMAX${ac_uB}HAVE_DECL_STRTOUMAX${ac_uC}1${ac_uD} 1146${ac_uA}HAVE_LIMITS_H${ac_uB}HAVE_LIMITS_H${ac_uC}1${ac_uD} 1147${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD} 1148${ac_uA}HAVE_INTTYPES_H${ac_uB}HAVE_INTTYPES_H${ac_uC}1${ac_uD} 1149${ac_uA}HAVE_STRTOUMAX${ac_uB}HAVE_STRTOUMAX${ac_uC}1${ac_uD} 1150${ac_uA}FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX${ac_uB}FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX${ac_uC}0${ac_uD} 1151${ac_uA}FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR${ac_uB}FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR${ac_uC}0${ac_uD} 1152${ac_uA}HAVE_FCNTL_H${ac_uB}HAVE_FCNTL_H${ac_uC}1${ac_uD} 1153${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD} 1154s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 1155CEOF 1156 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 1157 rm -f $tmp/in 1158 mv $tmp/out $tmp/in 1159 1160 # Let's still pretend it is `configure' which instantiates (i.e., don't 1161 # use $as_me), people would be surprised to read: 1162 # /* config.h. Generated by config.status. */ 1163 if test x"$ac_file" = x-; then 1164 echo "/* Generated by configure. */" >$tmp/config.h 1165 else 1166 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 1167 fi 1168 cat $tmp/in >>$tmp/config.h 1169 rm -f $tmp/in 1170 if test x"$ac_file" != x-; then 1171 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then 1172 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 1173echo "$as_me: $ac_file is unchanged" >&6;} 1174 else 1175 ac_dir=`(dirname "$ac_file") 2>/dev/null || 1176$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1177 X"$ac_file" : 'X\(//\)[^/]' \| \ 1178 X"$ac_file" : 'X\(//\)$' \| \ 1179 X"$ac_file" : 'X\(/\)' \| \ 1180 . : '\(.\)' 2>/dev/null || 1181echo X"$ac_file" | 1182 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 1183 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 1184 /^X\(\/\/\)$/{ s//\1/; q; } 1185 /^X\(\/\).*/{ s//\1/; q; } 1186 s/.*/./; q'` 1187 { if $as_mkdir_p; then 1188 mkdir -p "$ac_dir" 1189 else 1190 as_dir="$ac_dir" 1191 as_dirs= 1192 while test ! -d "$as_dir"; do 1193 as_dirs="$as_dir $as_dirs" 1194 as_dir=`(dirname "$as_dir") 2>/dev/null || 1195$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1196 X"$as_dir" : 'X\(//\)[^/]' \| \ 1197 X"$as_dir" : 'X\(//\)$' \| \ 1198 X"$as_dir" : 'X\(/\)' \| \ 1199 . : '\(.\)' 2>/dev/null || 1200echo X"$as_dir" | 1201 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 1202 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 1203 /^X\(\/\/\)$/{ s//\1/; q; } 1204 /^X\(\/\).*/{ s//\1/; q; } 1205 s/.*/./; q'` 1206 done 1207 test ! -n "$as_dirs" || mkdir $as_dirs 1208 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 1209echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 1210 { (exit 1); exit 1; }; }; } 1211 1212 rm -f $ac_file 1213 mv $tmp/config.h $ac_file 1214 fi 1215 else 1216 cat $tmp/config.h 1217 rm -f $tmp/config.h 1218 fi 1219 # Run the commands associated with the file. 1220 case $ac_file in 1221 config.h ) # update the timestamp 1222echo 'timestamp for config.h:config.hin' >"./stamp-h1" 1223 ;; 1224 esac 1225done 1226 1227# 1228# CONFIG_LINKS section. 1229# 1230 1231for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue 1232 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 1233 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 1234 1235 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5 1236echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;} 1237 1238 if test ! -r $srcdir/$ac_source; then 1239 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5 1240echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;} 1241 { (exit 1); exit 1; }; } 1242 fi 1243 rm -f $ac_dest 1244 1245 # Make relative symlinks. 1246 ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null || 1247$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1248 X"$ac_dest" : 'X\(//\)[^/]' \| \ 1249 X"$ac_dest" : 'X\(//\)$' \| \ 1250 X"$ac_dest" : 'X\(/\)' \| \ 1251 . : '\(.\)' 2>/dev/null || 1252echo X"$ac_dest" | 1253 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 1254 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 1255 /^X\(\/\/\)$/{ s//\1/; q; } 1256 /^X\(\/\).*/{ s//\1/; q; } 1257 s/.*/./; q'` 1258 { if $as_mkdir_p; then 1259 mkdir -p "$ac_dest_dir" 1260 else 1261 as_dir="$ac_dest_dir" 1262 as_dirs= 1263 while test ! -d "$as_dir"; do 1264 as_dirs="$as_dir $as_dirs" 1265 as_dir=`(dirname "$as_dir") 2>/dev/null || 1266$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1267 X"$as_dir" : 'X\(//\)[^/]' \| \ 1268 X"$as_dir" : 'X\(//\)$' \| \ 1269 X"$as_dir" : 'X\(/\)' \| \ 1270 . : '\(.\)' 2>/dev/null || 1271echo X"$as_dir" | 1272 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 1273 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 1274 /^X\(\/\/\)$/{ s//\1/; q; } 1275 /^X\(\/\).*/{ s//\1/; q; } 1276 s/.*/./; q'` 1277 done 1278 test ! -n "$as_dirs" || mkdir $as_dirs 1279 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5 1280echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;} 1281 { (exit 1); exit 1; }; }; } 1282 1283 ac_builddir=. 1284 1285if test "$ac_dest_dir" != .; then 1286 ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'` 1287 # A "../" for each directory in $ac_dir_suffix. 1288 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 1289else 1290 ac_dir_suffix= ac_top_builddir= 1291fi 1292 1293case $srcdir in 1294 .) # No --srcdir option. We are building in place. 1295 ac_srcdir=. 1296 if test -z "$ac_top_builddir"; then 1297 ac_top_srcdir=. 1298 else 1299 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 1300 fi ;; 1301 [\\/]* | ?:[\\/]* ) # Absolute path. 1302 ac_srcdir=$srcdir$ac_dir_suffix; 1303 ac_top_srcdir=$srcdir ;; 1304 *) # Relative path. 1305 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 1306 ac_top_srcdir=$ac_top_builddir$srcdir ;; 1307esac 1308# Don't blindly perform a `cd "$ac_dest_dir"/$ac_foo && pwd` since $ac_foo can be 1309# absolute. 1310ac_abs_builddir=`cd "$ac_dest_dir" && cd $ac_builddir && pwd` 1311ac_abs_top_builddir=`cd "$ac_dest_dir" && cd $ac_top_builddir && pwd` 1312ac_abs_srcdir=`cd "$ac_dest_dir" && cd $ac_srcdir && pwd` 1313ac_abs_top_srcdir=`cd "$ac_dest_dir" && cd $ac_top_srcdir && pwd` 1314 1315 1316 case $srcdir in 1317 [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;; 1318 *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;; 1319 esac 1320 1321 # Make a symlink if possible; otherwise try a hard link. 1322 ln -s $ac_rel_source $ac_dest 2>/dev/null || 1323 ln $srcdir/$ac_source $ac_dest || 1324 { { echo "$as_me:$LINENO: error: cannot link $ac_dest to $srcdir/$ac_source" >&5 1325echo "$as_me: error: cannot link $ac_dest to $srcdir/$ac_source" >&2;} 1326 { (exit 1); exit 1; }; } 1327done 1328 1329# 1330# CONFIG_COMMANDS section. 1331# 1332for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 1333 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 1334 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 1335 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 1336$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1337 X"$ac_dest" : 'X\(//\)[^/]' \| \ 1338 X"$ac_dest" : 'X\(//\)$' \| \ 1339 X"$ac_dest" : 'X\(/\)' \| \ 1340 . : '\(.\)' 2>/dev/null || 1341echo X"$ac_dest" | 1342 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 1343 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 1344 /^X\(\/\/\)$/{ s//\1/; q; } 1345 /^X\(\/\).*/{ s//\1/; q; } 1346 s/.*/./; q'` 1347 ac_builddir=. 1348 1349if test "$ac_dir" != .; then 1350 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1351 # A "../" for each directory in $ac_dir_suffix. 1352 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 1353else 1354 ac_dir_suffix= ac_top_builddir= 1355fi 1356 1357case $srcdir in 1358 .) # No --srcdir option. We are building in place. 1359 ac_srcdir=. 1360 if test -z "$ac_top_builddir"; then 1361 ac_top_srcdir=. 1362 else 1363 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 1364 fi ;; 1365 [\\/]* | ?:[\\/]* ) # Absolute path. 1366 ac_srcdir=$srcdir$ac_dir_suffix; 1367 ac_top_srcdir=$srcdir ;; 1368 *) # Relative path. 1369 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 1370 ac_top_srcdir=$ac_top_builddir$srcdir ;; 1371esac 1372# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 1373# absolute. 1374ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 1375ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` 1376ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 1377ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 1378 1379 1380 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 1381echo "$as_me: executing $ac_dest commands" >&6;} 1382 case $ac_dest in 1383 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 1384 # Strip MF so we end up with the name of the file. 1385 mf=`echo "$mf" | sed -e 's/:.*$//'` 1386 if (sed 1q $mf | fgrep 'generated by automake') > /dev/null 2>&1; then 1387 dirpart=`(dirname "$mf") 2>/dev/null || 1388$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1389 X"$mf" : 'X\(//\)[^/]' \| \ 1390 X"$mf" : 'X\(//\)$' \| \ 1391 X"$mf" : 'X\(/\)' \| \ 1392 . : '\(.\)' 2>/dev/null || 1393echo X"$mf" | 1394 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 1395 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 1396 /^X\(\/\/\)$/{ s//\1/; q; } 1397 /^X\(\/\).*/{ s//\1/; q; } 1398 s/.*/./; q'` 1399 else 1400 continue 1401 fi 1402 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue 1403 # Extract the definition of DEP_FILES from the Makefile without 1404 # running `make'. 1405 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` 1406 test -z "$DEPDIR" && continue 1407 # When using ansi2knr, U may be empty or an underscore; expand it 1408 U=`sed -n -e '/^U = / s///p' < "$mf"` 1409 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 1410 # We invoke sed twice because it is the simplest approach to 1411 # changing $(DEPDIR) to its actual value in the expansion. 1412 for file in `sed -n -e ' 1413 /^DEP_FILES = .*\\\\$/ { 1414 s/^DEP_FILES = // 1415 :loop 1416 s/\\\\$// 1417 p 1418 n 1419 /\\\\$/ b loop 1420 p 1421 } 1422 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ 1423 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 1424 # Make sure the directory exists. 1425 test -f "$dirpart/$file" && continue 1426 fdir=`(dirname "$file") 2>/dev/null || 1427$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1428 X"$file" : 'X\(//\)[^/]' \| \ 1429 X"$file" : 'X\(//\)$' \| \ 1430 X"$file" : 'X\(/\)' \| \ 1431 . : '\(.\)' 2>/dev/null || 1432echo X"$file" | 1433 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 1434 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 1435 /^X\(\/\/\)$/{ s//\1/; q; } 1436 /^X\(\/\).*/{ s//\1/; q; } 1437 s/.*/./; q'` 1438 { if $as_mkdir_p; then 1439 mkdir -p $dirpart/$fdir 1440 else 1441 as_dir=$dirpart/$fdir 1442 as_dirs= 1443 while test ! -d "$as_dir"; do 1444 as_dirs="$as_dir $as_dirs" 1445 as_dir=`(dirname "$as_dir") 2>/dev/null || 1446$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1447 X"$as_dir" : 'X\(//\)[^/]' \| \ 1448 X"$as_dir" : 'X\(//\)$' \| \ 1449 X"$as_dir" : 'X\(/\)' \| \ 1450 . : '\(.\)' 2>/dev/null || 1451echo X"$as_dir" | 1452 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 1453 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 1454 /^X\(\/\/\)$/{ s//\1/; q; } 1455 /^X\(\/\).*/{ s//\1/; q; } 1456 s/.*/./; q'` 1457 done 1458 test ! -n "$as_dirs" || mkdir $as_dirs 1459 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 1460echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} 1461 { (exit 1); exit 1; }; }; } 1462 1463 # echo "creating $dirpart/$file" 1464 echo '# dummy' > "$dirpart/$file" 1465 done 1466done 1467 ;; 1468 default-1 ) 1469 for ac_file in $CONFIG_FILES; do 1470 # Support "outfile[:infile[:infile...]]" 1471 case "$ac_file" in 1472 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 1473 esac 1474 # PO directories have a Makefile.in generated from Makefile.in.in. 1475 case "$ac_file" in */Makefile.in) 1476 # Adjust a relative srcdir. 1477 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 1478 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" 1479 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 1480 # In autoconf-2.13 it is called $ac_given_srcdir. 1481 # In autoconf-2.50 it is called $srcdir. 1482 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 1483 case "$ac_given_srcdir" in 1484 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 1485 /*) top_srcdir="$ac_given_srcdir" ;; 1486 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 1487 esac 1488 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 1489 rm -f "$ac_dir/POTFILES" 1490 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 1491 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" 1492 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend 1493 # on $ac_dir but don't depend on user-specified configuration 1494 # parameters. 1495 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 1496 # The LINGUAS file contains the set of available languages. 1497 if test -n "$ALL_LINGUAS"; then 1498 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 1499 fi 1500 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"` 1501 # Hide the ALL_LINGUAS assigment from automake. 1502 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 1503 fi 1504 case "$ac_given_srcdir" in 1505 .) srcdirpre= ;; 1506 *) srcdirpre='$(srcdir)/' ;; 1507 esac 1508 POFILES= 1509 GMOFILES= 1510 UPDATEPOFILES= 1511 DUMMYPOFILES= 1512 for lang in $ALL_LINGUAS; do 1513 POFILES="$POFILES $srcdirpre$lang.po" 1514 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 1515 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 1516 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 1517 done 1518 # CATALOGS depends on both $ac_dir and the user's LINGUAS 1519 # environment variable. 1520 INST_LINGUAS= 1521 if test -n "$ALL_LINGUAS"; then 1522 for presentlang in $ALL_LINGUAS; do 1523 useit=no 1524 if test "%UNSET%" != "$LINGUAS"; then 1525 desiredlanguages="$LINGUAS" 1526 else 1527 desiredlanguages="$ALL_LINGUAS" 1528 fi 1529 for desiredlang in $desiredlanguages; do 1530 # Use the presentlang catalog if desiredlang is 1531 # a. equal to presentlang, or 1532 # b. a variant of presentlang (because in this case, 1533 # presentlang can be used as a fallback for messages 1534 # which are not translated in the desiredlang catalog). 1535 case "$desiredlang" in 1536 "$presentlang"*) useit=yes;; 1537 esac 1538 done 1539 if test $useit = yes; then 1540 INST_LINGUAS="$INST_LINGUAS $presentlang" 1541 fi 1542 done 1543 fi 1544 CATALOGS= 1545 if test -n "$INST_LINGUAS"; then 1546 for lang in $INST_LINGUAS; do 1547 CATALOGS="$CATALOGS $lang.gmo" 1548 done 1549 fi 1550 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 1551 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" 1552 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 1553 if test -f "$f"; then 1554 case "$f" in 1555 *.orig | *.bak | *~) ;; 1556 *) cat "$f" >> "$ac_dir/Makefile" ;; 1557 esac 1558 fi 1559 done 1560 fi 1561 ;; 1562 esac 1563 done ;; 1564 default ) date > stamp-h ;; 1565 esac 1566done 1567 1568{ (exit 0); exit 0; } 1569