source: trunk/third/tex/xdvi/gsftopk/configure @ 12209

Revision 12209, 51.5 KB checked in by ghudson, 26 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r12208, which included commits to RCS files with non-trunk default branches.
  • Property svn:executable set to *
Line 
1#! /bin/sh
2
3# Guess values for system-dependent variables and create Makefiles.
4# Generated automatically using autoconf version 2.4
5# Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
6#
7# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it.
9
10# Defaults:
11ac_help=
12ac_default_prefix=/usr/local
13# Any additions from configure.in:
14
15# Initialize some variables set by options.
16# The variables have the same names as the options, with
17# dashes changed to underlines.
18build=NONE
19cache_file=./config.cache
20exec_prefix=NONE
21host=NONE
22no_create=
23nonopt=NONE
24no_recursion=
25prefix=NONE
26program_prefix=NONE
27program_suffix=NONE
28program_transform_name=s,x,x,
29silent=
30site=
31srcdir=
32target=NONE
33verbose=
34x_includes=NONE
35x_libraries=NONE
36
37# Initialize some other variables.
38subdirs=
39
40ac_prev=
41for ac_option
42do
43
44  # If the previous option needs an argument, assign it.
45  if test -n "$ac_prev"; then
46    eval "$ac_prev=\$ac_option"
47    ac_prev=
48    continue
49  fi
50
51  case "$ac_option" in
52  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
53  *) ac_optarg= ;;
54  esac
55
56  # Accept the important Cygnus configure options, so we can diagnose typos.
57
58  case "$ac_option" in
59
60  -build | --build | --buil | --bui | --bu | --b)
61    ac_prev=build ;;
62  -build=* | --build=* | --buil=* | --bui=* | --bu=* | --b=*)
63    build="$ac_optarg" ;;
64
65  -cache-file | --cache-file | --cache-fil | --cache-fi \
66  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
67    ac_prev=cache_file ;;
68  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
69  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
70    cache_file="$ac_optarg" ;;
71
72  -disable-* | --disable-*)
73    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
74    # Reject names that are not valid shell variable names.
75    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
76      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
77    fi
78    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
79    eval "enable_${ac_feature}=no" ;;
80
81  -enable-* | --enable-*)
82    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
83    # Reject names that are not valid shell variable names.
84    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
85      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
86    fi
87    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
88    case "$ac_option" in
89      *=*) ;;
90      *) ac_optarg=yes ;;
91    esac
92    eval "enable_${ac_feature}='$ac_optarg'" ;;
93
94  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
95  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
96  | --exec | --exe | --ex)
97    ac_prev=exec_prefix ;;
98  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
99  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
100  | --exec=* | --exe=* | --ex=*)
101    exec_prefix="$ac_optarg" ;;
102
103  -gas | --gas | --ga | --g)
104    # Obsolete; use --with-gas.
105    with_gas=yes ;;
106
107  -help | --help | --hel | --he)
108    # Omit some internal or obsolete options to make the list less imposing.
109    # This message is too long to be a string in the A/UX 3.1 sh.
110    cat << EOF
111Usage: configure [options] [host]
112Options: [defaults in brackets after descriptions]
113Configuration:
114  --cache-file=FILE       cache test results in FILE
115  --help                  print this message
116  --no-create             do not create output files
117  --quiet, --silent       do not print \`checking...' messages
118  --version               print the version of autoconf that created configure
119Directory and file names:
120  --prefix=PREFIX         install architecture-independent files in PREFIX
121                          [$ac_default_prefix]
122  --exec-prefix=PREFIX    install architecture-dependent files in PREFIX
123                          [same as prefix]
124  --srcdir=DIR            find the sources in DIR [configure dir or ..]
125  --program-prefix=PREFIX prepend PREFIX to installed program names
126  --program-suffix=SUFFIX append SUFFIX to installed program names
127  --program-transform-name=PROGRAM run sed PROGRAM on installed program names
128Host type:
129  --build=BUILD           configure for building on BUILD [BUILD=HOST]
130  --host=HOST             configure for HOST [guessed]
131  --target=TARGET         configure for TARGET [TARGET=HOST]
132Features and packages:
133  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
134  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
135  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
136  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
137  --x-includes=DIR        X include files are in DIR
138  --x-libraries=DIR       X library files are in DIR
139--enable and --with options recognized:$ac_help
140EOF
141    exit 0 ;;
142
143  -host | --host | --hos | --ho)
144    ac_prev=host ;;
145  -host=* | --host=* | --hos=* | --ho=*)
146    host="$ac_optarg" ;;
147
148  -nfp | --nfp | --nf)
149    # Obsolete; use --without-fp.
150    with_fp=no ;;
151
152  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
153  | --no-cr | --no-c)
154    no_create=yes ;;
155
156  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
157  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
158    no_recursion=yes ;;
159
160  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
161    ac_prev=prefix ;;
162  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
163    prefix="$ac_optarg" ;;
164
165  -program-prefix | --program-prefix | --program-prefi | --program-pref \
166  | --program-pre | --program-pr | --program-p)
167    ac_prev=program_prefix ;;
168  -program-prefix=* | --program-prefix=* | --program-prefi=* \
169  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
170    program_prefix="$ac_optarg" ;;
171
172  -program-suffix | --program-suffix | --program-suffi | --program-suff \
173  | --program-suf | --program-su | --program-s)
174    ac_prev=program_suffix ;;
175  -program-suffix=* | --program-suffix=* | --program-suffi=* \
176  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
177    program_suffix="$ac_optarg" ;;
178
179  -program-transform-name | --program-transform-name \
180  | --program-transform-nam | --program-transform-na \
181  | --program-transform-n | --program-transform- \
182  | --program-transform | --program-transfor \
183  | --program-transfo | --program-transf \
184  | --program-trans | --program-tran \
185  | --progr-tra | --program-tr | --program-t)
186    ac_prev=program_transform_name ;;
187  -program-transform-name=* | --program-transform-name=* \
188  | --program-transform-nam=* | --program-transform-na=* \
189  | --program-transform-n=* | --program-transform-=* \
190  | --program-transform=* | --program-transfor=* \
191  | --program-transfo=* | --program-transf=* \
192  | --program-trans=* | --program-tran=* \
193  | --progr-tra=* | --program-tr=* | --program-t=*)
194    program_transform_name="$ac_optarg" ;;
195
196  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
197  | -silent | --silent | --silen | --sile | --sil)
198    silent=yes ;;
199
200  -site | --site | --sit)
201    ac_prev=site ;;
202  -site=* | --site=* | --sit=*)
203    site="$ac_optarg" ;;
204
205  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
206    ac_prev=srcdir ;;
207  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
208    srcdir="$ac_optarg" ;;
209
210  -target | --target | --targe | --targ | --tar | --ta | --t)
211    ac_prev=target ;;
212  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
213    target="$ac_optarg" ;;
214
215  -v | -verbose | --verbose | --verbos | --verbo | --verb)
216    verbose=yes ;;
217
218  -version | --version | --versio | --versi | --vers)
219    echo "configure generated by autoconf version 2.4"
220    exit 0 ;;
221
222  -with-* | --with-*)
223    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
224    # Reject names that are not valid shell variable names.
225    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
226      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
227    fi
228    ac_package=`echo $ac_package| sed 's/-/_/g'`
229    case "$ac_option" in
230      *=*) ;;
231      *) ac_optarg=yes ;;
232    esac
233    eval "with_${ac_package}='$ac_optarg'" ;;
234
235  -without-* | --without-*)
236    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
237    # Reject names that are not valid shell variable names.
238    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
239      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
240    fi
241    ac_package=`echo $ac_package| sed 's/-/_/g'`
242    eval "with_${ac_package}=no" ;;
243
244  --x)
245    # Obsolete; use --with-x.
246    with_x=yes ;;
247
248  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
249  | --x-incl | --x-inc | --x-in | --x-i)
250    ac_prev=x_includes ;;
251  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
252  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
253    x_includes="$ac_optarg" ;;
254
255  -x-libraries | --x-libraries | --x-librarie | --x-librari \
256  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
257    ac_prev=x_libraries ;;
258  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
259  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
260    x_libraries="$ac_optarg" ;;
261
262  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
263    ;;
264
265  *)
266    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
267      echo "configure: warning: $ac_option: invalid host type" 1>&2
268    fi
269    if test "x$nonopt" != xNONE; then
270      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
271    fi
272    nonopt="$ac_option"
273    ;;
274
275  esac
276done
277
278if test -n "$ac_prev"; then
279  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
280fi
281
282trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
283
284# File descriptor usage:
285# 0 standard input
286# 1 file creation
287# 2 errors and warnings
288# 3 some systems may open it to /dev/tty
289# 4 used on the Kubota Titan
290# 6 checking for... messages and results
291# 5 compiler messages saved in config.log
292if test "$silent" = yes; then
293  exec 6>/dev/null
294else
295  exec 6>&1
296fi
297exec 5>./config.log
298
299echo "\
300This file contains any messages produced by compilers while
301running configure, to aid debugging if configure makes a mistake.
302" 1>&5
303
304# Strip out --no-create and --no-recursion so they do not pile up.
305# Also quote any args containing shell metacharacters.
306ac_configure_args=
307for ac_arg
308do
309  case "$ac_arg" in
310  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
311  | --no-cr | --no-c) ;;
312  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
313  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
314  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
315  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
316  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
317  esac
318done
319
320# NLS nuisances.
321# Only set LANG and LC_ALL to C if already set.
322# These must not be set unconditionally because not all systems understand
323# e.g. LANG=C (notably SCO).
324if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
325if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
326
327# confdefs.h avoids OS command line length limits that DEFS can exceed.
328rm -rf conftest* confdefs.h
329# AIX cpp loses on an empty file, so make sure it contains at least a newline.
330echo > confdefs.h
331
332# A filename unique to this package, relative to the directory that
333# configure is in, which we can look for to find out if srcdir is correct.
334ac_unique_file=gsftopk.c
335
336# Find the source files, if location was not specified.
337if test -z "$srcdir"; then
338  ac_srcdir_defaulted=yes
339  # Try the directory containing this script, then its parent.
340  ac_prog=$0
341  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
342  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
343  srcdir=$ac_confdir
344  if test ! -r $srcdir/$ac_unique_file; then
345    srcdir=..
346  fi
347else
348  ac_srcdir_defaulted=no
349fi
350if test ! -r $srcdir/$ac_unique_file; then
351  if test "$ac_srcdir_defaulted" = yes; then
352    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
353  else
354    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
355  fi
356fi
357srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
358
359# Prefer explicitly selected file to automatically selected ones.
360if test -z "$CONFIG_SITE"; then
361  if test "x$prefix" != xNONE; then
362    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
363  else
364    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
365  fi
366fi
367for ac_site_file in $CONFIG_SITE; do
368  if test -r "$ac_site_file"; then
369    echo "loading site script $ac_site_file"
370    . "$ac_site_file"
371  fi
372done
373
374if test -r "$cache_file"; then
375  echo "loading cache $cache_file"
376  . $cache_file
377else
378  echo "creating cache $cache_file"
379  > $cache_file
380fi
381
382ac_ext=c
383# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
384ac_cpp='$CPP $CPPFLAGS'
385ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5 2>&5'
386ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5 2>&5'
387
388if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
389  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
390  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
391    ac_n= ac_c='
392' ac_t='        '
393  else
394    ac_n=-n ac_c= ac_t=
395  fi
396else
397  ac_n= ac_c='\c' ac_t=
398fi
399
400
401
402
403
404
405echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
406set dummy ${MAKE-make}; ac_make=$2
407if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
408  echo $ac_n "(cached) $ac_c" 1>&6
409else
410  cat > conftestmake <<\EOF
411all:
412        @echo 'ac_maketemp="${MAKE}"'
413EOF
414# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
415eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
416if test -n "$ac_maketemp"; then
417  eval ac_cv_prog_make_${ac_make}_set=yes
418else
419  eval ac_cv_prog_make_${ac_make}_set=no
420fi
421rm -f conftestmake
422fi
423if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
424  echo "$ac_t""yes" 1>&6
425  SET_MAKE=
426else
427  echo "$ac_t""no" 1>&6
428  SET_MAKE="MAKE=${MAKE-make}"
429fi
430
431
432# Extract the first word of "gcc", so it can be a program name with args.
433set dummy gcc; ac_word=$2
434echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
435if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
436  echo $ac_n "(cached) $ac_c" 1>&6
437else
438  if test -n "$CC"; then
439  ac_cv_prog_CC="$CC" # Let the user override the test.
440else
441  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
442  for ac_dir in $PATH; do
443    test -z "$ac_dir" && ac_dir=.
444    if test -f $ac_dir/$ac_word; then
445      ac_cv_prog_CC="gcc"
446      break
447    fi
448  done
449  IFS="$ac_save_ifs"
450  test -z "$ac_cv_prog_CC" && ac_cv_prog_CC="cc"
451fi
452fi
453CC="$ac_cv_prog_CC"
454if test -n "$CC"; then
455  echo "$ac_t""$CC" 1>&6
456else
457  echo "$ac_t""no" 1>&6
458fi
459
460
461echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
462if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
463  echo $ac_n "(cached) $ac_c" 1>&6
464else
465  cat > conftest.c <<EOF
466#ifdef __GNUC__
467  yes;
468#endif
469EOF
470if ${CC-cc} -E conftest.c 2>&5 | egrep yes >/dev/null 2>&1; then
471  ac_cv_prog_gcc=yes
472else
473  ac_cv_prog_gcc=no
474fi
475fi
476echo "$ac_t""$ac_cv_prog_gcc" 1>&6
477if test $ac_cv_prog_gcc = yes; then
478  GCC=yes
479  if test "${CFLAGS+set}" != set; then
480    echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
481if eval "test \"`echo '$''{'ac_cv_prog_gcc_g'+set}'`\" = set"; then
482  echo $ac_n "(cached) $ac_c" 1>&6
483else
484  echo 'void f(){}' > conftest.c
485if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
486  ac_cv_prog_gcc_g=yes
487else
488  ac_cv_prog_gcc_g=no
489fi
490rm -f conftest*
491
492fi
493    echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6
494    if test $ac_cv_prog_gcc_g = yes; then
495      CFLAGS="-g -O"
496    else
497      CFLAGS="-O"
498    fi
499  fi
500else
501  GCC=
502  test "${CFLAGS+set}" = set || CFLAGS="-g"
503fi
504
505ac_aux_dir=
506for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
507  if test -f $ac_dir/install-sh; then
508    ac_aux_dir=$ac_dir
509    ac_install_sh="$ac_aux_dir/install-sh -c"
510    break
511  elif test -f $ac_dir/install.sh; then
512    ac_aux_dir=$ac_dir
513    ac_install_sh="$ac_aux_dir/install.sh -c"
514    break
515  fi
516done
517if test -z "$ac_aux_dir"; then
518  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
519fi
520ac_config_guess=$ac_aux_dir/config.guess
521ac_config_sub=$ac_aux_dir/config.sub
522ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
523
524# Find a good install program.  We prefer a C program (faster),
525# so one script is as good as another.  But avoid the broken or
526# incompatible versions:
527# SysV /etc/install, /usr/sbin/install
528# SunOS /usr/etc/install
529# IRIX /sbin/install
530# AIX /bin/install
531# AFS /usr/afsws/bin/install, which mishandles nonexistent args
532# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
533# ./install, which can be erroneously created by make from ./install.sh.
534echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
535if test -z "$INSTALL"; then
536if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
537  echo $ac_n "(cached) $ac_c" 1>&6
538else
539    IFS="${IFS=         }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
540  for ac_dir in $PATH; do
541    # Account for people who put trailing slashes in PATH elements.
542    case "$ac_dir/" in
543    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
544    *)
545      # OSF1 and SCO ODT 3.0 have their own names for install.
546      for ac_prog in ginstall installbsd scoinst install; do
547        if test -f $ac_dir/$ac_prog; then
548          if test $ac_prog = install &&
549            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
550            # AIX install.  It has an incompatible calling convention.
551            # OSF/1 installbsd also uses dspmsg, but is usable.
552            :
553          else
554            ac_cv_path_install="$ac_dir/$ac_prog -c"
555            break 2
556          fi
557        fi
558      done
559      ;;
560    esac
561  done
562  IFS="$ac_save_ifs"
563  # As a last resort, use the slow shell script.
564  test -z "$ac_cv_path_install" && ac_cv_path_install="$ac_install_sh"
565fi
566  INSTALL="$ac_cv_path_install"
567fi
568echo "$ac_t""$INSTALL" 1>&6
569
570# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
571# It thinks the first close brace ends the variable substitution.
572test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
573
574test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
575
576# Extract the first word of "ranlib", so it can be a program name with args.
577set dummy ranlib; ac_word=$2
578echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
579if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
580  echo $ac_n "(cached) $ac_c" 1>&6
581else
582  if test -n "$RANLIB"; then
583  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
584else
585  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
586  for ac_dir in $PATH; do
587    test -z "$ac_dir" && ac_dir=.
588    if test -f $ac_dir/$ac_word; then
589      ac_cv_prog_RANLIB="ranlib"
590      break
591    fi
592  done
593  IFS="$ac_save_ifs"
594  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
595fi
596fi
597RANLIB="$ac_cv_prog_RANLIB"
598if test -n "$RANLIB"; then
599  echo "$ac_t""$RANLIB" 1>&6
600else
601  echo "$ac_t""no" 1>&6
602fi
603
604
605echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
606if test -d /etc/conf/kconfig.d &&
607  grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
608then
609  echo "$ac_t""yes" 1>&6
610  ISC=yes # If later tests want to check for ISC.
611  cat >> confdefs.h <<\EOF
612#define _POSIX_SOURCE 1
613EOF
614
615  if test "$GCC" = yes; then
616    CC="$CC -posix"
617  else
618    CC="$CC -Xp"
619  fi
620else
621  echo "$ac_t""no" 1>&6
622  ISC=
623fi
624
625
626ac_header_dirent=no
627for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
628do
629ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
630echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
631if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
632  echo $ac_n "(cached) $ac_c" 1>&6
633else
634  cat > conftest.$ac_ext <<EOF
635#line 636 "configure"
636#include "confdefs.h"
637#include <sys/types.h>
638#include <$ac_hdr>
639int main() { return 0; }
640int t() {
641DIR *dirp = 0;
642; return 0; }
643EOF
644if eval $ac_compile; then
645  rm -rf conftest*
646  eval "ac_cv_header_dirent_$ac_safe=yes"
647else
648  rm -rf conftest*
649  eval "ac_cv_header_dirent_$ac_safe=no"
650fi
651rm -f conftest*
652
653fi
654if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
655  echo "$ac_t""yes" 1>&6
656    ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
657  cat >> confdefs.h <<EOF
658#define $ac_tr_hdr 1
659EOF
660 ac_header_dirent=$ac_hdr; break
661else
662  echo "$ac_t""no" 1>&6
663fi
664done
665# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
666if test $ac_header_dirent = dirent.h; then
667echo $ac_n "checking for -ldir""... $ac_c" 1>&6
668if eval "test \"`echo '$''{'ac_cv_lib_dir'+set}'`\" = set"; then
669  echo $ac_n "(cached) $ac_c" 1>&6
670else
671  ac_save_LIBS="$LIBS"
672LIBS="-ldir  $LIBS"
673cat > conftest.$ac_ext <<EOF
674#line 675 "configure"
675#include "confdefs.h"
676
677int main() { return 0; }
678int t() {
679opendir()
680; return 0; }
681EOF
682if eval $ac_link; then
683  rm -rf conftest*
684  eval "ac_cv_lib_dir=yes"
685else
686  rm -rf conftest*
687  eval "ac_cv_lib_dir=no"
688fi
689rm -f conftest*
690LIBS="$ac_save_LIBS"
691
692fi
693if eval "test \"`echo '$ac_cv_lib_'dir`\" = yes"; then
694  echo "$ac_t""yes" 1>&6
695  LIBS="$LIBS -ldir"
696else
697  echo "$ac_t""no" 1>&6
698fi
699
700else
701echo $ac_n "checking for -lx""... $ac_c" 1>&6
702if eval "test \"`echo '$''{'ac_cv_lib_x'+set}'`\" = set"; then
703  echo $ac_n "(cached) $ac_c" 1>&6
704else
705  ac_save_LIBS="$LIBS"
706LIBS="-lx  $LIBS"
707cat > conftest.$ac_ext <<EOF
708#line 709 "configure"
709#include "confdefs.h"
710
711int main() { return 0; }
712int t() {
713opendir()
714; return 0; }
715EOF
716if eval $ac_link; then
717  rm -rf conftest*
718  eval "ac_cv_lib_x=yes"
719else
720  rm -rf conftest*
721  eval "ac_cv_lib_x=no"
722fi
723rm -f conftest*
724LIBS="$ac_save_LIBS"
725
726fi
727if eval "test \"`echo '$ac_cv_lib_'x`\" = yes"; then
728  echo "$ac_t""yes" 1>&6
729  LIBS="$LIBS -lx"
730else
731  echo "$ac_t""no" 1>&6
732fi
733
734fi
735
736echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
737# On Suns, sometimes $CPP names a directory.
738if test -n "$CPP" && test -d "$CPP"; then
739  CPP=
740fi
741if test -z "$CPP"; then
742if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
743  echo $ac_n "(cached) $ac_c" 1>&6
744else
745    # This must be in double quotes, not single quotes, because CPP may get
746  # substituted into the Makefile and "${CC-cc}" will confuse make.
747  CPP="${CC-cc} -E"
748  # On the NeXT, cc -E runs the code through the compiler's parser,
749  # not just through cpp.
750  cat > conftest.$ac_ext <<EOF
751#line 752 "configure"
752#include "confdefs.h"
753#include <assert.h>
754Syntax Error
755EOF
756eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
757ac_err=`grep -v '^ *+' conftest.out`
758if test -z "$ac_err"; then
759  :
760else
761  echo "$ac_err" >&5
762  rm -rf conftest*
763  CPP="${CC-cc} -E -traditional-cpp"
764  cat > conftest.$ac_ext <<EOF
765#line 766 "configure"
766#include "confdefs.h"
767#include <assert.h>
768Syntax Error
769EOF
770eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
771ac_err=`grep -v '^ *+' conftest.out`
772if test -z "$ac_err"; then
773  :
774else
775  echo "$ac_err" >&5
776  rm -rf conftest*
777  CPP=/lib/cpp
778fi
779rm -f conftest*
780fi
781rm -f conftest*
782  ac_cv_prog_CPP="$CPP"
783fi
784  CPP="$ac_cv_prog_CPP"
785else
786  ac_cv_prog_CPP="$CPP"
787fi
788echo "$ac_t""$CPP" 1>&6
789
790# If we cannot run a trivial program, we must be cross compiling.
791echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&6
792if eval "test \"`echo '$''{'ac_cv_c_cross'+set}'`\" = set"; then
793  echo $ac_n "(cached) $ac_c" 1>&6
794else
795  if test "$cross_compiling" = yes; then
796  ac_cv_c_cross=yes
797else
798cat > conftest.$ac_ext <<EOF
799#line 800 "configure"
800#include "confdefs.h"
801main(){return(0);}
802EOF
803eval $ac_link
804if test -s conftest && (./conftest; exit) 2>/dev/null; then
805  ac_cv_c_cross=no
806else
807  ac_cv_c_cross=yes
808fi
809fi
810rm -fr conftest*
811fi
812cross_compiling=$ac_cv_c_cross
813echo "$ac_t""$ac_cv_c_cross" 1>&6
814
815echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
816if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
817  echo $ac_n "(cached) $ac_c" 1>&6
818else
819  cat > conftest.$ac_ext <<EOF
820#line 821 "configure"
821#include "confdefs.h"
822#include <stdlib.h>
823#include <stdarg.h>
824#include <string.h>
825#include <float.h>
826EOF
827eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
828ac_err=`grep -v '^ *+' conftest.out`
829if test -z "$ac_err"; then
830  rm -rf conftest*
831  ac_cv_header_stdc=yes
832else
833  echo "$ac_err" >&5
834  rm -rf conftest*
835  ac_cv_header_stdc=no
836fi
837rm -f conftest*
838
839if test $ac_cv_header_stdc = yes; then
840  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
841cat > conftest.$ac_ext <<EOF
842#line 843 "configure"
843#include "confdefs.h"
844#include <string.h>
845EOF
846if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
847  egrep "memchr" >/dev/null 2>&1; then
848  :
849else
850  rm -rf conftest*
851  ac_cv_header_stdc=no
852fi
853rm -f conftest*
854
855fi
856
857if test $ac_cv_header_stdc = yes; then
858  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
859cat > conftest.$ac_ext <<EOF
860#line 861 "configure"
861#include "confdefs.h"
862#include <stdlib.h>
863EOF
864if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
865  egrep "free" >/dev/null 2>&1; then
866  :
867else
868  rm -rf conftest*
869  ac_cv_header_stdc=no
870fi
871rm -f conftest*
872
873fi
874
875if test $ac_cv_header_stdc = yes; then
876  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
877if test "$cross_compiling" = yes; then
878  ac_cv_header_stdc=no
879else
880cat > conftest.$ac_ext <<EOF
881#line 882 "configure"
882#include "confdefs.h"
883#include <ctype.h>
884#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
885#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
886#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
887int main () { int i; for (i = 0; i < 256; i++)
888if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
889exit (0); }
890
891EOF
892eval $ac_link
893if test -s conftest && (./conftest; exit) 2>/dev/null; then
894  :
895else
896  ac_cv_header_stdc=no
897fi
898fi
899rm -fr conftest*
900fi
901fi
902echo "$ac_t""$ac_cv_header_stdc" 1>&6
903if test $ac_cv_header_stdc = yes; then
904  cat >> confdefs.h <<\EOF
905#define STDC_HEADERS 1
906EOF
907
908fi
909
910echo $ac_n "checking whether closedir returns void""... $ac_c" 1>&6
911if eval "test \"`echo '$''{'ac_cv_func_closedir_void'+set}'`\" = set"; then
912  echo $ac_n "(cached) $ac_c" 1>&6
913else
914  if test "$cross_compiling" = yes; then
915    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
916else
917cat > conftest.$ac_ext <<EOF
918#line 919 "configure"
919#include "confdefs.h"
920#include <sys/types.h>
921#include <$ac_header_dirent>
922int closedir(); main() { exit(closedir(opendir(".")) != 0); }
923EOF
924eval $ac_link
925if test -s conftest && (./conftest; exit) 2>/dev/null; then
926  ac_cv_func_closedir_void=no
927else
928  ac_cv_func_closedir_void=yes
929fi
930fi
931rm -fr conftest*
932fi
933echo "$ac_t""$ac_cv_func_closedir_void" 1>&6
934if test $ac_cv_func_closedir_void = yes; then
935  cat >> confdefs.h <<\EOF
936#define CLOSEDIR_VOID 1
937EOF
938
939fi
940
941for ac_hdr in assert.h float.h limits.h memory.h pwd.h stdlib.h \
942                 string.h unistd.h
943do
944ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
945echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
946if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
947  echo $ac_n "(cached) $ac_c" 1>&6
948else
949  cat > conftest.$ac_ext <<EOF
950#line 951 "configure"
951#include "confdefs.h"
952#include <$ac_hdr>
953EOF
954eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
955ac_err=`grep -v '^ *+' conftest.out`
956if test -z "$ac_err"; then
957  rm -rf conftest*
958  eval "ac_cv_header_$ac_safe=yes"
959else
960  echo "$ac_err" >&5
961  rm -rf conftest*
962  eval "ac_cv_header_$ac_safe=no"
963fi
964rm -f conftest*
965fi
966if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
967  echo "$ac_t""yes" 1>&6
968    ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
969  cat >> confdefs.h <<EOF
970#define $ac_tr_hdr 1
971EOF
972 
973else
974  echo "$ac_t""no" 1>&6
975fi
976done
977
978
979for ac_func in basename bcopy memmove putenv
980do
981echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
982if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
983  echo $ac_n "(cached) $ac_c" 1>&6
984else
985  cat > conftest.$ac_ext <<EOF
986#line 987 "configure"
987#include "confdefs.h"
988/* System header to define __stub macros and hopefully few prototypes,
989    which can conflict with char $ac_func(); below.  */
990#include <assert.h>
991/* Override any gcc2 internal prototype to avoid an error.  */
992char $ac_func();
993
994int main() { return 0; }
995int t() {
996
997/* The GNU C library defines this for functions which it implements
998    to always fail with ENOSYS.  Some functions are actually named
999    something starting with __ and the normal name is an alias.  */
1000#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1001choke me
1002#else
1003$ac_func();
1004#endif
1005
1006; return 0; }
1007EOF
1008if eval $ac_link; then
1009  rm -rf conftest*
1010  eval "ac_cv_func_$ac_func=yes"
1011else
1012  rm -rf conftest*
1013  eval "ac_cv_func_$ac_func=no"
1014fi
1015rm -f conftest*
1016
1017fi
1018if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1019  echo "$ac_t""yes" 1>&6
1020    ac_tr_func=HAVE_`echo $ac_func | tr '[a-z]' '[A-Z]'`
1021  cat >> confdefs.h <<EOF
1022#define $ac_tr_func 1
1023EOF
1024 
1025else
1026  echo "$ac_t""no" 1>&6
1027fi
1028done
1029
1030
1031echo $ac_n "checking for working const""... $ac_c" 1>&6
1032if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
1033  echo $ac_n "(cached) $ac_c" 1>&6
1034else
1035  cat > conftest.$ac_ext <<EOF
1036#line 1037 "configure"
1037#include "confdefs.h"
1038
1039int main() { return 0; }
1040int t() {
1041
1042/* Ultrix mips cc rejects this.  */
1043typedef int charset[2]; const charset x;
1044/* SunOS 4.1.1 cc rejects this.  */
1045char const *const *ccp;
1046char **p;
1047/* NEC SVR4.0.2 mips cc rejects this.  */
1048struct point {int x, y;};
1049static struct point const zero;
1050/* AIX XL C 1.02.0.0 rejects this.
1051   It does not let you subtract one const X* pointer from another in an arm
1052   of an if-expression whose if-part is not a constant expression */
1053const char *g = "string";
1054ccp = &g + (g ? g-g : 0);
1055/* HPUX 7.0 cc rejects these. */
1056++ccp;
1057p = (char**) ccp;
1058ccp = (char const *const *) p;
1059{ /* SCO 3.2v4 cc rejects this.  */
1060  char *t;
1061  char const *s = 0 ? (char *) 0 : (char const *) 0;
1062
1063  *t++ = 0;
1064}
1065{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
1066  int x[] = {25, 17};
1067  const int *foo = &x[0];
1068  ++foo;
1069}
1070{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
1071  typedef const int *iptr;
1072  iptr p = 0;
1073  ++p;
1074}
1075{ /* AIX XL C 1.02.0.0 rejects this saying
1076     "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
1077  struct s { int j; const int *ap[3]; };
1078  struct s *b; b->j = 5;
1079}
1080{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
1081  const int foo = 10;
1082}
1083
1084; return 0; }
1085EOF
1086if eval $ac_compile; then
1087  rm -rf conftest*
1088  ac_cv_c_const=yes
1089else
1090  rm -rf conftest*
1091  ac_cv_c_const=no
1092fi
1093rm -f conftest*
1094
1095fi
1096echo "$ac_t""$ac_cv_c_const" 1>&6
1097if test $ac_cv_c_const = no; then
1098  cat >> confdefs.h <<\EOF
1099#define const
1100EOF
1101
1102fi
1103
1104
1105
1106# This is a GNU libc invention.
1107echo $ac_n "checking whether program_invocation_name is predefined""... $ac_c" 1>&6
1108if eval "test \"`echo '$''{'kb_cv_var_program_inv_name'+set}'`\" = set"; then
1109  echo $ac_n "(cached) $ac_c" 1>&6
1110else
1111  cat > conftest.$ac_ext <<EOF
1112#line 1113 "configure"
1113#include "confdefs.h"
1114
1115int main() { return 0; }
1116int t() {
1117main() { program_invocation_name = "love"; }
1118; return 0; }
1119EOF
1120if eval $ac_link; then
1121  rm -rf conftest*
1122  kb_cv_var_program_inv_name=yes
1123else
1124  rm -rf conftest*
1125  kb_cv_var_program_inv_name=no
1126fi
1127rm -f conftest*
1128
1129fi
1130echo "$ac_t""$kb_cv_var_program_inv_name" 1>&6
1131if test $kb_cv_var_program_inv_name = yes; then
1132  cat >> confdefs.h <<\EOF
1133#define HAVE_PROGRAM_INVOCATION_NAME 1
1134EOF
1135
1136fi
1137
1138
1139# Some BSD putenv's, e.g., FreeBSD, do malloc/free's on the environment.
1140# This test program is due to Mike Hibler <mike@cs.utah.edu>.
1141# We don't actually need to run this if we don't have putenv, but it
1142# doesn't hurt.
1143echo $ac_n "checking whether putenv uses malloc""... $ac_c" 1>&6
1144if eval "test \"`echo '$''{'kb_cv_func_putenv_malloc'+set}'`\" = set"; then
1145  echo $ac_n "(cached) $ac_c" 1>&6
1146else
1147  if test "$cross_compiling" = yes; then
1148  kb_cv_func_putenv_malloc=no
1149else
1150cat > conftest.$ac_ext <<EOF
1151#line 1152 "configure"
1152#include "confdefs.h"
1153
1154#define VAR     "YOW_VAR"
1155#define STRING1 "GabbaGabbaHey"
1156#define STRING2 "Yow!!"         /* should be shorter than STRING1 */
1157extern char *getenv (); /* in case char* and int don't mix gracefully */
1158main ()
1159{
1160  char *str1, *rstr1, *str2, *rstr2;
1161  str1 = getenv (VAR);
1162  if (str1)
1163    exit (1);
1164  str1 = malloc (strlen (VAR) + 1 + strlen (STRING1) + 1);
1165  if (str1 == 0)
1166    exit (2);
1167  strcpy (str1, VAR);
1168  strcat (str1, "=");
1169  strcat (str1, STRING1);
1170  if (putenv (str1) < 0)
1171    exit (3);
1172  rstr1 = getenv (VAR);
1173  if (rstr1 == 0)
1174    exit (4);
1175  rstr1 -= strlen (VAR) + 1;
1176  if (strncmp (rstr1, VAR, strlen (VAR)))
1177    exit (5);
1178  str2 = malloc (strlen (VAR) + 1 + strlen (STRING2) + 1);
1179  if (str2 == 0 || str1 == str2)
1180    exit (6);
1181  strcpy (str2, VAR);
1182  strcat (str2, "=");
1183  strcat (str2, STRING2);
1184  if (putenv (str2) < 0)
1185    exit (7);
1186  rstr2 = getenv (VAR);
1187  if (rstr2 == 0)
1188    exit (8);
1189  rstr2 -= strlen (VAR) + 1;
1190#if 0
1191  printf ("rstr1=0x%x, rstr2=0x%x\n", rstr1, rstr2);
1192  /*
1193   * If string from first call was reused for the second call,
1194   * you had better not do a free on the first string!
1195   */
1196  if (rstr1 == rstr2)
1197          printf ("#define SMART_PUTENV\n");
1198  else
1199          printf ("#undef SMART_PUTENV\n");
1200#endif
1201  exit (rstr1 == rstr2 ? 0 : 1);
1202}
1203EOF
1204eval $ac_link
1205if test -s conftest && (./conftest; exit) 2>/dev/null; then
1206  kb_cv_func_putenv_malloc=yes
1207else
1208  kb_cv_func_putenv_malloc=no
1209fi
1210fi
1211rm -fr conftest*
1212fi
1213echo "$ac_t""$kb_cv_func_putenv_malloc" 1>&6
1214if test $kb_cv_func_putenv_malloc = yes; then
1215  cat >> confdefs.h <<\EOF
1216#define SMART_PUTENV 1
1217EOF
1218
1219fi
1220
1221
1222echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
1223if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
1224  echo $ac_n "(cached) $ac_c" 1>&6
1225else
1226  cat > conftest.$ac_ext <<EOF
1227#line 1228 "configure"
1228#include "confdefs.h"
1229#include <sys/types.h>
1230#include <sys/wait.h>
1231#ifndef WEXITSTATUS
1232#define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
1233#endif
1234#ifndef WIFEXITED
1235#define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
1236#endif
1237int main() { return 0; }
1238int t() {
1239int s;
1240wait (&s);
1241s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
1242; return 0; }
1243EOF
1244if eval $ac_compile; then
1245  rm -rf conftest*
1246  ac_cv_header_sys_wait_h=yes
1247else
1248  rm -rf conftest*
1249  ac_cv_header_sys_wait_h=no
1250fi
1251rm -f conftest*
1252
1253fi
1254echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
1255if test $ac_cv_header_sys_wait_h = yes; then
1256  cat >> confdefs.h <<\EOF
1257#define HAVE_SYS_WAIT_H 1
1258EOF
1259
1260fi
1261
1262echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
1263if eval "test \"`echo '$''{'ac_cv_func_memcmp'+set}'`\" = set"; then
1264  echo $ac_n "(cached) $ac_c" 1>&6
1265else
1266  if test "$cross_compiling" = yes; then
1267  ac_cv_func_memcmp=no
1268else
1269cat > conftest.$ac_ext <<EOF
1270#line 1274 "configure"
1271#include "confdefs.h"
1272
1273main()
1274{
1275  char c0 = 0x40, c1 = 0x80, c2 = 0x81;
1276  exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);
1277}
1278
1279EOF
1280eval $ac_link
1281if test -s conftest && (./conftest; exit) 2>/dev/null; then
1282  ac_cv_func_memcmp=yes
1283else
1284  ac_cv_func_memcmp=no
1285fi
1286fi
1287rm -fr conftest*
1288fi
1289echo "$ac_t""$ac_cv_func_memcmp" 1>&6
1290test $ac_cv_func_memcmp = no && LIBOBJS="$LIBOBJS memcmp.o"
1291
1292echo $ac_n "checking for pid_t""... $ac_c" 1>&6
1293if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
1294  echo $ac_n "(cached) $ac_c" 1>&6
1295else
1296  cat > conftest.$ac_ext <<EOF
1297#line 1301 "configure"
1298#include "confdefs.h"
1299#include <sys/types.h>
1300#if STDC_HEADERS
1301#include <stdlib.h>
1302#endif
1303EOF
1304if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1305  egrep "pid_t" >/dev/null 2>&1; then
1306  rm -rf conftest*
1307  ac_cv_type_pid_t=yes
1308else
1309  rm -rf conftest*
1310  ac_cv_type_pid_t=no
1311fi
1312rm -f conftest*
1313
1314fi
1315echo "$ac_t""$ac_cv_type_pid_t" 1>&6
1316if test $ac_cv_type_pid_t = no; then
1317  cat >> confdefs.h <<\EOF
1318#define pid_t int
1319EOF
1320
1321fi
1322
1323ac_safe=`echo "vfork.h" | tr './\055' '___'`
1324echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
1325if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1326  echo $ac_n "(cached) $ac_c" 1>&6
1327else
1328  cat > conftest.$ac_ext <<EOF
1329#line 1333 "configure"
1330#include "confdefs.h"
1331#include <vfork.h>
1332EOF
1333eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1334ac_err=`grep -v '^ *+' conftest.out`
1335if test -z "$ac_err"; then
1336  rm -rf conftest*
1337  eval "ac_cv_header_$ac_safe=yes"
1338else
1339  echo "$ac_err" >&5
1340  rm -rf conftest*
1341  eval "ac_cv_header_$ac_safe=no"
1342fi
1343rm -f conftest*
1344fi
1345if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1346  echo "$ac_t""yes" 1>&6
1347  cat >> confdefs.h <<\EOF
1348#define HAVE_VFORK_H 1
1349EOF
1350
1351else
1352  echo "$ac_t""no" 1>&6
1353fi
1354
1355echo $ac_n "checking for working vfork""... $ac_c" 1>&6
1356if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
1357  echo $ac_n "(cached) $ac_c" 1>&6
1358else
1359  if test "$cross_compiling" = yes; then
1360  ac_cv_func_vfork=no
1361else
1362cat > conftest.$ac_ext <<EOF
1363#line 1367 "configure"
1364#include "confdefs.h"
1365/* Thanks to Paul Eggert for this test.  */
1366#include <stdio.h>
1367#include <sys/types.h>
1368#include <sys/stat.h>
1369#ifdef HAVE_UNISTD_H
1370#include <unistd.h>
1371#endif
1372#ifdef HAVE_VFORK_H
1373#include <vfork.h>
1374#endif
1375/* On some sparc systems, changes by the child to local and incoming
1376   argument registers are propagated back to the parent.
1377   The compiler is told about this with #include <vfork.h>,
1378   but some compilers (e.g. gcc -O) don't grok <vfork.h>.
1379   Test for this by using a static variable whose address
1380   is put into a register that is clobbered by the vfork.  */
1381static
1382#ifdef __cplusplus
1383sparc_address_test (int arg)
1384#else
1385sparc_address_test (arg) int arg;
1386#endif
1387{
1388  static pid_t child;
1389  if (!child) {
1390    child = vfork ();
1391    if (child < 0)
1392      perror ("vfork");
1393    if (!child) {
1394      arg = getpid();
1395      write(-1, "", 0);
1396      _exit (arg);
1397    }
1398  }
1399}
1400main() {
1401  pid_t parent = getpid ();
1402  pid_t child;
1403
1404  sparc_address_test ();
1405
1406  child = vfork ();
1407
1408  if (child == 0) {
1409    /* Here is another test for sparc vfork register problems.
1410       This test uses lots of local variables, at least
1411       as many local variables as main has allocated so far
1412       including compiler temporaries.  4 locals are enough for
1413       gcc 1.40.3 on a Solaris 4.1.3 sparc, but we use 8 to be safe.
1414       A buggy compiler should reuse the register of parent
1415       for one of the local variables, since it will think that
1416       parent can't possibly be used any more in this routine.
1417       Assigning to the local variable will thus munge parent
1418       in the parent process.  */
1419    pid_t
1420      p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
1421      p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
1422    /* Convince the compiler that p..p7 are live; otherwise, it might
1423       use the same hardware register for all 8 local variables.  */
1424    if (p != p1 || p != p2 || p != p3 || p != p4
1425        || p != p5 || p != p6 || p != p7)
1426      _exit(1);
1427
1428    /* On some systems (e.g. IRIX 3.3),
1429       vfork doesn't separate parent from child file descriptors.
1430       If the child closes a descriptor before it execs or exits,
1431       this munges the parent's descriptor as well.
1432       Test for this by closing stdout in the child.  */
1433    _exit(close(fileno(stdout)) != 0);
1434  } else {
1435    int status;
1436    struct stat st;
1437
1438    while (wait(&status) != child)
1439      ;
1440    exit(
1441         /* Was there some problem with vforking?  */
1442         child < 0
1443
1444         /* Did the child fail?  (This shouldn't happen.)  */
1445         || status
1446
1447         /* Did the vfork/compiler bug occur?  */
1448         || parent != getpid()
1449
1450         /* Did the file descriptor bug occur?  */
1451         || fstat(fileno(stdout), &st) != 0
1452         );
1453  }
1454}
1455EOF
1456eval $ac_link
1457if test -s conftest && (./conftest; exit) 2>/dev/null; then
1458  ac_cv_func_vfork=yes
1459else
1460  ac_cv_func_vfork=no
1461fi
1462fi
1463rm -fr conftest*
1464fi
1465echo "$ac_t""$ac_cv_func_vfork" 1>&6
1466if test $ac_cv_func_vfork = no; then
1467  cat >> confdefs.h <<\EOF
1468#define vfork fork
1469EOF
1470
1471fi
1472
1473echo $ac_n "checking for vprintf""... $ac_c" 1>&6
1474if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
1475  echo $ac_n "(cached) $ac_c" 1>&6
1476else
1477  cat > conftest.$ac_ext <<EOF
1478#line 1482 "configure"
1479#include "confdefs.h"
1480/* System header to define __stub macros and hopefully few prototypes,
1481    which can conflict with char vprintf(); below.  */
1482#include <assert.h>
1483/* Override any gcc2 internal prototype to avoid an error.  */
1484char vprintf();
1485
1486int main() { return 0; }
1487int t() {
1488
1489/* The GNU C library defines this for functions which it implements
1490    to always fail with ENOSYS.  Some functions are actually named
1491    something starting with __ and the normal name is an alias.  */
1492#if defined (__stub_vprintf) || defined (__stub___vprintf)
1493choke me
1494#else
1495vprintf();
1496#endif
1497
1498; return 0; }
1499EOF
1500if eval $ac_link; then
1501  rm -rf conftest*
1502  eval "ac_cv_func_vprintf=yes"
1503else
1504  rm -rf conftest*
1505  eval "ac_cv_func_vprintf=no"
1506fi
1507rm -f conftest*
1508
1509fi
1510if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
1511  echo "$ac_t""yes" 1>&6
1512  cat >> confdefs.h <<\EOF
1513#define HAVE_VPRINTF 1
1514EOF
1515
1516else
1517  echo "$ac_t""no" 1>&6
1518fi
1519
1520if test "$ac_cv_func_vprintf" != yes; then
1521echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
1522if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
1523  echo $ac_n "(cached) $ac_c" 1>&6
1524else
1525  cat > conftest.$ac_ext <<EOF
1526#line 1530 "configure"
1527#include "confdefs.h"
1528/* System header to define __stub macros and hopefully few prototypes,
1529    which can conflict with char _doprnt(); below.  */
1530#include <assert.h>
1531/* Override any gcc2 internal prototype to avoid an error.  */
1532char _doprnt();
1533
1534int main() { return 0; }
1535int t() {
1536
1537/* The GNU C library defines this for functions which it implements
1538    to always fail with ENOSYS.  Some functions are actually named
1539    something starting with __ and the normal name is an alias.  */
1540#if defined (__stub__doprnt) || defined (__stub____doprnt)
1541choke me
1542#else
1543_doprnt();
1544#endif
1545
1546; return 0; }
1547EOF
1548if eval $ac_link; then
1549  rm -rf conftest*
1550  eval "ac_cv_func__doprnt=yes"
1551else
1552  rm -rf conftest*
1553  eval "ac_cv_func__doprnt=no"
1554fi
1555rm -f conftest*
1556
1557fi
1558if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
1559  echo "$ac_t""yes" 1>&6
1560  cat >> confdefs.h <<\EOF
1561#define HAVE_DOPRNT 1
1562EOF
1563
1564else
1565  echo "$ac_t""no" 1>&6
1566fi
1567
1568fi
1569
1570
1571trap '' 1 2 15
1572cat > confcache <<\EOF
1573# This file is a shell script that caches the results of configure
1574# tests run on this system so they can be shared between configure
1575# scripts and configure runs.  It is not useful on other systems.
1576# If it contains results you don't want to keep, you may remove or edit it.
1577#
1578# By default, configure uses ./config.cache as the cache file,
1579# creating it if it does not exist already.  You can give configure
1580# the --cache-file=FILE option to use a different cache file; that is
1581# what configure does when it calls configure scripts in
1582# subdirectories, so they share the cache.
1583# Giving --cache-file=/dev/null disables caching, for debugging configure.
1584# config.status only pays attention to the cache file if you give it the
1585# --recheck option to rerun configure.
1586#
1587EOF
1588# Ultrix sh set writes to stderr and can't be redirected directly,
1589# and sets the high bit in the cache file unless we assign to the vars.
1590(set) 2>&1 |
1591  sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
1592  >> confcache
1593if cmp -s $cache_file confcache; then
1594  :
1595else
1596  if test -w $cache_file; then
1597    echo "updating cache $cache_file"
1598    cat confcache > $cache_file
1599  else
1600    echo "not updating unwritable cache $cache_file"
1601  fi
1602fi
1603rm -f confcache
1604
1605trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1606
1607test "x$prefix" = xNONE && prefix=$ac_default_prefix
1608# Let make expand exec_prefix.
1609test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1610
1611# Any assignment to VPATH causes Sun make to only execute
1612# the first set of double-colon rules, so remove it if not needed.
1613# If there is a colon in the path, we need to keep it.
1614if test "x$srcdir" = x.; then
1615  ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'
1616fi
1617
1618trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1619
1620DEFS=-DHAVE_CONFIG_H
1621
1622# Without the "./", some shells look in PATH for config.status.
1623: ${CONFIG_STATUS=./config.status}
1624
1625echo creating $CONFIG_STATUS
1626rm -f $CONFIG_STATUS
1627cat > $CONFIG_STATUS <<EOF
1628#! /bin/sh
1629# Generated automatically by configure.
1630# Run this file to recreate the current configuration.
1631# This directory was configured as follows,
1632# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1633#
1634# $0 $ac_configure_args
1635#
1636# Compiler output produced by configure, useful for debugging
1637# configure, is in ./config.log if it exists.
1638
1639ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1640for ac_option
1641do
1642  case "\$ac_option" in
1643  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1644    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1645    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1646  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1647    echo "$CONFIG_STATUS generated by autoconf version 2.4"
1648    exit 0 ;;
1649  -help | --help | --hel | --he | --h)
1650    echo "\$ac_cs_usage"; exit 0 ;;
1651  *) echo "\$ac_cs_usage"; exit 1 ;;
1652  esac
1653done
1654
1655ac_given_srcdir=$srcdir
1656ac_given_INSTALL="$INSTALL"
1657
1658trap 'rm -fr `echo "Makefile c-auto.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1659
1660# Protect against being on the right side of a sed subst in config.status.
1661sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\\\&%]/\\\\&/g;
1662 s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
1663$ac_vpsub
1664$extrasub
1665s%@CFLAGS@%$CFLAGS%g
1666s%@CPPFLAGS@%$CPPFLAGS%g
1667s%@CXXFLAGS@%$CXXFLAGS%g
1668s%@DEFS@%$DEFS%g
1669s%@LDFLAGS@%$LDFLAGS%g
1670s%@LIBS@%$LIBS%g
1671s%@exec_prefix@%$exec_prefix%g
1672s%@prefix@%$prefix%g
1673s%@program_transform_name@%$program_transform_name%g
1674s%@SET_MAKE@%$SET_MAKE%g
1675s%@CC@%$CC%g
1676s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1677s%@INSTALL_DATA@%$INSTALL_DATA%g
1678s%@RANLIB@%$RANLIB%g
1679s%@CPP@%$CPP%g
1680s%@LIBOBJS@%$LIBOBJS%g
1681
1682CEOF
1683EOF
1684cat >> $CONFIG_STATUS <<EOF
1685
1686CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
1687EOF
1688cat >> $CONFIG_STATUS <<\EOF
1689for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1690  # Support "outfile[:infile]", defaulting infile="outfile.in".
1691  case "$ac_file" in
1692  *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
1693       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1694  *) ac_file_in="${ac_file}.in" ;;
1695  esac
1696
1697  # Adjust relative srcdir, etc. for subdirectories.
1698
1699  # Remove last slash and all that follows it.  Not all systems have dirname.
1700  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1701  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1702    # The file is in a subdirectory.
1703    test ! -d "$ac_dir" && mkdir "$ac_dir"
1704    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1705    # A "../" for each directory in $ac_dir_suffix.
1706    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1707  else
1708    ac_dir_suffix= ac_dots=
1709  fi
1710
1711  case "$ac_given_srcdir" in
1712  .)  srcdir=.
1713      if test -z "$ac_dots"; then top_srcdir=.
1714      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1715  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1716  *) # Relative path.
1717    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1718    top_srcdir="$ac_dots$ac_given_srcdir" ;;
1719  esac
1720
1721  case "$ac_given_INSTALL" in
1722  [/$]*) INSTALL="$ac_given_INSTALL" ;;
1723  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
1724  esac
1725  echo creating "$ac_file"
1726  rm -f "$ac_file"
1727  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1728  case "$ac_file" in
1729  *Makefile*) ac_comsub="1i\\
1730# $configure_input" ;;
1731  *) ac_comsub= ;;
1732  esac
1733  # Replace lines of the form ac_include foo with the contents of foo:
1734  # first, from the ac_include lines construct a list of sed
1735  # commands to remove them, and include the files; then run sed.
1736  # Have to use sed because old (Ultrix, SunOS) awk does not support
1737  # getline or system. (Anyway, configure scripts aren't supposed to use awk.)
1738  # Use \@...@<cmd> form of sed address because the filename may contain /.
1739  # Can't use only one -e and commands {dr foo} because foo has to be last.
1740  # Use @e initially instead of -e because GNU echo has a -e option.
1741  # USe `X' to mean a bunch of backslashes; this is for FreeBSD.
1742  file_substs=`sed -n \
1743"/^ac_include/s%ac_include[     ]*\(.*\)%@e 'X@^&@r \1' -e 'X@^&@d'%p" \
1744               $ac_given_srcdir/${ac_file}.in`
1745  if test -n "$file_substs"; then
1746    # Change @e back to -e and X@^ to \@^.
1747    file_subst_cmd="sed `echo $file_substs \
1748                         | sed -e 's/@e/-e/g' -e 's/X@^/\\\\\@^/g'`"
1749  else
1750    # If no substitutions and hence no sed commands, don't choke.
1751    file_subst_cmd=cat
1752  fi
1753  # cd into the srcdir because the files being included more or less
1754  # must be part of the distribution. I can't find any way to do
1755  # variable substitution in the sed commands (so the user could have,
1756  # e.g., $top_srcdir in their ac_include line).
1757  (cd $ac_given_srcdir && eval $file_subst_cmd ${ac_file}.in) \
1758  | sed -e "$ac_comsub
1759s%@configure_input@%$configure_input%g
1760s%@srcdir@%$srcdir%g
1761s%@top_srcdir@%$top_srcdir%g
1762s%@INSTALL@%$INSTALL%g
1763" -f conftest.subs > $ac_file
1764fi; done
1765rm -f conftest.subs
1766
1767# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
1768# NAME is the cpp macro being defined and VALUE is the value it is being given.
1769#
1770# ac_d sets the value in "#define NAME VALUE" lines.
1771ac_dA='s%^\([   ]*\)#\([        ]*define[       ][      ]*\)'
1772ac_dB='\([      ][      ]*\)[^  ]*%\1#\2'
1773ac_dC='\3'
1774ac_dD='%g'
1775# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
1776ac_uA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
1777ac_uB='\([      ]\)%\1#\2define\3'
1778ac_uC=' '
1779ac_uD='\4%g'
1780# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
1781ac_eA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
1782ac_eB='$%\1#\2define\3'
1783ac_eC=' '
1784ac_eD='%g'
1785
1786CONFIG_HEADERS=${CONFIG_HEADERS-"c-auto.h"}
1787for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
1788  # Support "outfile[:infile]", defaulting infile="outfile.in".
1789  case "$ac_file" in
1790  *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
1791       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1792  *) ac_file_in="${ac_file}.in" ;;
1793  esac
1794
1795  echo creating $ac_file
1796
1797  rm -f conftest.frag conftest.in conftest.out
1798  cp $ac_given_srcdir/$ac_file_in conftest.in
1799
1800EOF
1801
1802# Transform confdefs.h into a sed script conftest.vals that substitutes
1803# the proper values into config.h.in to produce config.h.  And first:
1804# Protect against being on the right side of a sed subst in config.status.
1805# Protect against being in an unquoted here document in config.status.
1806rm -f conftest.vals
1807cat > conftest.hdr <<\EOF
1808s/[\\&%]/\\&/g
1809s%[\\$`]%\\&%g
1810s%#define \([A-Za-z_][A-Za-z0-9_]*\) \(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
1811s%ac_d%ac_u%gp
1812s%ac_u%ac_e%gp
1813EOF
1814sed -n -f conftest.hdr confdefs.h > conftest.vals
1815rm -f conftest.hdr
1816
1817# This sed command replaces #undef with comments.  This is necessary, for
1818# example, in the case of _POSIX_SOURCE, which is predefined and required
1819# on some systems where configure will not decide to define it.
1820cat >> conftest.vals <<\EOF
1821s%^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
1822EOF
1823
1824# Break up conftest.vals because some shells have a limit on
1825# the size of here documents, and old seds have small limits too.
1826# Maximum number of lines to put in a single here document.
1827ac_max_here_lines=12
1828
1829rm -f conftest.tail
1830while :
1831do
1832  ac_lines=`grep -c . conftest.vals`
1833  # grep -c gives empty output for an empty file on some AIX systems.
1834  if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
1835  # Write a limited-size here document to conftest.frag.
1836  echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
1837  sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
1838  echo 'CEOF
1839  sed -f conftest.frag conftest.in > conftest.out
1840  rm -f conftest.in
1841  mv conftest.out conftest.in
1842' >> $CONFIG_STATUS
1843  sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
1844  rm -f conftest.vals
1845  mv conftest.tail conftest.vals
1846done
1847rm -f conftest.vals
1848
1849cat >> $CONFIG_STATUS <<\EOF
1850  rm -f conftest.frag conftest.h
1851  echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
1852  cat conftest.in >> conftest.h
1853  rm -f conftest.in
1854  if cmp -s $ac_file conftest.h 2>/dev/null; then
1855    echo "$ac_file is unchanged"
1856    rm -f conftest.h
1857  else
1858    rm -f $ac_file
1859    mv conftest.h $ac_file
1860  fi
1861fi; done
1862
1863
1864
1865exit 0
1866EOF
1867chmod +x $CONFIG_STATUS
1868rm -fr confdefs* $ac_clean_files
1869test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
1870
Note: See TracBrowser for help on using the repository browser.