comparison configure @ 48221:55c749e7394a

*** empty log message ***
author Dave Love <fx@gnu.org>
date Fri, 08 Nov 2002 12:32:10 +0000
parents abfcf5ec4ad2
children 016a2985b8c6
comparison
equal deleted inserted replaced
48220:0230b8ae41f0 48221:55c749e7394a
1 #! /bin/sh 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles. 2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53. 3 # Generated by GNU Autoconf 2.54.
4 # 4 #
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc. 6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation 7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it. 8 # gives unlimited permission to copy, distribute and modify it.
9
10 if expr a : '\(a\)' >/dev/null 2>&1; then
11 as_expr=expr
12 else
13 as_expr=false
14 fi
15
16
17 ## --------------------- ## 9 ## --------------------- ##
18 ## M4sh Initialization. ## 10 ## M4sh Initialization. ##
19 ## --------------------- ## 11 ## --------------------- ##
20 12
21 # Be Bourne compatible 13 # Be Bourne compatible
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23 emulate sh 15 emulate sh
24 NULLCMD=: 16 NULLCMD=:
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
25 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26 set -o posix 21 set -o posix
27 fi 22 fi
28 23
29 # NLS nuisances.
30 # Support unset when possible. 24 # Support unset when possible.
31 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 25 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
32 as_unset=unset 26 as_unset=unset
33 else 27 else
34 as_unset=false 28 as_unset=false
35 fi 29 fi
36 30
37 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") && 31
38 { $as_unset LANG || test "${LANG+set}" != set; } || 32 # Work around bugs in pre-3.0 UWIN ksh.
39 { LANG=C; export LANG; } 33 $as_unset ENV MAIL MAILPATH
40 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && 34 PS1='$ '
41 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || 35 PS2='> '
42 { LC_ALL=C; export LC_ALL; } 36 PS4='+ '
43 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && 37
44 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || 38 # NLS nuisances.
45 { LC_TIME=C; export LC_TIME; } 39 for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
46 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && 40 do
47 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || 41 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 { LC_CTYPE=C; export LC_CTYPE; } 42 eval $as_var=C; export $as_var
49 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && 43 else
50 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || 44 $as_unset $as_var
51 { LANGUAGE=C; export LANGUAGE; } 45 fi
52 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && 46 done
53 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || 47
54 { LC_COLLATE=C; export LC_COLLATE; } 48 # Required to use basename.
55 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && 49 if expr a : '\(a\)' >/dev/null 2>&1; then
56 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || 50 as_expr=expr
57 { LC_NUMERIC=C; export LC_NUMERIC; } 51 else
58 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && 52 as_expr=false
59 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || 53 fi
60 { LC_MESSAGES=C; export LC_MESSAGES; } 54
55 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
56 as_basename=basename
57 else
58 as_basename=false
59 fi
61 60
62 61
63 # Name of the executable. 62 # Name of the executable.
64 as_me=`(basename "$0") 2>/dev/null || 63 as_me=`$as_basename "$0" ||
65 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 64 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66 X"$0" : 'X\(//\)$' \| \ 65 X"$0" : 'X\(//\)$' \| \
67 X"$0" : 'X\(/\)$' \| \ 66 X"$0" : 'X\(/\)$' \| \
68 . : '\(.\)' 2>/dev/null || 67 . : '\(.\)' 2>/dev/null ||
69 echo X/"$0" | 68 echo X/"$0" |
70 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 69 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
71 /^X\/\(\/\/\)$/{ s//\1/; q; } 70 /^X\/\(\/\/\)$/{ s//\1/; q; }
72 /^X\/\(\/\).*/{ s//\1/; q; } 71 /^X\/\(\/\).*/{ s//\1/; q; }
73 s/.*/./; q'` 72 s/.*/./; q'`
74 73
74
75 # PATH needs CR, and LINENO needs CR and PATH. 75 # PATH needs CR, and LINENO needs CR and PATH.
76 # Avoid depending upon Character Ranges. 76 # Avoid depending upon Character Ranges.
77 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 77 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 78 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 79 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 # The user is always right. 83 # The user is always right.
84 if test "${PATH_SEPARATOR+set}" != set; then 84 if test "${PATH_SEPARATOR+set}" != set; then
85 echo "#! /bin/sh" >conftest.sh 85 echo "#! /bin/sh" >conftest.sh
86 echo "exit 0" >>conftest.sh 86 echo "exit 0" >>conftest.sh
87 chmod +x conftest.sh 87 chmod +x conftest.sh
88 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then 88 if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
89 PATH_SEPARATOR=';' 89 PATH_SEPARATOR=';'
90 else 90 else
91 PATH_SEPARATOR=: 91 PATH_SEPARATOR=:
92 fi 92 fi
93 rm -f conftest.sh 93 rm -f conftest.sh
136 as_lineno_1=$LINENO 136 as_lineno_1=$LINENO
137 as_lineno_2=$LINENO 137 as_lineno_2=$LINENO
138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139 test "x$as_lineno_1" != "x$as_lineno_2" && 139 test "x$as_lineno_1" != "x$as_lineno_2" &&
140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
141 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
142 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
141 CONFIG_SHELL=$as_dir/$as_base 143 CONFIG_SHELL=$as_dir/$as_base
142 export CONFIG_SHELL 144 export CONFIG_SHELL
143 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 145 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
144 fi;; 146 fi;;
145 esac 147 esac
208 else 210 else
209 as_ln_s='cp -p' 211 as_ln_s='cp -p'
210 fi 212 fi
211 rm -f conf$$ conf$$.exe conf$$.file 213 rm -f conf$$ conf$$.exe conf$$.file
212 214
215 if mkdir -p . 2>/dev/null; then
216 as_mkdir_p=:
217 else
218 as_mkdir_p=false
219 fi
220
213 as_executable_p="test -f" 221 as_executable_p="test -f"
214 222
215 # Sed expression to map a string onto a valid CPP name. 223 # Sed expression to map a string onto a valid CPP name.
216 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 224 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
217 225
224 as_nl=' 232 as_nl='
225 ' 233 '
226 IFS=" $as_nl" 234 IFS=" $as_nl"
227 235
228 # CDPATH. 236 # CDPATH.
229 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } 237 $as_unset CDPATH
230 238
231 239
232 # Name of the host. 240 # Name of the host.
233 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 241 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
234 # so uname gets run too. 242 # so uname gets run too.
238 246
239 # 247 #
240 # Initializations. 248 # Initializations.
241 # 249 #
242 ac_default_prefix=/usr/local 250 ac_default_prefix=/usr/local
251 ac_config_libobj_dir=.
243 cross_compiling=no 252 cross_compiling=no
244 subdirs= 253 subdirs=
245 MFLAGS= 254 MFLAGS=
246 MAKEFLAGS= 255 MAKEFLAGS=
247 SHELL=${CONFIG_SHELL-/bin/sh} 256 SHELL=${CONFIG_SHELL-/bin/sh}
257 PACKAGE_VERSION= 266 PACKAGE_VERSION=
258 PACKAGE_STRING= 267 PACKAGE_STRING=
259 PACKAGE_BUGREPORT= 268 PACKAGE_BUGREPORT=
260 269
261 ac_unique_file="src/lisp.h" 270 ac_unique_file="src/lisp.h"
271 ac_config_libobj_dir=src
262 # Factoring default headers for most tests. 272 # Factoring default headers for most tests.
263 ac_includes_default="\ 273 ac_includes_default="\
264 #include <stdio.h> 274 #include <stdio.h>
265 #if HAVE_SYS_TYPES_H 275 #if HAVE_SYS_TYPES_H
266 # include <sys/types.h> 276 # include <sys/types.h>
294 #endif 304 #endif
295 #if HAVE_UNISTD_H 305 #if HAVE_UNISTD_H
296 # include <unistd.h> 306 # include <unistd.h>
297 #endif" 307 #endif"
298 308
309 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT LN_S CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA RANLIB ac_ct_RANLIB EGREP LIBSOUND SET_MAKE ALLOCA liblockfile LIBOBJS NEED_SETGID KMEM_GROUP GETLOADAVG_LIBS version configuration canonical srcdir lispdir locallisppath lisppath x_default_search_path etcdir archlibdir docdir bitmapdir gamedir gameuser c_switch_system c_switch_machine LD_SWITCH_X_SITE LD_SWITCH_X_SITE_AUX C_SWITCH_X_SITE X_TOOLKIT_TYPE machfile opsysfile LTLIBOBJS'
310 ac_subst_files=''
299 311
300 # Initialize some variables set by options. 312 # Initialize some variables set by options.
301 ac_init_help= 313 ac_init_help=
302 ac_init_version=false 314 ac_init_version=false
303 # The variables have the same names as the options, with 315 # The variables have the same names as the options, with
717 else 729 else
718 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
719 { (exit 1); exit 1; }; } 731 { (exit 1); exit 1; }; }
720 fi 732 fi
721 fi 733 fi
734 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
735 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
736 { (exit 1); exit 1; }; }
722 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 737 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
723 ac_env_build_alias_set=${build_alias+set} 738 ac_env_build_alias_set=${build_alias+set}
724 ac_env_build_alias_value=$build_alias 739 ac_env_build_alias_value=$build_alias
725 ac_cv_env_build_alias_set=${build_alias+set} 740 ac_cv_env_build_alias_set=${build_alias+set}
726 ac_cv_env_build_alias_value=$build_alias 741 ac_cv_env_build_alias_value=$build_alias
904 ac_top_srcdir=$ac_top_builddir$srcdir ;; 919 ac_top_srcdir=$ac_top_builddir$srcdir ;;
905 esac 920 esac
906 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 921 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
907 # absolute. 922 # absolute.
908 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 923 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
909 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` 924 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
910 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 925 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
911 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 926 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
912 927
913 cd $ac_dir 928 cd $ac_dir
914 # Check for guested configure; otherwise get Cygnus style configure. 929 # Check for guested configure; otherwise get Cygnus style configure.
944 cat >&5 <<_ACEOF 959 cat >&5 <<_ACEOF
945 This file contains any messages produced by compilers while 960 This file contains any messages produced by compilers while
946 running configure, to aid debugging if configure makes a mistake. 961 running configure, to aid debugging if configure makes a mistake.
947 962
948 It was created by $as_me, which was 963 It was created by $as_me, which was
949 generated by GNU Autoconf 2.53. Invocation command line was 964 generated by GNU Autoconf 2.54. Invocation command line was
950 965
951 $ $0 $@ 966 $ $0 $@
952 967
953 _ACEOF 968 _ACEOF
954 { 969 {
1010 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1025 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1011 continue ;; 1026 continue ;;
1012 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1027 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1013 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1028 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1014 esac 1029 esac
1015 case " $ac_configure_args " in 1030 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1016 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1017 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1018 ac_sep=" " ;;
1019 esac
1020 # Get rid of the leading space. 1031 # Get rid of the leading space.
1032 ac_sep=" "
1021 done 1033 done
1022 1034
1023 # When interrupted or exit'd, cleanup temporary files, and complete 1035 # When interrupted or exit'd, cleanup temporary files, and complete
1024 # config.log. We remove comments because anyway the quotes in there 1036 # config.log. We remove comments because anyway the quotes in there
1025 # would cause problems or look ugly. 1037 # would cause problems or look ugly.
1027 # such as our DU 5.0 friend, will then `close' the trap. 1039 # such as our DU 5.0 friend, will then `close' the trap.
1028 trap 'exit_status=$? 1040 trap 'exit_status=$?
1029 # Save into config.log some information that might help in debugging. 1041 # Save into config.log some information that might help in debugging.
1030 { 1042 {
1031 echo 1043 echo
1044
1032 cat <<\_ASBOX 1045 cat <<\_ASBOX
1033 ## ---------------- ## 1046 ## ---------------- ##
1034 ## Cache variables. ## 1047 ## Cache variables. ##
1035 ## ---------------- ## 1048 ## ---------------- ##
1036 _ASBOX 1049 _ASBOX
1049 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1062 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1050 ;; 1063 ;;
1051 esac; 1064 esac;
1052 } 1065 }
1053 echo 1066 echo
1067
1068 cat <<\_ASBOX
1069 ## ----------------- ##
1070 ## Output variables. ##
1071 ## ----------------- ##
1072 _ASBOX
1073 echo
1074 for ac_var in $ac_subst_vars
1075 do
1076 eval ac_val=$`echo $ac_var`
1077 echo "$ac_var='"'"'$ac_val'"'"'"
1078 done | sort
1079 echo
1080
1081 if test -n "$ac_subst_files"; then
1082 cat <<\_ASBOX
1083 ## ------------- ##
1084 ## Output files. ##
1085 ## ------------- ##
1086 _ASBOX
1087 echo
1088 for ac_var in $ac_subst_files
1089 do
1090 eval ac_val=$`echo $ac_var`
1091 echo "$ac_var='"'"'$ac_val'"'"'"
1092 done | sort
1093 echo
1094 fi
1095
1054 if test -s confdefs.h; then 1096 if test -s confdefs.h; then
1055 cat <<\_ASBOX 1097 cat <<\_ASBOX
1056 ## ----------- ## 1098 ## ----------- ##
1057 ## confdefs.h. ## 1099 ## confdefs.h. ##
1058 ## ----------- ## 1100 ## ----------- ##
1059 _ASBOX 1101 _ASBOX
1060 echo 1102 echo
1061 sed "/^$/d" confdefs.h 1103 sed "/^$/d" confdefs.h | sort
1062 echo 1104 echo
1063 fi 1105 fi
1064 test "$ac_signal" != 0 && 1106 test "$ac_signal" != 0 &&
1065 echo "$as_me: caught signal $ac_signal" 1107 echo "$as_me: caught signal $ac_signal"
1066 echo "$as_me: exit $exit_status" 1108 echo "$as_me: exit $exit_status"
1213 1255
1214 1256
1215 1257
1216 1258
1217 1259
1218 ac_config_headers="$ac_config_headers src/config.h:src/config.in" 1260
1261 ac_config_headers="$ac_config_headers src/config.h:src/config.in"
1219 1262
1220 1263
1221 test "$program_prefix" != NONE && 1264 test "$program_prefix" != NONE &&
1222 program_transform_name="s,^,$program_prefix,;$program_transform_name" 1265 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1223 # Use a double $ so make ignores it. 1266 # Use a double $ so make ignores it.
2733 if test $# != 0; then 2776 if test $# != 0; then
2734 # We chose a different compiler from the bogus one. 2777 # We chose a different compiler from the bogus one.
2735 # However, it has the same basename, so the bogon will be chosen 2778 # However, it has the same basename, so the bogon will be chosen
2736 # first if we set CC to just the basename; use the full file name. 2779 # first if we set CC to just the basename; use the full file name.
2737 shift 2780 shift
2738 set dummy "$as_dir/$ac_word" ${1+"$@"} 2781 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2739 shift
2740 ac_cv_prog_CC="$@"
2741 fi 2782 fi
2742 fi 2783 fi
2743 fi 2784 fi
2744 fi 2785 fi
2745 CC=$ac_cv_prog_CC 2786 CC=$ac_cv_prog_CC
2868 2909
2869 cat >conftest.$ac_ext <<_ACEOF 2910 cat >conftest.$ac_ext <<_ACEOF
2870 #line $LINENO "configure" 2911 #line $LINENO "configure"
2871 #include "confdefs.h" 2912 #include "confdefs.h"
2872 2913
2873 #ifdef F77_DUMMY_MAIN
2874 # ifdef __cplusplus
2875 extern "C"
2876 # endif
2877 int F77_DUMMY_MAIN() { return 1; }
2878 #endif
2879 int 2914 int
2880 main () 2915 main ()
2881 { 2916 {
2882 2917
2883 ; 2918 ;
2902 # resort. 2937 # resort.
2903 2938
2904 # Be careful to initialize this variable, since it used to be cached. 2939 # Be careful to initialize this variable, since it used to be cached.
2905 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 2940 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2906 ac_cv_exeext= 2941 ac_cv_exeext=
2907 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null; 2942 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.*; do
2908 ls a.out conftest 2>/dev/null; 2943 test -f "$ac_file" || continue
2909 ls a.* conftest.* 2>/dev/null`; do
2910 case $ac_file in 2944 case $ac_file in
2911 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;; 2945 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2912 a.out ) # We found the default executable, but exeext='' is most 2946 a.out ) # We found the default executable, but exeext='' is most
2913 # certainly right. 2947 # certainly right.
2914 break;; 2948 break;;
2915 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2949 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2916 # FIXME: I believe we export ac_cv_exeext for Libtool --akim. 2950 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2920 esac 2954 esac
2921 done 2955 done
2922 else 2956 else
2923 echo "$as_me: failed program was:" >&5 2957 echo "$as_me: failed program was:" >&5
2924 cat conftest.$ac_ext >&5 2958 cat conftest.$ac_ext >&5
2925 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5 2959 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2926 echo "$as_me: error: C compiler cannot create executables" >&2;} 2960 check \`config.log' for details." >&5
2961 echo "$as_me: error: C compiler cannot create executables
2962 check \`config.log' for details." >&2;}
2927 { (exit 77); exit 77; }; } 2963 { (exit 77); exit 77; }; }
2928 fi 2964 fi
2929 2965
2930 ac_exeext=$ac_cv_exeext 2966 ac_exeext=$ac_cv_exeext
2931 echo "$as_me:$LINENO: result: $ac_file" >&5 2967 echo "$as_me:$LINENO: result: $ac_file" >&5
2978 (exit $ac_status); }; then 3014 (exit $ac_status); }; then
2979 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3015 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2980 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3016 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2981 # work properly (i.e., refer to `conftest.exe'), while it won't with 3017 # work properly (i.e., refer to `conftest.exe'), while it won't with
2982 # `rm'. 3018 # `rm'.
2983 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do 3019 for ac_file in conftest.exe conftest conftest.*; do
3020 test -f "$ac_file" || continue
2984 case $ac_file in 3021 case $ac_file in
2985 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 3022 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2986 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3023 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2987 export ac_cv_exeext 3024 export ac_cv_exeext
2988 break;; 3025 break;;
2989 * ) break;; 3026 * ) break;;
2990 esac 3027 esac
3009 else 3046 else
3010 cat >conftest.$ac_ext <<_ACEOF 3047 cat >conftest.$ac_ext <<_ACEOF
3011 #line $LINENO "configure" 3048 #line $LINENO "configure"
3012 #include "confdefs.h" 3049 #include "confdefs.h"
3013 3050
3014 #ifdef F77_DUMMY_MAIN
3015 # ifdef __cplusplus
3016 extern "C"
3017 # endif
3018 int F77_DUMMY_MAIN() { return 1; }
3019 #endif
3020 int 3051 int
3021 main () 3052 main ()
3022 { 3053 {
3023 3054
3024 ; 3055 ;
3031 ac_status=$? 3062 ac_status=$?
3032 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3033 (exit $ac_status); }; then 3064 (exit $ac_status); }; then
3034 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 3065 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3035 case $ac_file in 3066 case $ac_file in
3036 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; 3067 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3037 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3068 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3038 break;; 3069 break;;
3039 esac 3070 esac
3040 done 3071 done
3041 else 3072 else
3059 else 3090 else
3060 cat >conftest.$ac_ext <<_ACEOF 3091 cat >conftest.$ac_ext <<_ACEOF
3061 #line $LINENO "configure" 3092 #line $LINENO "configure"
3062 #include "confdefs.h" 3093 #include "confdefs.h"
3063 3094
3064 #ifdef F77_DUMMY_MAIN
3065 # ifdef __cplusplus
3066 extern "C"
3067 # endif
3068 int F77_DUMMY_MAIN() { return 1; }
3069 #endif
3070 int 3095 int
3071 main () 3096 main ()
3072 { 3097 {
3073 #ifndef __GNUC__ 3098 #ifndef __GNUC__
3074 choke me 3099 choke me
3113 else 3138 else
3114 cat >conftest.$ac_ext <<_ACEOF 3139 cat >conftest.$ac_ext <<_ACEOF
3115 #line $LINENO "configure" 3140 #line $LINENO "configure"
3116 #include "confdefs.h" 3141 #include "confdefs.h"
3117 3142
3118 #ifdef F77_DUMMY_MAIN
3119 # ifdef __cplusplus
3120 extern "C"
3121 # endif
3122 int F77_DUMMY_MAIN() { return 1; }
3123 #endif
3124 int 3143 int
3125 main () 3144 main ()
3126 { 3145 {
3127 3146
3128 ; 3147 ;
3164 CFLAGS="-O2" 3183 CFLAGS="-O2"
3165 else 3184 else
3166 CFLAGS= 3185 CFLAGS=
3167 fi 3186 fi
3168 fi 3187 fi
3188 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3189 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3190 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3191 echo $ECHO_N "(cached) $ECHO_C" >&6
3192 else
3193 ac_cv_prog_cc_stdc=no
3194 ac_save_CC=$CC
3195 cat >conftest.$ac_ext <<_ACEOF
3196 #line $LINENO "configure"
3197 #include "confdefs.h"
3198 #include <stdarg.h>
3199 #include <stdio.h>
3200 #include <sys/types.h>
3201 #include <sys/stat.h>
3202 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3203 struct buf { int x; };
3204 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3205 static char *e (p, i)
3206 char **p;
3207 int i;
3208 {
3209 return p[i];
3210 }
3211 static char *f (char * (*g) (char **, int), char **p, ...)
3212 {
3213 char *s;
3214 va_list v;
3215 va_start (v,p);
3216 s = g (p, va_arg (v,int));
3217 va_end (v);
3218 return s;
3219 }
3220 int test (int i, double x);
3221 struct s1 {int (*f) (int a);};
3222 struct s2 {int (*f) (double a);};
3223 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3224 int argc;
3225 char **argv;
3226 int
3227 main ()
3228 {
3229 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3230 ;
3231 return 0;
3232 }
3233 _ACEOF
3234 # Don't try gcc -ansi; that turns off useful extensions and
3235 # breaks some systems' header files.
3236 # AIX -qlanglvl=ansi
3237 # Ultrix and OSF/1 -std1
3238 # HP-UX 10.20 and later -Ae
3239 # HP-UX older versions -Aa -D_HPUX_SOURCE
3240 # SVR4 -Xc -D__EXTENSIONS__
3241 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3242 do
3243 CC="$ac_save_CC $ac_arg"
3244 rm -f conftest.$ac_objext
3245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3246 (eval $ac_compile) 2>&5
3247 ac_status=$?
3248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3249 (exit $ac_status); } &&
3250 { ac_try='test -s conftest.$ac_objext'
3251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3252 (eval $ac_try) 2>&5
3253 ac_status=$?
3254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3255 (exit $ac_status); }; }; then
3256 ac_cv_prog_cc_stdc=$ac_arg
3257 break
3258 else
3259 echo "$as_me: failed program was:" >&5
3260 cat conftest.$ac_ext >&5
3261 fi
3262 rm -f conftest.$ac_objext
3263 done
3264 rm -f conftest.$ac_ext conftest.$ac_objext
3265 CC=$ac_save_CC
3266
3267 fi
3268
3269 case "x$ac_cv_prog_cc_stdc" in
3270 x|xno)
3271 echo "$as_me:$LINENO: result: none needed" >&5
3272 echo "${ECHO_T}none needed" >&6 ;;
3273 *)
3274 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3275 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3276 CC="$CC $ac_cv_prog_cc_stdc" ;;
3277 esac
3278
3169 # Some people use a C++ compiler to compile C. Since we use `exit', 3279 # Some people use a C++ compiler to compile C. Since we use `exit',
3170 # in C++ we need to declare it. In case someone uses the same compiler 3280 # in C++ we need to declare it. In case someone uses the same compiler
3171 # for both compiling C and C++ we need to have the C++ compiler decide 3281 # for both compiling C and C++ we need to have the C++ compiler decide
3172 # the declaration of exit, since it's the most demanding environment. 3282 # the declaration of exit, since it's the most demanding environment.
3173 cat >conftest.$ac_ext <<_ACEOF 3283 cat >conftest.$ac_ext <<_ACEOF
3199 cat >conftest.$ac_ext <<_ACEOF 3309 cat >conftest.$ac_ext <<_ACEOF
3200 #line $LINENO "configure" 3310 #line $LINENO "configure"
3201 #include "confdefs.h" 3311 #include "confdefs.h"
3202 #include <stdlib.h> 3312 #include <stdlib.h>
3203 $ac_declaration 3313 $ac_declaration
3204 #ifdef F77_DUMMY_MAIN
3205 # ifdef __cplusplus
3206 extern "C"
3207 # endif
3208 int F77_DUMMY_MAIN() { return 1; }
3209 #endif
3210 int 3314 int
3211 main () 3315 main ()
3212 { 3316 {
3213 exit (42); 3317 exit (42);
3214 ; 3318 ;
3236 rm -f conftest.$ac_objext conftest.$ac_ext 3340 rm -f conftest.$ac_objext conftest.$ac_ext
3237 cat >conftest.$ac_ext <<_ACEOF 3341 cat >conftest.$ac_ext <<_ACEOF
3238 #line $LINENO "configure" 3342 #line $LINENO "configure"
3239 #include "confdefs.h" 3343 #include "confdefs.h"
3240 $ac_declaration 3344 $ac_declaration
3241 #ifdef F77_DUMMY_MAIN
3242 # ifdef __cplusplus
3243 extern "C"
3244 # endif
3245 int F77_DUMMY_MAIN() { return 1; }
3246 #endif
3247 int 3345 int
3248 main () 3346 main ()
3249 { 3347 {
3250 exit (42); 3348 exit (42);
3251 ; 3349 ;
3369 Syntax error 3467 Syntax error
3370 _ACEOF 3468 _ACEOF
3371 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3469 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3372 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3470 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3373 ac_status=$? 3471 ac_status=$?
3374 egrep -v '^ *\+' conftest.er1 >conftest.err 3472 grep -v '^ *+' conftest.er1 >conftest.err
3375 rm -f conftest.er1 3473 rm -f conftest.er1
3376 cat conftest.err >&5 3474 cat conftest.err >&5
3377 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3378 (exit $ac_status); } >/dev/null; then 3476 (exit $ac_status); } >/dev/null; then
3379 if test -s conftest.err; then 3477 if test -s conftest.err; then
3402 #include <ac_nonexistent.h> 3500 #include <ac_nonexistent.h>
3403 _ACEOF 3501 _ACEOF
3404 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3502 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3405 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3503 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3406 ac_status=$? 3504 ac_status=$?
3407 egrep -v '^ *\+' conftest.er1 >conftest.err 3505 grep -v '^ *+' conftest.er1 >conftest.err
3408 rm -f conftest.er1 3506 rm -f conftest.er1
3409 cat conftest.err >&5 3507 cat conftest.err >&5
3410 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411 (exit $ac_status); } >/dev/null; then 3509 (exit $ac_status); } >/dev/null; then
3412 if test -s conftest.err; then 3510 if test -s conftest.err; then
3460 Syntax error 3558 Syntax error
3461 _ACEOF 3559 _ACEOF
3462 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3560 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3463 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3561 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3464 ac_status=$? 3562 ac_status=$?
3465 egrep -v '^ *\+' conftest.er1 >conftest.err 3563 grep -v '^ *+' conftest.er1 >conftest.err
3466 rm -f conftest.er1 3564 rm -f conftest.er1
3467 cat conftest.err >&5 3565 cat conftest.err >&5
3468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469 (exit $ac_status); } >/dev/null; then 3567 (exit $ac_status); } >/dev/null; then
3470 if test -s conftest.err; then 3568 if test -s conftest.err; then
3493 #include <ac_nonexistent.h> 3591 #include <ac_nonexistent.h>
3494 _ACEOF 3592 _ACEOF
3495 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3593 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3496 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3594 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3497 ac_status=$? 3595 ac_status=$?
3498 egrep -v '^ *\+' conftest.er1 >conftest.err 3596 grep -v '^ *+' conftest.er1 >conftest.err
3499 rm -f conftest.er1 3597 rm -f conftest.er1
3500 cat conftest.err >&5 3598 cat conftest.err >&5
3501 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3502 (exit $ac_status); } >/dev/null; then 3600 (exit $ac_status); } >/dev/null; then
3503 if test -s conftest.err; then 3601 if test -s conftest.err; then
3708 ac_link="$ac_link $NON_GCC_LINK_TEST_OPTIONS" 3806 ac_link="$ac_link $NON_GCC_LINK_TEST_OPTIONS"
3709 fi 3807 fi
3710 3808
3711 3809
3712 3810
3811 echo "$as_me:$LINENO: checking for egrep" >&5
3812 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3813 if test "${ac_cv_prog_egrep+set}" = set; then
3814 echo $ECHO_N "(cached) $ECHO_C" >&6
3815 else
3816 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3817 then ac_cv_prog_egrep='grep -E'
3818 else ac_cv_prog_egrep='egrep'
3819 fi
3820 fi
3821 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3822 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3823 EGREP=$ac_cv_prog_egrep
3824
3825
3713 3826
3714 echo "$as_me:$LINENO: checking for AIX" >&5 3827 echo "$as_me:$LINENO: checking for AIX" >&5
3715 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 3828 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3716 cat >conftest.$ac_ext <<_ACEOF 3829 cat >conftest.$ac_ext <<_ACEOF
3717 #line $LINENO "configure" 3830 #line $LINENO "configure"
3720 yes 3833 yes
3721 #endif 3834 #endif
3722 3835
3723 _ACEOF 3836 _ACEOF
3724 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3725 egrep "yes" >/dev/null 2>&1; then 3838 $EGREP "yes" >/dev/null 2>&1; then
3726 echo "$as_me:$LINENO: result: yes" >&5 3839 echo "$as_me:$LINENO: result: yes" >&5
3727 echo "${ECHO_T}yes" >&6 3840 echo "${ECHO_T}yes" >&6
3728 cat >>confdefs.h <<\_ACEOF 3841 cat >>confdefs.h <<\_ACEOF
3729 #define _ALL_SOURCE 1 3842 #define _ALL_SOURCE 1
3730 _ACEOF 3843 _ACEOF
3880 CPPFLAGS="${OVERRIDE_CPPFLAGS}" 3993 CPPFLAGS="${OVERRIDE_CPPFLAGS}"
3881 else 3994 else
3882 CPPFLAGS="$c_switch_system $c_switch_machine $CPPFLAGS" 3995 CPPFLAGS="$c_switch_system $c_switch_machine $CPPFLAGS"
3883 fi 3996 fi
3884 3997
3998
3999
3885 # Check whether --enable-largefile or --disable-largefile was given. 4000 # Check whether --enable-largefile or --disable-largefile was given.
3886 if test "${enable_largefile+set}" = set; then 4001 if test "${enable_largefile+set}" = set; then
3887 enableval="$enable_largefile" 4002 enableval="$enable_largefile"
3888 4003
3889 fi; 4004 fi;
3910 incorrectly reject 9223372036854775807. */ 4025 incorrectly reject 9223372036854775807. */
3911 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 4026 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3912 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 4027 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3913 && LARGE_OFF_T % 2147483647 == 1) 4028 && LARGE_OFF_T % 2147483647 == 1)
3914 ? 1 : -1]; 4029 ? 1 : -1];
3915 #ifdef F77_DUMMY_MAIN
3916 # ifdef __cplusplus
3917 extern "C"
3918 # endif
3919 int F77_DUMMY_MAIN() { return 1; }
3920 #endif
3921 int 4030 int
3922 main () 4031 main ()
3923 { 4032 {
3924 4033
3925 ; 4034 ;
3992 incorrectly reject 9223372036854775807. */ 4101 incorrectly reject 9223372036854775807. */
3993 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 4102 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3994 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 4103 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3995 && LARGE_OFF_T % 2147483647 == 1) 4104 && LARGE_OFF_T % 2147483647 == 1)
3996 ? 1 : -1]; 4105 ? 1 : -1];
3997 #ifdef F77_DUMMY_MAIN
3998 # ifdef __cplusplus
3999 extern "C"
4000 # endif
4001 int F77_DUMMY_MAIN() { return 1; }
4002 #endif
4003 int 4106 int
4004 main () 4107 main ()
4005 { 4108 {
4006 4109
4007 ; 4110 ;
4037 incorrectly reject 9223372036854775807. */ 4140 incorrectly reject 9223372036854775807. */
4038 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 4141 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4039 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 4142 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4040 && LARGE_OFF_T % 2147483647 == 1) 4143 && LARGE_OFF_T % 2147483647 == 1)
4041 ? 1 : -1]; 4144 ? 1 : -1];
4042 #ifdef F77_DUMMY_MAIN
4043 # ifdef __cplusplus
4044 extern "C"
4045 # endif
4046 int F77_DUMMY_MAIN() { return 1; }
4047 #endif
4048 int 4145 int
4049 main () 4146 main ()
4050 { 4147 {
4051 4148
4052 ; 4149 ;
4101 incorrectly reject 9223372036854775807. */ 4198 incorrectly reject 9223372036854775807. */
4102 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 4199 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4103 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 4200 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4104 && LARGE_OFF_T % 2147483647 == 1) 4201 && LARGE_OFF_T % 2147483647 == 1)
4105 ? 1 : -1]; 4202 ? 1 : -1];
4106 #ifdef F77_DUMMY_MAIN
4107 # ifdef __cplusplus
4108 extern "C"
4109 # endif
4110 int F77_DUMMY_MAIN() { return 1; }
4111 #endif
4112 int 4203 int
4113 main () 4204 main ()
4114 { 4205 {
4115 4206
4116 ; 4207 ;
4146 incorrectly reject 9223372036854775807. */ 4237 incorrectly reject 9223372036854775807. */
4147 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 4238 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4148 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 4239 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4149 && LARGE_OFF_T % 2147483647 == 1) 4240 && LARGE_OFF_T % 2147483647 == 1)
4150 ? 1 : -1]; 4241 ? 1 : -1];
4151 #ifdef F77_DUMMY_MAIN
4152 # ifdef __cplusplus
4153 extern "C"
4154 # endif
4155 int F77_DUMMY_MAIN() { return 1; }
4156 #endif
4157 int 4242 int
4158 main () 4243 main ()
4159 { 4244 {
4160 4245
4161 ; 4246 ;
4213 4298
4214 _ACEOF 4299 _ACEOF
4215 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4300 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4216 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4301 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4217 ac_status=$? 4302 ac_status=$?
4218 egrep -v '^ *\+' conftest.er1 >conftest.err 4303 grep -v '^ *+' conftest.er1 >conftest.err
4219 rm -f conftest.er1 4304 rm -f conftest.er1
4220 cat conftest.err >&5 4305 cat conftest.err >&5
4221 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4222 (exit $ac_status); } >/dev/null; then 4307 (exit $ac_status); } >/dev/null; then
4223 if test -s conftest.err; then 4308 if test -s conftest.err; then
4244 #include "confdefs.h" 4329 #include "confdefs.h"
4245 #include <string.h> 4330 #include <string.h>
4246 4331
4247 _ACEOF 4332 _ACEOF
4248 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4333 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4249 egrep "memchr" >/dev/null 2>&1; then 4334 $EGREP "memchr" >/dev/null 2>&1; then
4250 : 4335 :
4251 else 4336 else
4252 ac_cv_header_stdc=no 4337 ac_cv_header_stdc=no
4253 fi 4338 fi
4254 rm -f conftest* 4339 rm -f conftest*
4262 #include "confdefs.h" 4347 #include "confdefs.h"
4263 #include <stdlib.h> 4348 #include <stdlib.h>
4264 4349
4265 _ACEOF 4350 _ACEOF
4266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4351 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4267 egrep "free" >/dev/null 2>&1; then 4352 $EGREP "free" >/dev/null 2>&1; then
4268 : 4353 :
4269 else 4354 else
4270 ac_cv_header_stdc=no 4355 ac_cv_header_stdc=no
4271 fi 4356 fi
4272 rm -f conftest* 4357 rm -f conftest*
4321 echo "$as_me: failed program was:" >&5 4406 echo "$as_me: failed program was:" >&5
4322 cat conftest.$ac_ext >&5 4407 cat conftest.$ac_ext >&5
4323 ( exit $ac_status ) 4408 ( exit $ac_status )
4324 ac_cv_header_stdc=no 4409 ac_cv_header_stdc=no
4325 fi 4410 fi
4326 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4411 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4327 fi 4412 fi
4328 fi 4413 fi
4329 fi 4414 fi
4330 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4415 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4331 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4416 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4450 #include <$ac_header> 4535 #include <$ac_header>
4451 _ACEOF 4536 _ACEOF
4452 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4537 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4453 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4538 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4454 ac_status=$? 4539 ac_status=$?
4455 egrep -v '^ *\+' conftest.er1 >conftest.err 4540 grep -v '^ *+' conftest.er1 >conftest.err
4456 rm -f conftest.er1 4541 rm -f conftest.er1
4457 cat conftest.err >&5 4542 cat conftest.err >&5
4458 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4459 (exit $ac_status); } >/dev/null; then 4544 (exit $ac_status); } >/dev/null; then
4460 if test -s conftest.err; then 4545 if test -s conftest.err; then
4528 extern "C" 4613 extern "C"
4529 #endif 4614 #endif
4530 /* We use char because int might match the return type of a gcc2 4615 /* We use char because int might match the return type of a gcc2
4531 builtin and then its argument prototype would still apply. */ 4616 builtin and then its argument prototype would still apply. */
4532 char _oss_ioctl (); 4617 char _oss_ioctl ();
4533 #ifdef F77_DUMMY_MAIN
4534 # ifdef __cplusplus
4535 extern "C"
4536 # endif
4537 int F77_DUMMY_MAIN() { return 1; }
4538 #endif
4539 int 4618 int
4540 main () 4619 main ()
4541 { 4620 {
4542 _oss_ioctl (); 4621 _oss_ioctl ();
4543 ; 4622 ;
4651 #include <$ac_header> 4730 #include <$ac_header>
4652 _ACEOF 4731 _ACEOF
4653 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4732 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4654 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4733 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4655 ac_status=$? 4734 ac_status=$?
4656 egrep -v '^ *\+' conftest.er1 >conftest.err 4735 grep -v '^ *+' conftest.er1 >conftest.err
4657 rm -f conftest.er1 4736 rm -f conftest.er1
4658 cat conftest.err >&5 4737 cat conftest.err >&5
4659 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660 (exit $ac_status); } >/dev/null; then 4739 (exit $ac_status); } >/dev/null; then
4661 if test -s conftest.err; then 4740 if test -s conftest.err; then
4727 4806
4728 _ACEOF 4807 _ACEOF
4729 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4808 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4730 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4809 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4731 ac_status=$? 4810 ac_status=$?
4732 egrep -v '^ *\+' conftest.er1 >conftest.err 4811 grep -v '^ *+' conftest.er1 >conftest.err
4733 rm -f conftest.er1 4812 rm -f conftest.er1
4734 cat conftest.err >&5 4813 cat conftest.err >&5
4735 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4736 (exit $ac_status); } >/dev/null; then 4815 (exit $ac_status); } >/dev/null; then
4737 if test -s conftest.err; then 4816 if test -s conftest.err; then
4758 #include "confdefs.h" 4837 #include "confdefs.h"
4759 #include <string.h> 4838 #include <string.h>
4760 4839
4761 _ACEOF 4840 _ACEOF
4762 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4841 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4763 egrep "memchr" >/dev/null 2>&1; then 4842 $EGREP "memchr" >/dev/null 2>&1; then
4764 : 4843 :
4765 else 4844 else
4766 ac_cv_header_stdc=no 4845 ac_cv_header_stdc=no
4767 fi 4846 fi
4768 rm -f conftest* 4847 rm -f conftest*
4776 #include "confdefs.h" 4855 #include "confdefs.h"
4777 #include <stdlib.h> 4856 #include <stdlib.h>
4778 4857
4779 _ACEOF 4858 _ACEOF
4780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4859 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4781 egrep "free" >/dev/null 2>&1; then 4860 $EGREP "free" >/dev/null 2>&1; then
4782 : 4861 :
4783 else 4862 else
4784 ac_cv_header_stdc=no 4863 ac_cv_header_stdc=no
4785 fi 4864 fi
4786 rm -f conftest* 4865 rm -f conftest*
4835 echo "$as_me: failed program was:" >&5 4914 echo "$as_me: failed program was:" >&5
4836 cat conftest.$ac_ext >&5 4915 cat conftest.$ac_ext >&5
4837 ( exit $ac_status ) 4916 ( exit $ac_status )
4838 ac_cv_header_stdc=no 4917 ac_cv_header_stdc=no
4839 fi 4918 fi
4840 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4919 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4841 fi 4920 fi
4842 fi 4921 fi
4843 fi 4922 fi
4844 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4923 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4845 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4924 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4861 #include "confdefs.h" 4940 #include "confdefs.h"
4862 #include <sys/types.h> 4941 #include <sys/types.h>
4863 #include <sys/time.h> 4942 #include <sys/time.h>
4864 #include <time.h> 4943 #include <time.h>
4865 4944
4866 #ifdef F77_DUMMY_MAIN
4867 # ifdef __cplusplus
4868 extern "C"
4869 # endif
4870 int F77_DUMMY_MAIN() { return 1; }
4871 #endif
4872 int 4945 int
4873 main () 4946 main ()
4874 { 4947 {
4875 if ((struct tm *) 0) 4948 if ((struct tm *) 0)
4876 return 0; 4949 return 0;
4921 /* NetBSD declares sys_siglist in unistd.h. */ 4994 /* NetBSD declares sys_siglist in unistd.h. */
4922 #if HAVE_UNISTD_H 4995 #if HAVE_UNISTD_H
4923 # include <unistd.h> 4996 # include <unistd.h>
4924 #endif 4997 #endif
4925 4998
4926 #ifdef F77_DUMMY_MAIN
4927 # ifdef __cplusplus
4928 extern "C"
4929 # endif
4930 int F77_DUMMY_MAIN() { return 1; }
4931 #endif
4932 int 4999 int
4933 main () 5000 main ()
4934 { 5001 {
4935 char *msg = *(sys_siglist + 1); 5002 char *msg = *(sys_siglist + 1);
4936 ; 5003 ;
4982 #endif 5049 #endif
4983 #ifndef WIFEXITED 5050 #ifndef WIFEXITED
4984 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) 5051 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4985 #endif 5052 #endif
4986 5053
4987 #ifdef F77_DUMMY_MAIN
4988 # ifdef __cplusplus
4989 extern "C"
4990 # endif
4991 int F77_DUMMY_MAIN() { return 1; }
4992 #endif
4993 int 5054 int
4994 main () 5055 main ()
4995 { 5056 {
4996 int s; 5057 int s;
4997 wait (&s); 5058 wait (&s);
5050 #endif 5111 #endif
5051 #endif 5112 #endif
5052 #ifdef HAVE_UTIME_H 5113 #ifdef HAVE_UTIME_H
5053 #include <utime.h> 5114 #include <utime.h>
5054 #endif 5115 #endif
5055 #ifdef F77_DUMMY_MAIN
5056 # ifdef __cplusplus
5057 extern "C"
5058 # endif
5059 int F77_DUMMY_MAIN() { return 1; }
5060 #endif
5061 int 5116 int
5062 main () 5117 main ()
5063 { 5118 {
5064 static struct utimbuf x; x.actime = x.modtime; 5119 static struct utimbuf x; x.actime = x.modtime;
5065 ; 5120 ;
5113 extern "C" void (*signal (int, void (*)(int)))(int); 5168 extern "C" void (*signal (int, void (*)(int)))(int);
5114 #else 5169 #else
5115 void (*signal ()) (); 5170 void (*signal ()) ();
5116 #endif 5171 #endif
5117 5172
5118 #ifdef F77_DUMMY_MAIN
5119 # ifdef __cplusplus
5120 extern "C"
5121 # endif
5122 int F77_DUMMY_MAIN() { return 1; }
5123 #endif
5124 int 5173 int
5125 main () 5174 main ()
5126 { 5175 {
5127 int i; 5176 int i;
5128 ; 5177 ;
5165 else 5214 else
5166 cat >conftest.$ac_ext <<_ACEOF 5215 cat >conftest.$ac_ext <<_ACEOF
5167 #line $LINENO "configure" 5216 #line $LINENO "configure"
5168 #include "confdefs.h" 5217 #include "confdefs.h"
5169 #include <termios.h> 5218 #include <termios.h>
5170 #ifdef F77_DUMMY_MAIN
5171 # ifdef __cplusplus
5172 extern "C"
5173 # endif
5174 int F77_DUMMY_MAIN() { return 1; }
5175 #endif
5176 int 5219 int
5177 main () 5220 main ()
5178 { 5221 {
5179 speed_t x = 1; 5222 speed_t x = 1;
5180 ; 5223 ;
5227 #include <sys/time.h> 5270 #include <sys/time.h>
5228 #else 5271 #else
5229 #include <time.h> 5272 #include <time.h>
5230 #endif 5273 #endif
5231 #endif 5274 #endif
5232 #ifdef F77_DUMMY_MAIN
5233 # ifdef __cplusplus
5234 extern "C"
5235 # endif
5236 int F77_DUMMY_MAIN() { return 1; }
5237 #endif
5238 int 5275 int
5239 main () 5276 main ()
5240 { 5277 {
5241 static struct timeval x; x.tv_sec = x.tv_usec; 5278 static struct timeval x; x.tv_sec = x.tv_usec;
5242 ; 5279 ;
5281 else 5318 else
5282 cat >conftest.$ac_ext <<_ACEOF 5319 cat >conftest.$ac_ext <<_ACEOF
5283 #line $LINENO "configure" 5320 #line $LINENO "configure"
5284 #include "confdefs.h" 5321 #include "confdefs.h"
5285 #include <math.h> 5322 #include <math.h>
5286 #ifdef F77_DUMMY_MAIN
5287 # ifdef __cplusplus
5288 extern "C"
5289 # endif
5290 int F77_DUMMY_MAIN() { return 1; }
5291 #endif
5292 int 5323 int
5293 main () 5324 main ()
5294 { 5325 {
5295 static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1; 5326 static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1;
5296 ; 5327 ;
5337 #line $LINENO "configure" 5368 #line $LINENO "configure"
5338 #include "confdefs.h" 5369 #include "confdefs.h"
5339 #include <sys/types.h> 5370 #include <sys/types.h>
5340 #include <time.h> 5371 #include <time.h>
5341 5372
5342 #ifdef F77_DUMMY_MAIN
5343 # ifdef __cplusplus
5344 extern "C"
5345 # endif
5346 int F77_DUMMY_MAIN() { return 1; }
5347 #endif
5348 int 5373 int
5349 main () 5374 main ()
5350 { 5375 {
5351 struct tm *tp; tp->tm_sec; 5376 struct tm *tp; tp->tm_sec;
5352 ; 5377 ;
5393 #include "confdefs.h" 5418 #include "confdefs.h"
5394 #include <sys/types.h> 5419 #include <sys/types.h>
5395 #include <$ac_cv_struct_tm> 5420 #include <$ac_cv_struct_tm>
5396 5421
5397 5422
5398 #ifdef F77_DUMMY_MAIN
5399 # ifdef __cplusplus
5400 extern "C"
5401 # endif
5402 int F77_DUMMY_MAIN() { return 1; }
5403 #endif
5404 int 5423 int
5405 main () 5424 main ()
5406 { 5425 {
5407 static struct tm ac_aggr; 5426 static struct tm ac_aggr;
5408 if (ac_aggr.tm_zone) 5427 if (ac_aggr.tm_zone)
5425 (exit $ac_status); }; }; then 5444 (exit $ac_status); }; }; then
5426 ac_cv_member_struct_tm_tm_zone=yes 5445 ac_cv_member_struct_tm_tm_zone=yes
5427 else 5446 else
5428 echo "$as_me: failed program was:" >&5 5447 echo "$as_me: failed program was:" >&5
5429 cat conftest.$ac_ext >&5 5448 cat conftest.$ac_ext >&5
5449 cat >conftest.$ac_ext <<_ACEOF
5450 #line $LINENO "configure"
5451 #include "confdefs.h"
5452 #include <sys/types.h>
5453 #include <$ac_cv_struct_tm>
5454
5455
5456 int
5457 main ()
5458 {
5459 static struct tm ac_aggr;
5460 if (sizeof ac_aggr.tm_zone)
5461 return 0;
5462 ;
5463 return 0;
5464 }
5465 _ACEOF
5466 rm -f conftest.$ac_objext
5467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5468 (eval $ac_compile) 2>&5
5469 ac_status=$?
5470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5471 (exit $ac_status); } &&
5472 { ac_try='test -s conftest.$ac_objext'
5473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5474 (eval $ac_try) 2>&5
5475 ac_status=$?
5476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5477 (exit $ac_status); }; }; then
5478 ac_cv_member_struct_tm_tm_zone=yes
5479 else
5480 echo "$as_me: failed program was:" >&5
5481 cat conftest.$ac_ext >&5
5430 ac_cv_member_struct_tm_tm_zone=no 5482 ac_cv_member_struct_tm_tm_zone=no
5483 fi
5484 rm -f conftest.$ac_objext conftest.$ac_ext
5431 fi 5485 fi
5432 rm -f conftest.$ac_objext conftest.$ac_ext 5486 rm -f conftest.$ac_objext conftest.$ac_ext
5433 fi 5487 fi
5434 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5 5488 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
5435 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6 5489 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
5460 #include <time.h> 5514 #include <time.h>
5461 #ifndef tzname /* For SGI. */ 5515 #ifndef tzname /* For SGI. */
5462 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ 5516 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
5463 #endif 5517 #endif
5464 5518
5465 #ifdef F77_DUMMY_MAIN
5466 # ifdef __cplusplus
5467 extern "C"
5468 # endif
5469 int F77_DUMMY_MAIN() { return 1; }
5470 #endif
5471 int 5519 int
5472 main () 5520 main ()
5473 { 5521 {
5474 atoi(*tzname); 5522 atoi(*tzname);
5475 ; 5523 ;
5515 cat >conftest.$ac_ext <<_ACEOF 5563 cat >conftest.$ac_ext <<_ACEOF
5516 #line $LINENO "configure" 5564 #line $LINENO "configure"
5517 #include "confdefs.h" 5565 #include "confdefs.h"
5518 #include <time.h> 5566 #include <time.h>
5519 5567
5520 #ifdef F77_DUMMY_MAIN
5521 # ifdef __cplusplus
5522 extern "C"
5523 # endif
5524 int F77_DUMMY_MAIN() { return 1; }
5525 #endif
5526 int 5568 int
5527 main () 5569 main ()
5528 { 5570 {
5529 static struct tm ac_aggr; 5571 static struct tm ac_aggr;
5530 if (ac_aggr.tm_gmtoff) 5572 if (ac_aggr.tm_gmtoff)
5547 (exit $ac_status); }; }; then 5589 (exit $ac_status); }; }; then
5548 ac_cv_member_struct_tm_tm_gmtoff=yes 5590 ac_cv_member_struct_tm_tm_gmtoff=yes
5549 else 5591 else
5550 echo "$as_me: failed program was:" >&5 5592 echo "$as_me: failed program was:" >&5
5551 cat conftest.$ac_ext >&5 5593 cat conftest.$ac_ext >&5
5552 ac_cv_member_struct_tm_tm_gmtoff=no
5553 fi
5554 rm -f conftest.$ac_objext conftest.$ac_ext
5555 fi
5556 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
5557 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6
5558 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
5559
5560 cat >>confdefs.h <<\_ACEOF
5561 #define HAVE_TM_GMTOFF 1
5562 _ACEOF
5563
5564 fi
5565
5566
5567
5568 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
5569 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
5570 if test "${ac_cv_prog_cc_stdc+set}" = set; then
5571 echo $ECHO_N "(cached) $ECHO_C" >&6
5572 else
5573 ac_cv_prog_cc_stdc=no
5574 ac_save_CC=$CC
5575 cat >conftest.$ac_ext <<_ACEOF 5594 cat >conftest.$ac_ext <<_ACEOF
5576 #line $LINENO "configure" 5595 #line $LINENO "configure"
5577 #include "confdefs.h" 5596 #include "confdefs.h"
5578 #include <stdarg.h> 5597 #include <time.h>
5579 #include <stdio.h> 5598
5580 #include <sys/types.h>
5581 #include <sys/stat.h>
5582 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5583 struct buf { int x; };
5584 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5585 static char *e (p, i)
5586 char **p;
5587 int i;
5588 {
5589 return p[i];
5590 }
5591 static char *f (char * (*g) (char **, int), char **p, ...)
5592 {
5593 char *s;
5594 va_list v;
5595 va_start (v,p);
5596 s = g (p, va_arg (v,int));
5597 va_end (v);
5598 return s;
5599 }
5600 int test (int i, double x);
5601 struct s1 {int (*f) (int a);};
5602 struct s2 {int (*f) (double a);};
5603 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5604 int argc;
5605 char **argv;
5606 #ifdef F77_DUMMY_MAIN
5607 # ifdef __cplusplus
5608 extern "C"
5609 # endif
5610 int F77_DUMMY_MAIN() { return 1; }
5611 #endif
5612 int 5599 int
5613 main () 5600 main ()
5614 { 5601 {
5615 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 5602 static struct tm ac_aggr;
5603 if (sizeof ac_aggr.tm_gmtoff)
5604 return 0;
5616 ; 5605 ;
5617 return 0; 5606 return 0;
5618 } 5607 }
5619 _ACEOF 5608 _ACEOF
5620 # Don't try gcc -ansi; that turns off useful extensions and 5609 rm -f conftest.$ac_objext
5621 # breaks some systems' header files.
5622 # AIX -qlanglvl=ansi
5623 # Ultrix and OSF/1 -std1
5624 # HP-UX 10.20 and later -Ae
5625 # HP-UX older versions -Aa -D_HPUX_SOURCE
5626 # SVR4 -Xc -D__EXTENSIONS__
5627 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5628 do
5629 CC="$ac_save_CC $ac_arg"
5630 rm -f conftest.$ac_objext
5631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5632 (eval $ac_compile) 2>&5 5611 (eval $ac_compile) 2>&5
5633 ac_status=$? 5612 ac_status=$?
5634 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5635 (exit $ac_status); } && 5614 (exit $ac_status); } &&
5637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5638 (eval $ac_try) 2>&5 5617 (eval $ac_try) 2>&5
5639 ac_status=$? 5618 ac_status=$?
5640 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5641 (exit $ac_status); }; }; then 5620 (exit $ac_status); }; }; then
5642 ac_cv_prog_cc_stdc=$ac_arg 5621 ac_cv_member_struct_tm_tm_gmtoff=yes
5643 break
5644 else 5622 else
5645 echo "$as_me: failed program was:" >&5 5623 echo "$as_me: failed program was:" >&5
5646 cat conftest.$ac_ext >&5 5624 cat conftest.$ac_ext >&5
5647 fi 5625 ac_cv_member_struct_tm_tm_gmtoff=no
5648 rm -f conftest.$ac_objext 5626 fi
5649 done 5627 rm -f conftest.$ac_objext conftest.$ac_ext
5650 rm -f conftest.$ac_ext conftest.$ac_objext 5628 fi
5651 CC=$ac_save_CC 5629 rm -f conftest.$ac_objext conftest.$ac_ext
5652 5630 fi
5653 fi 5631 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
5654 5632 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6
5655 case "x$ac_cv_prog_cc_stdc" in 5633 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
5656 x|xno) 5634
5657 echo "$as_me:$LINENO: result: none needed" >&5 5635 cat >>confdefs.h <<\_ACEOF
5658 echo "${ECHO_T}none needed" >&6 ;; 5636 #define HAVE_TM_GMTOFF 1
5659 *) 5637 _ACEOF
5660 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 5638
5661 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 5639 fi
5662 CC="$CC $ac_cv_prog_cc_stdc" ;; 5640
5663 esac 5641
5664 5642
5665 echo "$as_me:$LINENO: checking for function prototypes" >&5 5643 echo "$as_me:$LINENO: checking for function prototypes" >&5
5666 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 5644 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
5667 if test "$ac_cv_prog_cc_stdc" != no; then 5645 if test "$ac_cv_prog_cc_stdc" != no; then
5668 echo "$as_me:$LINENO: result: yes" >&5 5646 echo "$as_me:$LINENO: result: yes" >&5
5689 else 5667 else
5690 cat >conftest.$ac_ext <<_ACEOF 5668 cat >conftest.$ac_ext <<_ACEOF
5691 #line $LINENO "configure" 5669 #line $LINENO "configure"
5692 #include "confdefs.h" 5670 #include "confdefs.h"
5693 5671
5694 #ifdef F77_DUMMY_MAIN
5695 # ifdef __cplusplus
5696 extern "C"
5697 # endif
5698 int F77_DUMMY_MAIN() { return 1; }
5699 #endif
5700 int 5672 int
5701 main () 5673 main ()
5702 { 5674 {
5703 5675
5704 volatile int x; 5676 volatile int x;
5744 else 5716 else
5745 cat >conftest.$ac_ext <<_ACEOF 5717 cat >conftest.$ac_ext <<_ACEOF
5746 #line $LINENO "configure" 5718 #line $LINENO "configure"
5747 #include "confdefs.h" 5719 #include "confdefs.h"
5748 5720
5749 #ifdef F77_DUMMY_MAIN
5750 # ifdef __cplusplus
5751 extern "C"
5752 # endif
5753 int F77_DUMMY_MAIN() { return 1; }
5754 #endif
5755 int 5721 int
5756 main () 5722 main ()
5757 { 5723 {
5758 /* FIXME: Include the comments suggested by Paul. */ 5724 /* FIXME: Include the comments suggested by Paul. */
5759 #ifndef __cplusplus 5725 #ifndef __cplusplus
5843 else 5809 else
5844 cat >conftest.$ac_ext <<_ACEOF 5810 cat >conftest.$ac_ext <<_ACEOF
5845 #line $LINENO "configure" 5811 #line $LINENO "configure"
5846 #include "confdefs.h" 5812 #include "confdefs.h"
5847 5813
5848 #ifdef F77_DUMMY_MAIN
5849 # ifdef __cplusplus
5850 extern "C"
5851 # endif
5852 int F77_DUMMY_MAIN() { return 1; }
5853 #endif
5854 int 5814 int
5855 main () 5815 main ()
5856 { 5816 {
5857 void * foo; 5817 void * foo;
5858 ; 5818 ;
6079 #include <X11/Intrinsic.h> 6039 #include <X11/Intrinsic.h>
6080 _ACEOF 6040 _ACEOF
6081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6041 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6082 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6042 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6083 ac_status=$? 6043 ac_status=$?
6084 egrep -v '^ *\+' conftest.er1 >conftest.err 6044 grep -v '^ *+' conftest.er1 >conftest.err
6085 rm -f conftest.er1 6045 rm -f conftest.er1
6086 cat conftest.err >&5 6046 cat conftest.err >&5
6087 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6088 (exit $ac_status); } >/dev/null; then 6048 (exit $ac_status); } >/dev/null; then
6089 if test -s conftest.err; then 6049 if test -s conftest.err; then
6118 LIBS="-lXt $LIBS" 6078 LIBS="-lXt $LIBS"
6119 cat >conftest.$ac_ext <<_ACEOF 6079 cat >conftest.$ac_ext <<_ACEOF
6120 #line $LINENO "configure" 6080 #line $LINENO "configure"
6121 #include "confdefs.h" 6081 #include "confdefs.h"
6122 #include <X11/Intrinsic.h> 6082 #include <X11/Intrinsic.h>
6123 #ifdef F77_DUMMY_MAIN
6124 # ifdef __cplusplus
6125 extern "C"
6126 # endif
6127 int F77_DUMMY_MAIN() { return 1; }
6128 #endif
6129 int 6083 int
6130 main () 6084 main ()
6131 { 6085 {
6132 XtMalloc (0) 6086 XtMalloc (0)
6133 ; 6087 ;
6308 /* We use char because int might match the return type of a gcc2 6262 /* We use char because int might match the return type of a gcc2
6309 builtin and then its argument prototype would still apply. */ 6263 builtin and then its argument prototype would still apply. */
6310 char malloc_get_state (); 6264 char malloc_get_state ();
6311 char (*f) (); 6265 char (*f) ();
6312 6266
6313 #ifdef F77_DUMMY_MAIN
6314 # ifdef __cplusplus
6315 extern "C"
6316 # endif
6317 int F77_DUMMY_MAIN() { return 1; }
6318 #endif
6319 int 6267 int
6320 main () 6268 main ()
6321 { 6269 {
6322 /* The GNU C library defines this for functions which it implements 6270 /* The GNU C library defines this for functions which it implements
6323 to always fail with ENOSYS. Some functions are actually named 6271 to always fail with ENOSYS. Some functions are actually named
6378 /* We use char because int might match the return type of a gcc2 6326 /* We use char because int might match the return type of a gcc2
6379 builtin and then its argument prototype would still apply. */ 6327 builtin and then its argument prototype would still apply. */
6380 char malloc_set_state (); 6328 char malloc_set_state ();
6381 char (*f) (); 6329 char (*f) ();
6382 6330
6383 #ifdef F77_DUMMY_MAIN
6384 # ifdef __cplusplus
6385 extern "C"
6386 # endif
6387 int F77_DUMMY_MAIN() { return 1; }
6388 #endif
6389 int 6331 int
6390 main () 6332 main ()
6391 { 6333 {
6392 /* The GNU C library defines this for functions which it implements 6334 /* The GNU C library defines this for functions which it implements
6393 to always fail with ENOSYS. Some functions are actually named 6335 to always fail with ENOSYS. Some functions are actually named
6437 else 6379 else
6438 cat >conftest.$ac_ext <<_ACEOF 6380 cat >conftest.$ac_ext <<_ACEOF
6439 #line $LINENO "configure" 6381 #line $LINENO "configure"
6440 #include "confdefs.h" 6382 #include "confdefs.h"
6441 extern void (* __after_morecore_hook)(); 6383 extern void (* __after_morecore_hook)();
6442 #ifdef F77_DUMMY_MAIN
6443 # ifdef __cplusplus
6444 extern "C"
6445 # endif
6446 int F77_DUMMY_MAIN() { return 1; }
6447 #endif
6448 int 6384 int
6449 main () 6385 main ()
6450 { 6386 {
6451 __after_morecore_hook = 0 6387 __after_morecore_hook = 0
6452 ; 6388 ;
6554 #include <$ac_header> 6490 #include <$ac_header>
6555 _ACEOF 6491 _ACEOF
6556 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6492 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6557 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6493 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6558 ac_status=$? 6494 ac_status=$?
6559 egrep -v '^ *\+' conftest.er1 >conftest.err 6495 grep -v '^ *+' conftest.er1 >conftest.err
6560 rm -f conftest.er1 6496 rm -f conftest.er1
6561 cat conftest.err >&5 6497 cat conftest.err >&5
6562 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6563 (exit $ac_status); } >/dev/null; then 6499 (exit $ac_status); } >/dev/null; then
6564 if test -s conftest.err; then 6500 if test -s conftest.err; then
6637 /* We use char because int might match the return type of a gcc2 6573 /* We use char because int might match the return type of a gcc2
6638 builtin and then its argument prototype would still apply. */ 6574 builtin and then its argument prototype would still apply. */
6639 char $ac_func (); 6575 char $ac_func ();
6640 char (*f) (); 6576 char (*f) ();
6641 6577
6642 #ifdef F77_DUMMY_MAIN
6643 # ifdef __cplusplus
6644 extern "C"
6645 # endif
6646 int F77_DUMMY_MAIN() { return 1; }
6647 #endif
6648 int 6578 int
6649 main () 6579 main ()
6650 { 6580 {
6651 /* The GNU C library defines this for functions which it implements 6581 /* The GNU C library defines this for functions which it implements
6652 to always fail with ENOSYS. Some functions are actually named 6582 to always fail with ENOSYS. Some functions are actually named
6846 echo "$as_me: failed program was:" >&5 6776 echo "$as_me: failed program was:" >&5
6847 cat conftest.$ac_ext >&5 6777 cat conftest.$ac_ext >&5
6848 ( exit $ac_status ) 6778 ( exit $ac_status )
6849 ac_cv_func_mmap_fixed_mapped=no 6779 ac_cv_func_mmap_fixed_mapped=no
6850 fi 6780 fi
6851 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6781 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6852 fi 6782 fi
6853 fi 6783 fi
6854 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 6784 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
6855 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 6785 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
6856 if test $ac_cv_func_mmap_fixed_mapped = yes; then 6786 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6885 extern "C" 6815 extern "C"
6886 #endif 6816 #endif
6887 /* We use char because int might match the return type of a gcc2 6817 /* We use char because int might match the return type of a gcc2
6888 builtin and then its argument prototype would still apply. */ 6818 builtin and then its argument prototype would still apply. */
6889 char dnet_ntoa (); 6819 char dnet_ntoa ();
6890 #ifdef F77_DUMMY_MAIN
6891 # ifdef __cplusplus
6892 extern "C"
6893 # endif
6894 int F77_DUMMY_MAIN() { return 1; }
6895 #endif
6896 int 6820 int
6897 main () 6821 main ()
6898 { 6822 {
6899 dnet_ntoa (); 6823 dnet_ntoa ();
6900 ; 6824 ;
6944 cat >conftest.$ac_ext <<_ACEOF 6868 cat >conftest.$ac_ext <<_ACEOF
6945 #line $LINENO "configure" 6869 #line $LINENO "configure"
6946 #include "confdefs.h" 6870 #include "confdefs.h"
6947 6871
6948 6872
6949 #ifdef F77_DUMMY_MAIN
6950 # ifdef __cplusplus
6951 extern "C"
6952 # endif
6953 int F77_DUMMY_MAIN() { return 1; }
6954 #endif
6955 int 6873 int
6956 main () 6874 main ()
6957 { 6875 {
6958 main (); 6876 main ();
6959 ; 6877 ;
7005 extern "C" 6923 extern "C"
7006 #endif 6924 #endif
7007 /* We use char because int might match the return type of a gcc2 6925 /* We use char because int might match the return type of a gcc2
7008 builtin and then its argument prototype would still apply. */ 6926 builtin and then its argument prototype would still apply. */
7009 char cma_open (); 6927 char cma_open ();
7010 #ifdef F77_DUMMY_MAIN
7011 # ifdef __cplusplus
7012 extern "C"
7013 # endif
7014 int F77_DUMMY_MAIN() { return 1; }
7015 #endif
7016 int 6928 int
7017 main () 6929 main ()
7018 { 6930 {
7019 cma_open (); 6931 cma_open ();
7020 ; 6932 ;
7092 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6 7004 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6
7093 cat >conftest.$ac_ext <<_ACEOF 7005 cat >conftest.$ac_ext <<_ACEOF
7094 #line $LINENO "configure" 7006 #line $LINENO "configure"
7095 #include "confdefs.h" 7007 #include "confdefs.h"
7096 7008
7097 #ifdef F77_DUMMY_MAIN
7098 # ifdef __cplusplus
7099 extern "C"
7100 # endif
7101 int F77_DUMMY_MAIN() { return 1; }
7102 #endif
7103 int 7009 int
7104 main () 7010 main ()
7105 { 7011 {
7106 XOpenDisplay ("foo"); 7012 XOpenDisplay ("foo");
7107 ; 7013 ;
7138 LIBS="$LIBS -b i486-linuxaout" 7044 LIBS="$LIBS -b i486-linuxaout"
7139 cat >conftest.$ac_ext <<_ACEOF 7045 cat >conftest.$ac_ext <<_ACEOF
7140 #line $LINENO "configure" 7046 #line $LINENO "configure"
7141 #include "confdefs.h" 7047 #include "confdefs.h"
7142 7048
7143 #ifdef F77_DUMMY_MAIN
7144 # ifdef __cplusplus
7145 extern "C"
7146 # endif
7147 int F77_DUMMY_MAIN() { return 1; }
7148 #endif
7149 int 7049 int
7150 main () 7050 main ()
7151 { 7051 {
7152 XOpenDisplay ("foo"); 7052 XOpenDisplay ("foo");
7153 ; 7053 ;
7199 cat >conftest.$ac_ext <<_ACEOF 7099 cat >conftest.$ac_ext <<_ACEOF
7200 #line $LINENO "configure" 7100 #line $LINENO "configure"
7201 #include "confdefs.h" 7101 #include "confdefs.h"
7202 #include <X11/Xlib.h> 7102 #include <X11/Xlib.h>
7203 #include <X11/XKBlib.h> 7103 #include <X11/XKBlib.h>
7204 #ifdef F77_DUMMY_MAIN
7205 # ifdef __cplusplus
7206 extern "C"
7207 # endif
7208 int F77_DUMMY_MAIN() { return 1; }
7209 #endif
7210 int 7104 int
7211 main () 7105 main ()
7212 { 7106 {
7213 XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd); 7107 XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd);
7214 ; 7108 ;
7270 /* We use char because int might match the return type of a gcc2 7164 /* We use char because int might match the return type of a gcc2
7271 builtin and then its argument prototype would still apply. */ 7165 builtin and then its argument prototype would still apply. */
7272 char $ac_func (); 7166 char $ac_func ();
7273 char (*f) (); 7167 char (*f) ();
7274 7168
7275 #ifdef F77_DUMMY_MAIN
7276 # ifdef __cplusplus
7277 extern "C"
7278 # endif
7279 int F77_DUMMY_MAIN() { return 1; }
7280 #endif
7281 int 7169 int
7282 main () 7170 main ()
7283 { 7171 {
7284 /* The GNU C library defines this for functions which it implements 7172 /* The GNU C library defines this for functions which it implements
7285 to always fail with ENOSYS. Some functions are actually named 7173 to always fail with ENOSYS. Some functions are actually named
7334 else 7222 else
7335 cat >conftest.$ac_ext <<_ACEOF 7223 cat >conftest.$ac_ext <<_ACEOF
7336 #line $LINENO "configure" 7224 #line $LINENO "configure"
7337 #include "confdefs.h" 7225 #include "confdefs.h"
7338 #include <X11/Xlib.h> 7226 #include <X11/Xlib.h>
7339 #ifdef F77_DUMMY_MAIN
7340 # ifdef __cplusplus
7341 extern "C"
7342 # endif
7343 int F77_DUMMY_MAIN() { return 1; }
7344 #endif
7345 int 7227 int
7346 main () 7228 main ()
7347 { 7229 {
7348 #if XlibSpecificationRelease < 6 7230 #if XlibSpecificationRelease < 6
7349 fail; 7231 fail;
7396 else 7278 else
7397 cat >conftest.$ac_ext <<_ACEOF 7279 cat >conftest.$ac_ext <<_ACEOF
7398 #line $LINENO "configure" 7280 #line $LINENO "configure"
7399 #include "confdefs.h" 7281 #include "confdefs.h"
7400 #include <X11/Xlib.h> 7282 #include <X11/Xlib.h>
7401 #ifdef F77_DUMMY_MAIN
7402 # ifdef __cplusplus
7403 extern "C"
7404 # endif
7405 int F77_DUMMY_MAIN() { return 1; }
7406 #endif
7407 int 7283 int
7408 main () 7284 main ()
7409 { 7285 {
7410 #if XlibSpecificationRelease < 5 7286 #if XlibSpecificationRelease < 5
7411 fail; 7287 fail;
7463 #line $LINENO "configure" 7339 #line $LINENO "configure"
7464 #include "confdefs.h" 7340 #include "confdefs.h"
7465 7341
7466 #include <X11/Intrinsic.h> 7342 #include <X11/Intrinsic.h>
7467 #include <X11/Xaw/Simple.h> 7343 #include <X11/Xaw/Simple.h>
7468 #ifdef F77_DUMMY_MAIN
7469 # ifdef __cplusplus
7470 extern "C"
7471 # endif
7472 int F77_DUMMY_MAIN() { return 1; }
7473 #endif
7474 int 7344 int
7475 main () 7345 main ()
7476 { 7346 {
7477 7347
7478 ; 7348 ;
7524 else 7394 else
7525 cat >conftest.$ac_ext <<_ACEOF 7395 cat >conftest.$ac_ext <<_ACEOF
7526 #line $LINENO "configure" 7396 #line $LINENO "configure"
7527 #include "confdefs.h" 7397 #include "confdefs.h"
7528 #include <X11/Intrinsic.h> 7398 #include <X11/Intrinsic.h>
7529 #ifdef F77_DUMMY_MAIN
7530 # ifdef __cplusplus
7531 extern "C"
7532 # endif
7533 int F77_DUMMY_MAIN() { return 1; }
7534 #endif
7535 int 7399 int
7536 main () 7400 main ()
7537 { 7401 {
7538 #if XtSpecificationRelease < 6 7402 #if XtSpecificationRelease < 6
7539 fail; 7403 fail;
7601 extern "C" 7465 extern "C"
7602 #endif 7466 #endif
7603 /* We use char because int might match the return type of a gcc2 7467 /* We use char because int might match the return type of a gcc2
7604 builtin and then its argument prototype would still apply. */ 7468 builtin and then its argument prototype would still apply. */
7605 char XmuConvertStandardSelection (); 7469 char XmuConvertStandardSelection ();
7606 #ifdef F77_DUMMY_MAIN
7607 # ifdef __cplusplus
7608 extern "C"
7609 # endif
7610 int F77_DUMMY_MAIN() { return 1; }
7611 #endif
7612 int 7470 int
7613 main () 7471 main ()
7614 { 7472 {
7615 XmuConvertStandardSelection (); 7473 XmuConvertStandardSelection ();
7616 ; 7474 ;
7672 extern "C" 7530 extern "C"
7673 #endif 7531 #endif
7674 /* We use char because int might match the return type of a gcc2 7532 /* We use char because int might match the return type of a gcc2
7675 builtin and then its argument prototype would still apply. */ 7533 builtin and then its argument prototype would still apply. */
7676 char XShapeQueryExtension (); 7534 char XShapeQueryExtension ();
7677 #ifdef F77_DUMMY_MAIN
7678 # ifdef __cplusplus
7679 extern "C"
7680 # endif
7681 int F77_DUMMY_MAIN() { return 1; }
7682 #endif
7683 int 7535 int
7684 main () 7536 main ()
7685 { 7537 {
7686 XShapeQueryExtension (); 7538 XShapeQueryExtension ();
7687 ; 7539 ;
7738 CFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS" 7590 CFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS"
7739 cat >conftest.$ac_ext <<_ACEOF 7591 cat >conftest.$ac_ext <<_ACEOF
7740 #line $LINENO "configure" 7592 #line $LINENO "configure"
7741 #include "confdefs.h" 7593 #include "confdefs.h"
7742 #include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h> 7594 #include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h>
7743 #ifdef F77_DUMMY_MAIN
7744 # ifdef __cplusplus
7745 extern "C"
7746 # endif
7747 int F77_DUMMY_MAIN() { return 1; }
7748 #endif
7749 int 7595 int
7750 main () 7596 main ()
7751 { 7597 {
7752 int x = 5; 7598 int x = 5;
7753 ; 7599 ;
7795 else 7641 else
7796 cat >conftest.$ac_ext <<_ACEOF 7642 cat >conftest.$ac_ext <<_ACEOF
7797 #line $LINENO "configure" 7643 #line $LINENO "configure"
7798 #include "confdefs.h" 7644 #include "confdefs.h"
7799 #include <Xm/Xm.h> 7645 #include <Xm/Xm.h>
7800 #ifdef F77_DUMMY_MAIN
7801 # ifdef __cplusplus
7802 extern "C"
7803 # endif
7804 int F77_DUMMY_MAIN() { return 1; }
7805 #endif
7806 int 7646 int
7807 main () 7647 main ()
7808 { 7648 {
7809 #if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1) 7649 #if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1)
7810 int x = 5; 7650 int x = 5;
7861 extern "C" 7701 extern "C"
7862 #endif 7702 #endif
7863 /* We use char because int might match the return type of a gcc2 7703 /* We use char because int might match the return type of a gcc2
7864 builtin and then its argument prototype would still apply. */ 7704 builtin and then its argument prototype would still apply. */
7865 char XpCreateContext (); 7705 char XpCreateContext ();
7866 #ifdef F77_DUMMY_MAIN
7867 # ifdef __cplusplus
7868 extern "C"
7869 # endif
7870 int F77_DUMMY_MAIN() { return 1; }
7871 #endif
7872 int 7706 int
7873 main () 7707 main ()
7874 { 7708 {
7875 XpCreateContext (); 7709 XpCreateContext ();
7876 ; 7710 ;
7967 #include <X11/Xaw3d/Scrollbar.h> 7801 #include <X11/Xaw3d/Scrollbar.h>
7968 _ACEOF 7802 _ACEOF
7969 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7803 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7970 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7804 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7971 ac_status=$? 7805 ac_status=$?
7972 egrep -v '^ *\+' conftest.er1 >conftest.err 7806 grep -v '^ *+' conftest.er1 >conftest.err
7973 rm -f conftest.er1 7807 rm -f conftest.er1
7974 cat conftest.err >&5 7808 cat conftest.err >&5
7975 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7976 (exit $ac_status); } >/dev/null; then 7810 (exit $ac_status); } >/dev/null; then
7977 if test -s conftest.err; then 7811 if test -s conftest.err; then
8036 extern "C" 7870 extern "C"
8037 #endif 7871 #endif
8038 /* We use char because int might match the return type of a gcc2 7872 /* We use char because int might match the return type of a gcc2
8039 builtin and then its argument prototype would still apply. */ 7873 builtin and then its argument prototype would still apply. */
8040 char XawScrollbarSetThumb (); 7874 char XawScrollbarSetThumb ();
8041 #ifdef F77_DUMMY_MAIN
8042 # ifdef __cplusplus
8043 extern "C"
8044 # endif
8045 int F77_DUMMY_MAIN() { return 1; }
8046 #endif
8047 int 7875 int
8048 main () 7876 main ()
8049 { 7877 {
8050 XawScrollbarSetThumb (); 7878 XawScrollbarSetThumb ();
8051 ; 7879 ;
8176 #include <X11/xpm.h> 8004 #include <X11/xpm.h>
8177 _ACEOF 8005 _ACEOF
8178 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 8006 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8179 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8007 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8180 ac_status=$? 8008 ac_status=$?
8181 egrep -v '^ *\+' conftest.er1 >conftest.err 8009 grep -v '^ *+' conftest.er1 >conftest.err
8182 rm -f conftest.er1 8010 rm -f conftest.er1
8183 cat conftest.err >&5 8011 cat conftest.err >&5
8184 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8185 (exit $ac_status); } >/dev/null; then 8013 (exit $ac_status); } >/dev/null; then
8186 if test -s conftest.err; then 8014 if test -s conftest.err; then
8245 extern "C" 8073 extern "C"
8246 #endif 8074 #endif
8247 /* We use char because int might match the return type of a gcc2 8075 /* We use char because int might match the return type of a gcc2
8248 builtin and then its argument prototype would still apply. */ 8076 builtin and then its argument prototype would still apply. */
8249 char XpmReadFileToPixmap (); 8077 char XpmReadFileToPixmap ();
8250 #ifdef F77_DUMMY_MAIN
8251 # ifdef __cplusplus
8252 extern "C"
8253 # endif
8254 int F77_DUMMY_MAIN() { return 1; }
8255 #endif
8256 int 8078 int
8257 main () 8079 main ()
8258 { 8080 {
8259 XpmReadFileToPixmap (); 8081 XpmReadFileToPixmap ();
8260 ; 8082 ;
8302 no_return_alloc_pixels 8124 no_return_alloc_pixels
8303 #endif 8125 #endif
8304 8126
8305 _ACEOF 8127 _ACEOF
8306 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8128 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8307 egrep "no_return_alloc_pixels" >/dev/null 2>&1; then 8129 $EGREP "no_return_alloc_pixels" >/dev/null 2>&1; then
8308 HAVE_XPM=no 8130 HAVE_XPM=no
8309 else 8131 else
8310 HAVE_XPM=yes 8132 HAVE_XPM=yes
8311 fi 8133 fi
8312 rm -f conftest* 8134 rm -f conftest*
8384 #include <jerror.h> 8206 #include <jerror.h>
8385 _ACEOF 8207 _ACEOF
8386 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 8208 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8387 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8209 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8388 ac_status=$? 8210 ac_status=$?
8389 egrep -v '^ *\+' conftest.er1 >conftest.err 8211 grep -v '^ *+' conftest.er1 >conftest.err
8390 rm -f conftest.er1 8212 rm -f conftest.er1
8391 cat conftest.err >&5 8213 cat conftest.err >&5
8392 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8393 (exit $ac_status); } >/dev/null; then 8215 (exit $ac_status); } >/dev/null; then
8394 if test -s conftest.err; then 8216 if test -s conftest.err; then
8453 extern "C" 8275 extern "C"
8454 #endif 8276 #endif
8455 /* We use char because int might match the return type of a gcc2 8277 /* We use char because int might match the return type of a gcc2
8456 builtin and then its argument prototype would still apply. */ 8278 builtin and then its argument prototype would still apply. */
8457 char jpeg_destroy_compress (); 8279 char jpeg_destroy_compress ();
8458 #ifdef F77_DUMMY_MAIN
8459 # ifdef __cplusplus
8460 extern "C"
8461 # endif
8462 int F77_DUMMY_MAIN() { return 1; }
8463 #endif
8464 int 8280 int
8465 main () 8281 main ()
8466 { 8282 {
8467 jpeg_destroy_compress (); 8283 jpeg_destroy_compress ();
8468 ; 8284 ;
8513 #include <jpeglib.h> 8329 #include <jpeglib.h>
8514 version=JPEG_LIB_VERSION 8330 version=JPEG_LIB_VERSION
8515 8331
8516 _ACEOF 8332 _ACEOF
8517 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8333 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8518 egrep "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then 8334 $EGREP "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then
8519 cat >>confdefs.h <<\_ACEOF 8335 cat >>confdefs.h <<\_ACEOF
8520 #define HAVE_JPEG 1 8336 #define HAVE_JPEG 1
8521 _ACEOF 8337 _ACEOF
8522 8338
8523 else 8339 else
8583 #include <png.h> 8399 #include <png.h>
8584 _ACEOF 8400 _ACEOF
8585 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 8401 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8586 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8402 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8587 ac_status=$? 8403 ac_status=$?
8588 egrep -v '^ *\+' conftest.er1 >conftest.err 8404 grep -v '^ *+' conftest.er1 >conftest.err
8589 rm -f conftest.er1 8405 rm -f conftest.er1
8590 cat conftest.err >&5 8406 cat conftest.err >&5
8591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8592 (exit $ac_status); } >/dev/null; then 8408 (exit $ac_status); } >/dev/null; then
8593 if test -s conftest.err; then 8409 if test -s conftest.err; then
8652 extern "C" 8468 extern "C"
8653 #endif 8469 #endif
8654 /* We use char because int might match the return type of a gcc2 8470 /* We use char because int might match the return type of a gcc2
8655 builtin and then its argument prototype would still apply. */ 8471 builtin and then its argument prototype would still apply. */
8656 char png_get_channels (); 8472 char png_get_channels ();
8657 #ifdef F77_DUMMY_MAIN
8658 # ifdef __cplusplus
8659 extern "C"
8660 # endif
8661 int F77_DUMMY_MAIN() { return 1; }
8662 #endif
8663 int 8473 int
8664 main () 8474 main ()
8665 { 8475 {
8666 png_get_channels (); 8476 png_get_channels ();
8667 ; 8477 ;
8762 #include <tiffio.h> 8572 #include <tiffio.h>
8763 _ACEOF 8573 _ACEOF
8764 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 8574 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8765 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8575 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8766 ac_status=$? 8576 ac_status=$?
8767 egrep -v '^ *\+' conftest.er1 >conftest.err 8577 grep -v '^ *+' conftest.er1 >conftest.err
8768 rm -f conftest.er1 8578 rm -f conftest.er1
8769 cat conftest.err >&5 8579 cat conftest.err >&5
8770 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8771 (exit $ac_status); } >/dev/null; then 8581 (exit $ac_status); } >/dev/null; then
8772 if test -s conftest.err; then 8582 if test -s conftest.err; then
8834 extern "C" 8644 extern "C"
8835 #endif 8645 #endif
8836 /* We use char because int might match the return type of a gcc2 8646 /* We use char because int might match the return type of a gcc2
8837 builtin and then its argument prototype would still apply. */ 8647 builtin and then its argument prototype would still apply. */
8838 char TIFFGetVersion (); 8648 char TIFFGetVersion ();
8839 #ifdef F77_DUMMY_MAIN
8840 # ifdef __cplusplus
8841 extern "C"
8842 # endif
8843 int F77_DUMMY_MAIN() { return 1; }
8844 #endif
8845 int 8649 int
8846 main () 8650 main ()
8847 { 8651 {
8848 TIFFGetVersion (); 8652 TIFFGetVersion ();
8849 ; 8653 ;
8944 #include <gif_lib.h> 8748 #include <gif_lib.h>
8945 _ACEOF 8749 _ACEOF
8946 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 8750 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8947 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8751 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8948 ac_status=$? 8752 ac_status=$?
8949 egrep -v '^ *\+' conftest.er1 >conftest.err 8753 grep -v '^ *+' conftest.er1 >conftest.err
8950 rm -f conftest.er1 8754 rm -f conftest.er1
8951 cat conftest.err >&5 8755 cat conftest.err >&5
8952 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8953 (exit $ac_status); } >/dev/null; then 8757 (exit $ac_status); } >/dev/null; then
8954 if test -s conftest.err; then 8758 if test -s conftest.err; then
9015 extern "C" 8819 extern "C"
9016 #endif 8820 #endif
9017 /* We use char because int might match the return type of a gcc2 8821 /* We use char because int might match the return type of a gcc2
9018 builtin and then its argument prototype would still apply. */ 8822 builtin and then its argument prototype would still apply. */
9019 char EGifPutExtensionLast (); 8823 char EGifPutExtensionLast ();
9020 #ifdef F77_DUMMY_MAIN
9021 # ifdef __cplusplus
9022 extern "C"
9023 # endif
9024 int F77_DUMMY_MAIN() { return 1; }
9025 #endif
9026 int 8824 int
9027 main () 8825 main ()
9028 { 8826 {
9029 EGifPutExtensionLast (); 8827 EGifPutExtensionLast ();
9030 ; 8828 ;
9124 #include <Carbon/Carbon.h> 8922 #include <Carbon/Carbon.h>
9125 _ACEOF 8923 _ACEOF
9126 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 8924 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9127 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8925 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9128 ac_status=$? 8926 ac_status=$?
9129 egrep -v '^ *\+' conftest.er1 >conftest.err 8927 grep -v '^ *+' conftest.er1 >conftest.err
9130 rm -f conftest.er1 8928 rm -f conftest.er1
9131 cat conftest.err >&5 8929 cat conftest.err >&5
9132 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9133 (exit $ac_status); } >/dev/null; then 8931 (exit $ac_status); } >/dev/null; then
9134 if test -s conftest.err; then 8932 if test -s conftest.err; then
9243 #include <X11/SM/SMlib.h> 9041 #include <X11/SM/SMlib.h>
9244 _ACEOF 9042 _ACEOF
9245 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 9043 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9246 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9044 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9247 ac_status=$? 9045 ac_status=$?
9248 egrep -v '^ *\+' conftest.er1 >conftest.err 9046 grep -v '^ *+' conftest.er1 >conftest.err
9249 rm -f conftest.er1 9047 rm -f conftest.er1
9250 cat conftest.err >&5 9048 cat conftest.err >&5
9251 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9252 (exit $ac_status); } >/dev/null; then 9050 (exit $ac_status); } >/dev/null; then
9253 if test -s conftest.err; then 9051 if test -s conftest.err; then
9312 extern "C" 9110 extern "C"
9313 #endif 9111 #endif
9314 /* We use char because int might match the return type of a gcc2 9112 /* We use char because int might match the return type of a gcc2
9315 builtin and then its argument prototype would still apply. */ 9113 builtin and then its argument prototype would still apply. */
9316 char SmcOpenConnection (); 9114 char SmcOpenConnection ();
9317 #ifdef F77_DUMMY_MAIN
9318 # ifdef __cplusplus
9319 extern "C"
9320 # endif
9321 int F77_DUMMY_MAIN() { return 1; }
9322 #endif
9323 int 9115 int
9324 main () 9116 main ()
9325 { 9117 {
9326 SmcOpenConnection (); 9118 SmcOpenConnection ();
9327 ; 9119 ;
9382 else 9174 else
9383 cat >conftest.$ac_ext <<_ACEOF 9175 cat >conftest.$ac_ext <<_ACEOF
9384 #line $LINENO "configure" 9176 #line $LINENO "configure"
9385 #include "confdefs.h" 9177 #include "confdefs.h"
9386 #include <netdb.h> 9178 #include <netdb.h>
9387 #ifdef F77_DUMMY_MAIN
9388 # ifdef __cplusplus
9389 extern "C"
9390 # endif
9391 int F77_DUMMY_MAIN() { return 1; }
9392 #endif
9393 int 9179 int
9394 main () 9180 main ()
9395 { 9181 {
9396 return h_errno; 9182 return h_errno;
9397 ; 9183 ;
9437 else 9223 else
9438 cat >conftest.$ac_ext <<_ACEOF 9224 cat >conftest.$ac_ext <<_ACEOF
9439 #line $LINENO "configure" 9225 #line $LINENO "configure"
9440 #include "confdefs.h" 9226 #include "confdefs.h"
9441 #include <alloca.h> 9227 #include <alloca.h>
9442 #ifdef F77_DUMMY_MAIN
9443 # ifdef __cplusplus
9444 extern "C"
9445 # endif
9446 int F77_DUMMY_MAIN() { return 1; }
9447 #endif
9448 int 9228 int
9449 main () 9229 main ()
9450 { 9230 {
9451 char *p = (char *) alloca (2 * sizeof (int)); 9231 char *p = (char *) alloca (2 * sizeof (int));
9452 ; 9232 ;
9510 # endif 9290 # endif
9511 # endif 9291 # endif
9512 # endif 9292 # endif
9513 #endif 9293 #endif
9514 9294
9515 #ifdef F77_DUMMY_MAIN
9516 # ifdef __cplusplus
9517 extern "C"
9518 # endif
9519 int F77_DUMMY_MAIN() { return 1; }
9520 #endif
9521 int 9295 int
9522 main () 9296 main ()
9523 { 9297 {
9524 char *p = (char *) alloca (1); 9298 char *p = (char *) alloca (1);
9525 ; 9299 ;
9582 wenotbecray 9356 wenotbecray
9583 #endif 9357 #endif
9584 9358
9585 _ACEOF 9359 _ACEOF
9586 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 9360 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9587 egrep "webecray" >/dev/null 2>&1; then 9361 $EGREP "webecray" >/dev/null 2>&1; then
9588 ac_cv_os_cray=yes 9362 ac_cv_os_cray=yes
9589 else 9363 else
9590 ac_cv_os_cray=no 9364 ac_cv_os_cray=no
9591 fi 9365 fi
9592 rm -f conftest* 9366 rm -f conftest*
9615 /* We use char because int might match the return type of a gcc2 9389 /* We use char because int might match the return type of a gcc2
9616 builtin and then its argument prototype would still apply. */ 9390 builtin and then its argument prototype would still apply. */
9617 char $ac_func (); 9391 char $ac_func ();
9618 char (*f) (); 9392 char (*f) ();
9619 9393
9620 #ifdef F77_DUMMY_MAIN
9621 # ifdef __cplusplus
9622 extern "C"
9623 # endif
9624 int F77_DUMMY_MAIN() { return 1; }
9625 #endif
9626 int 9394 int
9627 main () 9395 main ()
9628 { 9396 {
9629 /* The GNU C library defines this for functions which it implements 9397 /* The GNU C library defines this for functions which it implements
9630 to always fail with ENOSYS. Some functions are actually named 9398 to always fail with ENOSYS. Some functions are actually named
9721 echo "$as_me: failed program was:" >&5 9489 echo "$as_me: failed program was:" >&5
9722 cat conftest.$ac_ext >&5 9490 cat conftest.$ac_ext >&5
9723 ( exit $ac_status ) 9491 ( exit $ac_status )
9724 ac_cv_c_stack_direction=-1 9492 ac_cv_c_stack_direction=-1
9725 fi 9493 fi
9726 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9494 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9727 fi 9495 fi
9728 fi 9496 fi
9729 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 9497 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
9730 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 9498 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
9731 9499
9756 extern "C" 9524 extern "C"
9757 #endif 9525 #endif
9758 /* We use char because int might match the return type of a gcc2 9526 /* We use char because int might match the return type of a gcc2
9759 builtin and then its argument prototype would still apply. */ 9527 builtin and then its argument prototype would still apply. */
9760 char sqrt (); 9528 char sqrt ();
9761 #ifdef F77_DUMMY_MAIN
9762 # ifdef __cplusplus
9763 extern "C"
9764 # endif
9765 int F77_DUMMY_MAIN() { return 1; }
9766 #endif
9767 int 9529 int
9768 main () 9530 main ()
9769 { 9531 {
9770 sqrt (); 9532 sqrt ();
9771 ; 9533 ;
9823 extern "C" 9585 extern "C"
9824 #endif 9586 #endif
9825 /* We use char because int might match the return type of a gcc2 9587 /* We use char because int might match the return type of a gcc2
9826 builtin and then its argument prototype would still apply. */ 9588 builtin and then its argument prototype would still apply. */
9827 char maillock (); 9589 char maillock ();
9828 #ifdef F77_DUMMY_MAIN
9829 # ifdef __cplusplus
9830 extern "C"
9831 # endif
9832 int F77_DUMMY_MAIN() { return 1; }
9833 #endif
9834 int 9590 int
9835 main () 9591 main ()
9836 { 9592 {
9837 maillock (); 9593 maillock ();
9838 ; 9594 ;
9888 extern "C" 9644 extern "C"
9889 #endif 9645 #endif
9890 /* We use char because int might match the return type of a gcc2 9646 /* We use char because int might match the return type of a gcc2
9891 builtin and then its argument prototype would still apply. */ 9647 builtin and then its argument prototype would still apply. */
9892 char maillock (); 9648 char maillock ();
9893 #ifdef F77_DUMMY_MAIN
9894 # ifdef __cplusplus
9895 extern "C"
9896 # endif
9897 int F77_DUMMY_MAIN() { return 1; }
9898 #endif
9899 int 9649 int
9900 main () 9650 main ()
9901 { 9651 {
9902 maillock (); 9652 maillock ();
9903 ; 9653 ;
9949 else 9699 else
9950 if test -n "$liblockfile"; then 9700 if test -n "$liblockfile"; then
9951 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. 9701 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test.
9952 else 9702 else
9953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9954 for as_dir in /usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH 9704 as_dummy="/usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH"
9705 for as_dir in $as_dummy
9955 do 9706 do
9956 IFS=$as_save_IFS 9707 IFS=$as_save_IFS
9957 test -z "$as_dir" && as_dir=. 9708 test -z "$as_dir" && as_dir=.
9958 for ac_exec_ext in '' $ac_executable_extensions; do 9709 for ac_exec_ext in '' $ac_executable_extensions; do
9959 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9710 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10014 /* We use char because int might match the return type of a gcc2 9765 /* We use char because int might match the return type of a gcc2
10015 builtin and then its argument prototype would still apply. */ 9766 builtin and then its argument prototype would still apply. */
10016 char $ac_func (); 9767 char $ac_func ();
10017 char (*f) (); 9768 char (*f) ();
10018 9769
10019 #ifdef F77_DUMMY_MAIN
10020 # ifdef __cplusplus
10021 extern "C"
10022 # endif
10023 int F77_DUMMY_MAIN() { return 1; }
10024 #endif
10025 int 9770 int
10026 main () 9771 main ()
10027 { 9772 {
10028 /* The GNU C library defines this for functions which it implements 9773 /* The GNU C library defines this for functions which it implements
10029 to always fail with ENOSYS. Some functions are actually named 9774 to always fail with ENOSYS. Some functions are actually named
10121 #include <$ac_header> 9866 #include <$ac_header>
10122 _ACEOF 9867 _ACEOF
10123 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 9868 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10124 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9869 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10125 ac_status=$? 9870 ac_status=$?
10126 egrep -v '^ *\+' conftest.er1 >conftest.err 9871 grep -v '^ *+' conftest.er1 >conftest.err
10127 rm -f conftest.er1 9872 rm -f conftest.er1
10128 cat conftest.err >&5 9873 cat conftest.err >&5
10129 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10130 (exit $ac_status); } >/dev/null; then 9875 (exit $ac_status); } >/dev/null; then
10131 if test -s conftest.err; then 9876 if test -s conftest.err; then
10268 /* We use char because int might match the return type of a gcc2 10013 /* We use char because int might match the return type of a gcc2
10269 builtin and then its argument prototype would still apply. */ 10014 builtin and then its argument prototype would still apply. */
10270 char $ac_func (); 10015 char $ac_func ();
10271 char (*f) (); 10016 char (*f) ();
10272 10017
10273 #ifdef F77_DUMMY_MAIN
10274 # ifdef __cplusplus
10275 extern "C"
10276 # endif
10277 int F77_DUMMY_MAIN() { return 1; }
10278 #endif
10279 int 10018 int
10280 main () 10019 main ()
10281 { 10020 {
10282 /* The GNU C library defines this for functions which it implements 10021 /* The GNU C library defines this for functions which it implements
10283 to always fail with ENOSYS. Some functions are actually named 10022 to always fail with ENOSYS. Some functions are actually named
10376 #include <$ac_header> 10115 #include <$ac_header>
10377 _ACEOF 10116 _ACEOF
10378 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 10117 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10379 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10118 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10380 ac_status=$? 10119 ac_status=$?
10381 egrep -v '^ *\+' conftest.er1 >conftest.err 10120 grep -v '^ *+' conftest.er1 >conftest.err
10382 rm -f conftest.er1 10121 rm -f conftest.er1
10383 cat conftest.err >&5 10122 cat conftest.err >&5
10384 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10385 (exit $ac_status); } >/dev/null; then 10124 (exit $ac_status); } >/dev/null; then
10386 if test -s conftest.err; then 10125 if test -s conftest.err; then
10492 #include <$ac_header> 10231 #include <$ac_header>
10493 _ACEOF 10232 _ACEOF
10494 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 10233 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10495 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10234 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10496 ac_status=$? 10235 ac_status=$?
10497 egrep -v '^ *\+' conftest.er1 >conftest.err 10236 grep -v '^ *+' conftest.er1 >conftest.err
10498 rm -f conftest.er1 10237 rm -f conftest.er1
10499 cat conftest.err >&5 10238 cat conftest.err >&5
10500 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10501 (exit $ac_status); } >/dev/null; then 10240 (exit $ac_status); } >/dev/null; then
10502 if test -s conftest.err; then 10241 if test -s conftest.err; then
10575 /* We use char because int might match the return type of a gcc2 10314 /* We use char because int might match the return type of a gcc2
10576 builtin and then its argument prototype would still apply. */ 10315 builtin and then its argument prototype would still apply. */
10577 char $ac_func (); 10316 char $ac_func ();
10578 char (*f) (); 10317 char (*f) ();
10579 10318
10580 #ifdef F77_DUMMY_MAIN
10581 # ifdef __cplusplus
10582 extern "C"
10583 # endif
10584 int F77_DUMMY_MAIN() { return 1; }
10585 #endif
10586 int 10319 int
10587 main () 10320 main ()
10588 { 10321 {
10589 /* The GNU C library defines this for functions which it implements 10322 /* The GNU C library defines this for functions which it implements
10590 to always fail with ENOSYS. Some functions are actually named 10323 to always fail with ENOSYS. Some functions are actually named
10803 echo "$as_me: failed program was:" >&5 10536 echo "$as_me: failed program was:" >&5
10804 cat conftest.$ac_ext >&5 10537 cat conftest.$ac_ext >&5
10805 ( exit $ac_status ) 10538 ( exit $ac_status )
10806 ac_cv_func_working_mktime=no 10539 ac_cv_func_working_mktime=no
10807 fi 10540 fi
10808 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10541 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10809 fi 10542 fi
10810 fi 10543 fi
10811 echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5 10544 echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
10812 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6 10545 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
10813 if test $ac_cv_func_working_mktime = no; then 10546 if test $ac_cv_func_working_mktime = no; then
10821 _ACEOF 10554 _ACEOF
10822 10555
10823 fi 10556 fi
10824 10557
10825 ac_have_func=no # yes means we've found a way to get the load average. 10558 ac_have_func=no # yes means we've found a way to get the load average.
10559
10560 # Make sure getloadavg.c is where it belongs, at configure-time.
10561 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" ||
10562 { { echo "$as_me:$LINENO: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&5
10563 echo "$as_me: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&2;}
10564 { (exit 1); exit 1; }; }
10826 10565
10827 ac_save_LIBS=$LIBS 10566 ac_save_LIBS=$LIBS
10828 10567
10829 # Check for getloadavg, but be sure not to touch the cache variable. 10568 # Check for getloadavg, but be sure not to touch the cache variable.
10830 (echo "$as_me:$LINENO: checking for getloadavg" >&5 10569 (echo "$as_me:$LINENO: checking for getloadavg" >&5
10845 /* We use char because int might match the return type of a gcc2 10584 /* We use char because int might match the return type of a gcc2
10846 builtin and then its argument prototype would still apply. */ 10585 builtin and then its argument prototype would still apply. */
10847 char getloadavg (); 10586 char getloadavg ();
10848 char (*f) (); 10587 char (*f) ();
10849 10588
10850 #ifdef F77_DUMMY_MAIN
10851 # ifdef __cplusplus
10852 extern "C"
10853 # endif
10854 int F77_DUMMY_MAIN() { return 1; }
10855 #endif
10856 int 10589 int
10857 main () 10590 main ()
10858 { 10591 {
10859 /* The GNU C library defines this for functions which it implements 10592 /* The GNU C library defines this for functions which it implements
10860 to always fail with ENOSYS. Some functions are actually named 10593 to always fail with ENOSYS. Some functions are actually named
10921 /* We use char because int might match the return type of a gcc2 10654 /* We use char because int might match the return type of a gcc2
10922 builtin and then its argument prototype would still apply. */ 10655 builtin and then its argument prototype would still apply. */
10923 char $ac_func (); 10656 char $ac_func ();
10924 char (*f) (); 10657 char (*f) ();
10925 10658
10926 #ifdef F77_DUMMY_MAIN
10927 # ifdef __cplusplus
10928 extern "C"
10929 # endif
10930 int F77_DUMMY_MAIN() { return 1; }
10931 #endif
10932 int 10659 int
10933 main () 10660 main ()
10934 { 10661 {
10935 /* The GNU C library defines this for functions which it implements 10662 /* The GNU C library defines this for functions which it implements
10936 to always fail with ENOSYS. Some functions are actually named 10663 to always fail with ENOSYS. Some functions are actually named
10994 extern "C" 10721 extern "C"
10995 #endif 10722 #endif
10996 /* We use char because int might match the return type of a gcc2 10723 /* We use char because int might match the return type of a gcc2
10997 builtin and then its argument prototype would still apply. */ 10724 builtin and then its argument prototype would still apply. */
10998 char kstat_open (); 10725 char kstat_open ();
10999 #ifdef F77_DUMMY_MAIN
11000 # ifdef __cplusplus
11001 extern "C"
11002 # endif
11003 int F77_DUMMY_MAIN() { return 1; }
11004 #endif
11005 int 10726 int
11006 main () 10727 main ()
11007 { 10728 {
11008 kstat_open (); 10729 kstat_open ();
11009 ; 10730 ;
11065 extern "C" 10786 extern "C"
11066 #endif 10787 #endif
11067 /* We use char because int might match the return type of a gcc2 10788 /* We use char because int might match the return type of a gcc2
11068 builtin and then its argument prototype would still apply. */ 10789 builtin and then its argument prototype would still apply. */
11069 char elf_begin (); 10790 char elf_begin ();
11070 #ifdef F77_DUMMY_MAIN
11071 # ifdef __cplusplus
11072 extern "C"
11073 # endif
11074 int F77_DUMMY_MAIN() { return 1; }
11075 #endif
11076 int 10791 int
11077 main () 10792 main ()
11078 { 10793 {
11079 elf_begin (); 10794 elf_begin ();
11080 ; 10795 ;
11126 extern "C" 10841 extern "C"
11127 #endif 10842 #endif
11128 /* We use char because int might match the return type of a gcc2 10843 /* We use char because int might match the return type of a gcc2
11129 builtin and then its argument prototype would still apply. */ 10844 builtin and then its argument prototype would still apply. */
11130 char kvm_open (); 10845 char kvm_open ();
11131 #ifdef F77_DUMMY_MAIN
11132 # ifdef __cplusplus
11133 extern "C"
11134 # endif
11135 int F77_DUMMY_MAIN() { return 1; }
11136 #endif
11137 int 10846 int
11138 main () 10847 main ()
11139 { 10848 {
11140 kvm_open (); 10849 kvm_open ();
11141 ; 10850 ;
11186 extern "C" 10895 extern "C"
11187 #endif 10896 #endif
11188 /* We use char because int might match the return type of a gcc2 10897 /* We use char because int might match the return type of a gcc2
11189 builtin and then its argument prototype would still apply. */ 10898 builtin and then its argument prototype would still apply. */
11190 char getloadavg (); 10899 char getloadavg ();
11191 #ifdef F77_DUMMY_MAIN
11192 # ifdef __cplusplus
11193 extern "C"
11194 # endif
11195 int F77_DUMMY_MAIN() { return 1; }
11196 #endif
11197 int 10900 int
11198 main () 10901 main ()
11199 { 10902 {
11200 getloadavg (); 10903 getloadavg ();
11201 ; 10904 ;
11252 extern "C" 10955 extern "C"
11253 #endif 10956 #endif
11254 /* We use char because int might match the return type of a gcc2 10957 /* We use char because int might match the return type of a gcc2
11255 builtin and then its argument prototype would still apply. */ 10958 builtin and then its argument prototype would still apply. */
11256 char getloadavg (); 10959 char getloadavg ();
11257 #ifdef F77_DUMMY_MAIN
11258 # ifdef __cplusplus
11259 extern "C"
11260 # endif
11261 int F77_DUMMY_MAIN() { return 1; }
11262 #endif
11263 int 10960 int
11264 main () 10961 main ()
11265 { 10962 {
11266 getloadavg (); 10963 getloadavg ();
11267 ; 10964 ;
11323 /* We use char because int might match the return type of a gcc2 11020 /* We use char because int might match the return type of a gcc2
11324 builtin and then its argument prototype would still apply. */ 11021 builtin and then its argument prototype would still apply. */
11325 char $ac_func (); 11022 char $ac_func ();
11326 char (*f) (); 11023 char (*f) ();
11327 11024
11328 #ifdef F77_DUMMY_MAIN
11329 # ifdef __cplusplus
11330 extern "C"
11331 # endif
11332 int F77_DUMMY_MAIN() { return 1; }
11333 #endif
11334 int 11025 int
11335 main () 11026 main ()
11336 { 11027 {
11337 /* The GNU C library defines this for functions which it implements 11028 /* The GNU C library defines this for functions which it implements
11338 to always fail with ENOSYS. Some functions are actually named 11029 to always fail with ENOSYS. Some functions are actually named
11432 #include <sys/dg_sys_info.h> 11123 #include <sys/dg_sys_info.h>
11433 _ACEOF 11124 _ACEOF
11434 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 11125 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11435 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11126 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11436 ac_status=$? 11127 ac_status=$?
11437 egrep -v '^ *\+' conftest.er1 >conftest.err 11128 grep -v '^ *+' conftest.er1 >conftest.err
11438 rm -f conftest.er1 11129 rm -f conftest.er1
11439 cat conftest.err >&5 11130 cat conftest.err >&5
11440 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11441 (exit $ac_status); } >/dev/null; then 11132 (exit $ac_status); } >/dev/null; then
11442 if test -s conftest.err; then 11133 if test -s conftest.err; then
11508 extern "C" 11199 extern "C"
11509 #endif 11200 #endif
11510 /* We use char because int might match the return type of a gcc2 11201 /* We use char because int might match the return type of a gcc2
11511 builtin and then its argument prototype would still apply. */ 11202 builtin and then its argument prototype would still apply. */
11512 char dg_sys_info (); 11203 char dg_sys_info ();
11513 #ifdef F77_DUMMY_MAIN
11514 # ifdef __cplusplus
11515 extern "C"
11516 # endif
11517 int F77_DUMMY_MAIN() { return 1; }
11518 #endif
11519 int 11204 int
11520 main () 11205 main ()
11521 { 11206 {
11522 dg_sys_info (); 11207 dg_sys_info ();
11523 ; 11208 ;
11609 #include <locale.h> 11294 #include <locale.h>
11610 _ACEOF 11295 _ACEOF
11611 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 11296 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11612 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11297 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11613 ac_status=$? 11298 ac_status=$?
11614 egrep -v '^ *\+' conftest.er1 >conftest.err 11299 grep -v '^ *+' conftest.er1 >conftest.err
11615 rm -f conftest.er1 11300 rm -f conftest.er1
11616 cat conftest.err >&5 11301 cat conftest.err >&5
11617 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11618 (exit $ac_status); } >/dev/null; then 11303 (exit $ac_status); } >/dev/null; then
11619 if test -s conftest.err; then 11304 if test -s conftest.err; then
11685 /* We use char because int might match the return type of a gcc2 11370 /* We use char because int might match the return type of a gcc2
11686 builtin and then its argument prototype would still apply. */ 11371 builtin and then its argument prototype would still apply. */
11687 char $ac_func (); 11372 char $ac_func ();
11688 char (*f) (); 11373 char (*f) ();
11689 11374
11690 #ifdef F77_DUMMY_MAIN
11691 # ifdef __cplusplus
11692 extern "C"
11693 # endif
11694 int F77_DUMMY_MAIN() { return 1; }
11695 #endif
11696 int 11375 int
11697 main () 11376 main ()
11698 { 11377 {
11699 /* The GNU C library defines this for functions which it implements 11378 /* The GNU C library defines this for functions which it implements
11700 to always fail with ENOSYS. Some functions are actually named 11379 to always fail with ENOSYS. Some functions are actually named
11802 #include <inq_stats/cpustats.h> 11481 #include <inq_stats/cpustats.h>
11803 _ACEOF 11482 _ACEOF
11804 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 11483 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11805 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11484 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11806 ac_status=$? 11485 ac_status=$?
11807 egrep -v '^ *\+' conftest.er1 >conftest.err 11486 grep -v '^ *+' conftest.er1 >conftest.err
11808 rm -f conftest.er1 11487 rm -f conftest.er1
11809 cat conftest.err >&5 11488 cat conftest.err >&5
11810 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11811 (exit $ac_status); } >/dev/null; then 11490 (exit $ac_status); } >/dev/null; then
11812 if test -s conftest.err; then 11491 if test -s conftest.err; then
11921 #include <sys/cpustats.h> 11600 #include <sys/cpustats.h>
11922 _ACEOF 11601 _ACEOF
11923 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 11602 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11924 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11603 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11925 ac_status=$? 11604 ac_status=$?
11926 egrep -v '^ *\+' conftest.er1 >conftest.err 11605 grep -v '^ *+' conftest.er1 >conftest.err
11927 rm -f conftest.er1 11606 rm -f conftest.er1
11928 cat conftest.err >&5 11607 cat conftest.err >&5
11929 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11930 (exit $ac_status); } >/dev/null; then 11609 (exit $ac_status); } >/dev/null; then
11931 if test -s conftest.err; then 11610 if test -s conftest.err; then
12037 #include <$ac_header> 11716 #include <$ac_header>
12038 _ACEOF 11717 _ACEOF
12039 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 11718 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12040 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11719 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12041 ac_status=$? 11720 ac_status=$?
12042 egrep -v '^ *\+' conftest.er1 >conftest.err 11721 grep -v '^ *+' conftest.er1 >conftest.err
12043 rm -f conftest.er1 11722 rm -f conftest.er1
12044 cat conftest.err >&5 11723 cat conftest.err >&5
12045 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12046 (exit $ac_status); } >/dev/null; then 11725 (exit $ac_status); } >/dev/null; then
12047 if test -s conftest.err; then 11726 if test -s conftest.err; then
12153 #include <$ac_header> 11832 #include <$ac_header>
12154 _ACEOF 11833 _ACEOF
12155 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 11834 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12156 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11835 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12157 ac_status=$? 11836 ac_status=$?
12158 egrep -v '^ *\+' conftest.er1 >conftest.err 11837 grep -v '^ *+' conftest.er1 >conftest.err
12159 rm -f conftest.er1 11838 rm -f conftest.er1
12160 cat conftest.err >&5 11839 cat conftest.err >&5
12161 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12162 (exit $ac_status); } >/dev/null; then 11841 (exit $ac_status); } >/dev/null; then
12163 if test -s conftest.err; then 11842 if test -s conftest.err; then
12217 cat >conftest.$ac_ext <<_ACEOF 11896 cat >conftest.$ac_ext <<_ACEOF
12218 #line $LINENO "configure" 11897 #line $LINENO "configure"
12219 #include "confdefs.h" 11898 #include "confdefs.h"
12220 #include <nlist.h> 11899 #include <nlist.h>
12221 11900
12222 #ifdef F77_DUMMY_MAIN
12223 # ifdef __cplusplus
12224 extern "C"
12225 # endif
12226 int F77_DUMMY_MAIN() { return 1; }
12227 #endif
12228 int 11901 int
12229 main () 11902 main ()
12230 { 11903 {
12231 static struct nlist ac_aggr; 11904 static struct nlist ac_aggr;
12232 if (ac_aggr.n_un.n_name) 11905 if (ac_aggr.n_un.n_name)
12249 (exit $ac_status); }; }; then 11922 (exit $ac_status); }; }; then
12250 ac_cv_member_struct_nlist_n_un_n_name=yes 11923 ac_cv_member_struct_nlist_n_un_n_name=yes
12251 else 11924 else
12252 echo "$as_me: failed program was:" >&5 11925 echo "$as_me: failed program was:" >&5
12253 cat conftest.$ac_ext >&5 11926 cat conftest.$ac_ext >&5
11927 cat >conftest.$ac_ext <<_ACEOF
11928 #line $LINENO "configure"
11929 #include "confdefs.h"
11930 #include <nlist.h>
11931
11932 int
11933 main ()
11934 {
11935 static struct nlist ac_aggr;
11936 if (sizeof ac_aggr.n_un.n_name)
11937 return 0;
11938 ;
11939 return 0;
11940 }
11941 _ACEOF
11942 rm -f conftest.$ac_objext
11943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11944 (eval $ac_compile) 2>&5
11945 ac_status=$?
11946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11947 (exit $ac_status); } &&
11948 { ac_try='test -s conftest.$ac_objext'
11949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11950 (eval $ac_try) 2>&5
11951 ac_status=$?
11952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11953 (exit $ac_status); }; }; then
11954 ac_cv_member_struct_nlist_n_un_n_name=yes
11955 else
11956 echo "$as_me: failed program was:" >&5
11957 cat conftest.$ac_ext >&5
12254 ac_cv_member_struct_nlist_n_un_n_name=no 11958 ac_cv_member_struct_nlist_n_un_n_name=no
11959 fi
11960 rm -f conftest.$ac_objext conftest.$ac_ext
12255 fi 11961 fi
12256 rm -f conftest.$ac_objext conftest.$ac_ext 11962 rm -f conftest.$ac_objext conftest.$ac_ext
12257 fi 11963 fi
12258 echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 11964 echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
12259 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6 11965 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
12286 echo $ECHO_N "(cached) $ECHO_C" >&6 11992 echo $ECHO_N "(cached) $ECHO_C" >&6
12287 else 11993 else
12288 cat >conftest.$ac_ext <<_ACEOF 11994 cat >conftest.$ac_ext <<_ACEOF
12289 #line $LINENO "configure" 11995 #line $LINENO "configure"
12290 #include "confdefs.h" 11996 #include "confdefs.h"
12291 #include "$srcdir/getloadavg.c" 11997 #include "$srcdir/$ac_config_libobj_dir/getloadavg.c"
12292 #ifdef LDAV_PRIVILEGED 11998 #ifdef LDAV_PRIVILEGED
12293 Yowza Am I SETGID yet 11999 Yowza Am I SETGID yet
12294 #endif 12000 #endif
12295 _ACEOF 12001 _ACEOF
12296 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12002 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12297 egrep "Yowza Am I SETGID yet" >/dev/null 2>&1; then 12003 $EGREP "Yowza Am I SETGID yet" >/dev/null 2>&1; then
12298 ac_cv_func_getloadavg_setgid=yes 12004 ac_cv_func_getloadavg_setgid=yes
12299 else 12005 else
12300 ac_cv_func_getloadavg_setgid=no 12006 ac_cv_func_getloadavg_setgid=no
12301 fi 12007 fi
12302 rm -f conftest* 12008 rm -f conftest*
12353 ac_cv_sys_largefile_source=no 12059 ac_cv_sys_largefile_source=no
12354 cat >conftest.$ac_ext <<_ACEOF 12060 cat >conftest.$ac_ext <<_ACEOF
12355 #line $LINENO "configure" 12061 #line $LINENO "configure"
12356 #include "confdefs.h" 12062 #include "confdefs.h"
12357 #include <stdio.h> 12063 #include <stdio.h>
12358 #ifdef F77_DUMMY_MAIN
12359 # ifdef __cplusplus
12360 extern "C"
12361 # endif
12362 int F77_DUMMY_MAIN() { return 1; }
12363 #endif
12364 int 12064 int
12365 main () 12065 main ()
12366 { 12066 {
12367 return !fseeko; 12067 return !fseeko;
12368 ; 12068 ;
12390 cat >conftest.$ac_ext <<_ACEOF 12090 cat >conftest.$ac_ext <<_ACEOF
12391 #line $LINENO "configure" 12091 #line $LINENO "configure"
12392 #include "confdefs.h" 12092 #include "confdefs.h"
12393 #define _LARGEFILE_SOURCE 1 12093 #define _LARGEFILE_SOURCE 1
12394 #include <stdio.h> 12094 #include <stdio.h>
12395 #ifdef F77_DUMMY_MAIN
12396 # ifdef __cplusplus
12397 extern "C"
12398 # endif
12399 int F77_DUMMY_MAIN() { return 1; }
12400 #endif
12401 int 12095 int
12402 main () 12096 main ()
12403 { 12097 {
12404 return !fseeko; 12098 return !fseeko;
12405 ; 12099 ;
12448 else 12142 else
12449 cat >conftest.$ac_ext <<_ACEOF 12143 cat >conftest.$ac_ext <<_ACEOF
12450 #line $LINENO "configure" 12144 #line $LINENO "configure"
12451 #include "confdefs.h" 12145 #include "confdefs.h"
12452 #include <stdio.h> 12146 #include <stdio.h>
12453 #ifdef F77_DUMMY_MAIN
12454 # ifdef __cplusplus
12455 extern "C"
12456 # endif
12457 int F77_DUMMY_MAIN() { return 1; }
12458 #endif
12459 int 12147 int
12460 main () 12148 main ()
12461 { 12149 {
12462 return fseeko && fseeko (stdin, 0, 0); 12150 return fseeko && fseeko (stdin, 0, 0);
12463 ; 12151 ;
12518 /* We use char because int might match the return type of a gcc2 12206 /* We use char because int might match the return type of a gcc2
12519 builtin and then its argument prototype would still apply. */ 12207 builtin and then its argument prototype would still apply. */
12520 char $ac_func (); 12208 char $ac_func ();
12521 char (*f) (); 12209 char (*f) ();
12522 12210
12523 #ifdef F77_DUMMY_MAIN
12524 # ifdef __cplusplus
12525 extern "C"
12526 # endif
12527 int F77_DUMMY_MAIN() { return 1; }
12528 #endif
12529 int 12211 int
12530 main () 12212 main ()
12531 { 12213 {
12532 /* The GNU C library defines this for functions which it implements 12214 /* The GNU C library defines this for functions which it implements
12533 to always fail with ENOSYS. Some functions are actually named 12215 to always fail with ENOSYS. Some functions are actually named
12596 /* We use char because int might match the return type of a gcc2 12278 /* We use char because int might match the return type of a gcc2
12597 builtin and then its argument prototype would still apply. */ 12279 builtin and then its argument prototype would still apply. */
12598 char $ac_func (); 12280 char $ac_func ();
12599 char (*f) (); 12281 char (*f) ();
12600 12282
12601 #ifdef F77_DUMMY_MAIN
12602 # ifdef __cplusplus
12603 extern "C"
12604 # endif
12605 int F77_DUMMY_MAIN() { return 1; }
12606 #endif
12607 int 12283 int
12608 main () 12284 main ()
12609 { 12285 {
12610 /* The GNU C library defines this for functions which it implements 12286 /* The GNU C library defines this for functions which it implements
12611 to always fail with ENOSYS. Some functions are actually named 12287 to always fail with ENOSYS. Some functions are actually named
12672 extern "C" 12348 extern "C"
12673 #endif 12349 #endif
12674 /* We use char because int might match the return type of a gcc2 12350 /* We use char because int might match the return type of a gcc2
12675 builtin and then its argument prototype would still apply. */ 12351 builtin and then its argument prototype would still apply. */
12676 char tparm (); 12352 char tparm ();
12677 #ifdef F77_DUMMY_MAIN
12678 # ifdef __cplusplus
12679 extern "C"
12680 # endif
12681 int F77_DUMMY_MAIN() { return 1; }
12682 #endif
12683 int 12353 int
12684 main () 12354 main ()
12685 { 12355 {
12686 tparm (); 12356 tparm ();
12687 ; 12357 ;
12743 /* We use char because int might match the return type of a gcc2 12413 /* We use char because int might match the return type of a gcc2
12744 builtin and then its argument prototype would still apply. */ 12414 builtin and then its argument prototype would still apply. */
12745 char res_send (); 12415 char res_send ();
12746 char (*f) (); 12416 char (*f) ();
12747 12417
12748 #ifdef F77_DUMMY_MAIN
12749 # ifdef __cplusplus
12750 extern "C"
12751 # endif
12752 int F77_DUMMY_MAIN() { return 1; }
12753 #endif
12754 int 12418 int
12755 main () 12419 main ()
12756 { 12420 {
12757 /* The GNU C library defines this for functions which it implements 12421 /* The GNU C library defines this for functions which it implements
12758 to always fail with ENOSYS. Some functions are actually named 12422 to always fail with ENOSYS. Some functions are actually named
12810 /* We use char because int might match the return type of a gcc2 12474 /* We use char because int might match the return type of a gcc2
12811 builtin and then its argument prototype would still apply. */ 12475 builtin and then its argument prototype would still apply. */
12812 char __res_send (); 12476 char __res_send ();
12813 char (*f) (); 12477 char (*f) ();
12814 12478
12815 #ifdef F77_DUMMY_MAIN
12816 # ifdef __cplusplus
12817 extern "C"
12818 # endif
12819 int F77_DUMMY_MAIN() { return 1; }
12820 #endif
12821 int 12479 int
12822 main () 12480 main ()
12823 { 12481 {
12824 /* The GNU C library defines this for functions which it implements 12482 /* The GNU C library defines this for functions which it implements
12825 to always fail with ENOSYS. Some functions are actually named 12483 to always fail with ENOSYS. Some functions are actually named
12875 extern "C" 12533 extern "C"
12876 #endif 12534 #endif
12877 /* We use char because int might match the return type of a gcc2 12535 /* We use char because int might match the return type of a gcc2
12878 builtin and then its argument prototype would still apply. */ 12536 builtin and then its argument prototype would still apply. */
12879 char res_send (); 12537 char res_send ();
12880 #ifdef F77_DUMMY_MAIN
12881 # ifdef __cplusplus
12882 extern "C"
12883 # endif
12884 int F77_DUMMY_MAIN() { return 1; }
12885 #endif
12886 int 12538 int
12887 main () 12539 main ()
12888 { 12540 {
12889 res_send (); 12541 res_send ();
12890 ; 12542 ;
12933 extern "C" 12585 extern "C"
12934 #endif 12586 #endif
12935 /* We use char because int might match the return type of a gcc2 12587 /* We use char because int might match the return type of a gcc2
12936 builtin and then its argument prototype would still apply. */ 12588 builtin and then its argument prototype would still apply. */
12937 char __res_send (); 12589 char __res_send ();
12938 #ifdef F77_DUMMY_MAIN
12939 # ifdef __cplusplus
12940 extern "C"
12941 # endif
12942 int F77_DUMMY_MAIN() { return 1; }
12943 #endif
12944 int 12590 int
12945 main () 12591 main ()
12946 { 12592 {
12947 __res_send (); 12593 __res_send ();
12948 ; 12594 ;
13010 /* We use char because int might match the return type of a gcc2 12656 /* We use char because int might match the return type of a gcc2
13011 builtin and then its argument prototype would still apply. */ 12657 builtin and then its argument prototype would still apply. */
13012 char hes_getmailhost (); 12658 char hes_getmailhost ();
13013 char (*f) (); 12659 char (*f) ();
13014 12660
13015 #ifdef F77_DUMMY_MAIN
13016 # ifdef __cplusplus
13017 extern "C"
13018 # endif
13019 int F77_DUMMY_MAIN() { return 1; }
13020 #endif
13021 int 12661 int
13022 main () 12662 main ()
13023 { 12663 {
13024 /* The GNU C library defines this for functions which it implements 12664 /* The GNU C library defines this for functions which it implements
13025 to always fail with ENOSYS. Some functions are actually named 12665 to always fail with ENOSYS. Some functions are actually named
13075 extern "C" 12715 extern "C"
13076 #endif 12716 #endif
13077 /* We use char because int might match the return type of a gcc2 12717 /* We use char because int might match the return type of a gcc2
13078 builtin and then its argument prototype would still apply. */ 12718 builtin and then its argument prototype would still apply. */
13079 char hes_getmailhost (); 12719 char hes_getmailhost ();
13080 #ifdef F77_DUMMY_MAIN
13081 # ifdef __cplusplus
13082 extern "C"
13083 # endif
13084 int F77_DUMMY_MAIN() { return 1; }
13085 #endif
13086 int 12720 int
13087 main () 12721 main ()
13088 { 12722 {
13089 hes_getmailhost (); 12723 hes_getmailhost ();
13090 ; 12724 ;
13147 extern "C" 12781 extern "C"
13148 #endif 12782 #endif
13149 /* We use char because int might match the return type of a gcc2 12783 /* We use char because int might match the return type of a gcc2
13150 builtin and then its argument prototype would still apply. */ 12784 builtin and then its argument prototype would still apply. */
13151 char com_err (); 12785 char com_err ();
13152 #ifdef F77_DUMMY_MAIN
13153 # ifdef __cplusplus
13154 extern "C"
13155 # endif
13156 int F77_DUMMY_MAIN() { return 1; }
13157 #endif
13158 int 12786 int
13159 main () 12787 main ()
13160 { 12788 {
13161 com_err (); 12789 com_err ();
13162 ; 12790 ;
13212 extern "C" 12840 extern "C"
13213 #endif 12841 #endif
13214 /* We use char because int might match the return type of a gcc2 12842 /* We use char because int might match the return type of a gcc2
13215 builtin and then its argument prototype would still apply. */ 12843 builtin and then its argument prototype would still apply. */
13216 char mit_des_cbc_encrypt (); 12844 char mit_des_cbc_encrypt ();
13217 #ifdef F77_DUMMY_MAIN
13218 # ifdef __cplusplus
13219 extern "C"
13220 # endif
13221 int F77_DUMMY_MAIN() { return 1; }
13222 #endif
13223 int 12845 int
13224 main () 12846 main ()
13225 { 12847 {
13226 mit_des_cbc_encrypt (); 12848 mit_des_cbc_encrypt ();
13227 ; 12849 ;
13277 extern "C" 12899 extern "C"
13278 #endif 12900 #endif
13279 /* We use char because int might match the return type of a gcc2 12901 /* We use char because int might match the return type of a gcc2
13280 builtin and then its argument prototype would still apply. */ 12902 builtin and then its argument prototype would still apply. */
13281 char mit_des_cbc_encrypt (); 12903 char mit_des_cbc_encrypt ();
13282 #ifdef F77_DUMMY_MAIN
13283 # ifdef __cplusplus
13284 extern "C"
13285 # endif
13286 int F77_DUMMY_MAIN() { return 1; }
13287 #endif
13288 int 12904 int
13289 main () 12905 main ()
13290 { 12906 {
13291 mit_des_cbc_encrypt (); 12907 mit_des_cbc_encrypt ();
13292 ; 12908 ;
13342 extern "C" 12958 extern "C"
13343 #endif 12959 #endif
13344 /* We use char because int might match the return type of a gcc2 12960 /* We use char because int might match the return type of a gcc2
13345 builtin and then its argument prototype would still apply. */ 12961 builtin and then its argument prototype would still apply. */
13346 char krb5_init_context (); 12962 char krb5_init_context ();
13347 #ifdef F77_DUMMY_MAIN
13348 # ifdef __cplusplus
13349 extern "C"
13350 # endif
13351 int F77_DUMMY_MAIN() { return 1; }
13352 #endif
13353 int 12963 int
13354 main () 12964 main ()
13355 { 12965 {
13356 krb5_init_context (); 12966 krb5_init_context ();
13357 ; 12967 ;
13408 extern "C" 13018 extern "C"
13409 #endif 13019 #endif
13410 /* We use char because int might match the return type of a gcc2 13020 /* We use char because int might match the return type of a gcc2
13411 builtin and then its argument prototype would still apply. */ 13021 builtin and then its argument prototype would still apply. */
13412 char des_cbc_encrypt (); 13022 char des_cbc_encrypt ();
13413 #ifdef F77_DUMMY_MAIN
13414 # ifdef __cplusplus
13415 extern "C"
13416 # endif
13417 int F77_DUMMY_MAIN() { return 1; }
13418 #endif
13419 int 13023 int
13420 main () 13024 main ()
13421 { 13025 {
13422 des_cbc_encrypt (); 13026 des_cbc_encrypt ();
13423 ; 13027 ;
13472 extern "C" 13076 extern "C"
13473 #endif 13077 #endif
13474 /* We use char because int might match the return type of a gcc2 13078 /* We use char because int might match the return type of a gcc2
13475 builtin and then its argument prototype would still apply. */ 13079 builtin and then its argument prototype would still apply. */
13476 char des_cbc_encrypt (); 13080 char des_cbc_encrypt ();
13477 #ifdef F77_DUMMY_MAIN
13478 # ifdef __cplusplus
13479 extern "C"
13480 # endif
13481 int F77_DUMMY_MAIN() { return 1; }
13482 #endif
13483 int 13081 int
13484 main () 13082 main ()
13485 { 13083 {
13486 des_cbc_encrypt (); 13084 des_cbc_encrypt ();
13487 ; 13085 ;
13539 extern "C" 13137 extern "C"
13540 #endif 13138 #endif
13541 /* We use char because int might match the return type of a gcc2 13139 /* We use char because int might match the return type of a gcc2
13542 builtin and then its argument prototype would still apply. */ 13140 builtin and then its argument prototype would still apply. */
13543 char krb_get_cred (); 13141 char krb_get_cred ();
13544 #ifdef F77_DUMMY_MAIN
13545 # ifdef __cplusplus
13546 extern "C"
13547 # endif
13548 int F77_DUMMY_MAIN() { return 1; }
13549 #endif
13550 int 13142 int
13551 main () 13143 main ()
13552 { 13144 {
13553 krb_get_cred (); 13145 krb_get_cred ();
13554 ; 13146 ;
13603 extern "C" 13195 extern "C"
13604 #endif 13196 #endif
13605 /* We use char because int might match the return type of a gcc2 13197 /* We use char because int might match the return type of a gcc2
13606 builtin and then its argument prototype would still apply. */ 13198 builtin and then its argument prototype would still apply. */
13607 char krb_get_cred (); 13199 char krb_get_cred ();
13608 #ifdef F77_DUMMY_MAIN
13609 # ifdef __cplusplus
13610 extern "C"
13611 # endif
13612 int F77_DUMMY_MAIN() { return 1; }
13613 #endif
13614 int 13200 int
13615 main () 13201 main ()
13616 { 13202 {
13617 krb_get_cred (); 13203 krb_get_cred ();
13618 ; 13204 ;
13709 #include <$ac_header> 13295 #include <$ac_header>
13710 _ACEOF 13296 _ACEOF
13711 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 13297 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13712 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 13298 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13713 ac_status=$? 13299 ac_status=$?
13714 egrep -v '^ *\+' conftest.er1 >conftest.err 13300 grep -v '^ *+' conftest.er1 >conftest.err
13715 rm -f conftest.er1 13301 rm -f conftest.er1
13716 cat conftest.err >&5 13302 cat conftest.err >&5
13717 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13718 (exit $ac_status); } >/dev/null; then 13304 (exit $ac_status); } >/dev/null; then
13719 if test -s conftest.err; then 13305 if test -s conftest.err; then
13824 #include <$ac_header> 13410 #include <$ac_header>
13825 _ACEOF 13411 _ACEOF
13826 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 13412 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13827 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 13413 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13828 ac_status=$? 13414 ac_status=$?
13829 egrep -v '^ *\+' conftest.er1 >conftest.err 13415 grep -v '^ *+' conftest.er1 >conftest.err
13830 rm -f conftest.er1 13416 rm -f conftest.er1
13831 cat conftest.err >&5 13417 cat conftest.err >&5
13832 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13833 (exit $ac_status); } >/dev/null; then 13419 (exit $ac_status); } >/dev/null; then
13834 if test -s conftest.err; then 13420 if test -s conftest.err; then
13935 #include <$ac_header> 13521 #include <$ac_header>
13936 _ACEOF 13522 _ACEOF
13937 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 13523 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13938 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 13524 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13939 ac_status=$? 13525 ac_status=$?
13940 egrep -v '^ *\+' conftest.er1 >conftest.err 13526 grep -v '^ *+' conftest.er1 >conftest.err
13941 rm -f conftest.er1 13527 rm -f conftest.er1
13942 cat conftest.err >&5 13528 cat conftest.err >&5
13943 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13944 (exit $ac_status); } >/dev/null; then 13530 (exit $ac_status); } >/dev/null; then
13945 if test -s conftest.err; then 13531 if test -s conftest.err; then
14046 #include <$ac_header> 13632 #include <$ac_header>
14047 _ACEOF 13633 _ACEOF
14048 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 13634 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14049 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 13635 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14050 ac_status=$? 13636 ac_status=$?
14051 egrep -v '^ *\+' conftest.er1 >conftest.err 13637 grep -v '^ *+' conftest.er1 >conftest.err
14052 rm -f conftest.er1 13638 rm -f conftest.er1
14053 cat conftest.err >&5 13639 cat conftest.err >&5
14054 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14055 (exit $ac_status); } >/dev/null; then 13641 (exit $ac_status); } >/dev/null; then
14056 if test -s conftest.err; then 13642 if test -s conftest.err; then
14168 #include <$ac_header> 13754 #include <$ac_header>
14169 _ACEOF 13755 _ACEOF
14170 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 13756 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14171 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 13757 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14172 ac_status=$? 13758 ac_status=$?
14173 egrep -v '^ *\+' conftest.er1 >conftest.err 13759 grep -v '^ *+' conftest.er1 >conftest.err
14174 rm -f conftest.er1 13760 rm -f conftest.er1
14175 cat conftest.err >&5 13761 cat conftest.err >&5
14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 (exit $ac_status); } >/dev/null; then 13763 (exit $ac_status); } >/dev/null; then
14178 if test -s conftest.err; then 13764 if test -s conftest.err; then
14279 #include <$ac_header> 13865 #include <$ac_header>
14280 _ACEOF 13866 _ACEOF
14281 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 13867 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14282 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 13868 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14283 ac_status=$? 13869 ac_status=$?
14284 egrep -v '^ *\+' conftest.er1 >conftest.err 13870 grep -v '^ *+' conftest.er1 >conftest.err
14285 rm -f conftest.er1 13871 rm -f conftest.er1
14286 cat conftest.err >&5 13872 cat conftest.err >&5
14287 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14288 (exit $ac_status); } >/dev/null; then 13874 (exit $ac_status); } >/dev/null; then
14289 if test -s conftest.err; then 13875 if test -s conftest.err; then
14390 #include <$ac_header> 13976 #include <$ac_header>
14391 _ACEOF 13977 _ACEOF
14392 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 13978 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14393 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 13979 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14394 ac_status=$? 13980 ac_status=$?
14395 egrep -v '^ *\+' conftest.er1 >conftest.err 13981 grep -v '^ *+' conftest.er1 >conftest.err
14396 rm -f conftest.er1 13982 rm -f conftest.er1
14397 cat conftest.err >&5 13983 cat conftest.err >&5
14398 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14399 (exit $ac_status); } >/dev/null; then 13985 (exit $ac_status); } >/dev/null; then
14400 if test -s conftest.err; then 13986 if test -s conftest.err; then
14513 #include <$ac_header> 14099 #include <$ac_header>
14514 _ACEOF 14100 _ACEOF
14515 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 14101 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14516 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 14102 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14517 ac_status=$? 14103 ac_status=$?
14518 egrep -v '^ *\+' conftest.er1 >conftest.err 14104 grep -v '^ *+' conftest.er1 >conftest.err
14519 rm -f conftest.er1 14105 rm -f conftest.er1
14520 cat conftest.err >&5 14106 cat conftest.err >&5
14521 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14522 (exit $ac_status); } >/dev/null; then 14108 (exit $ac_status); } >/dev/null; then
14523 if test -s conftest.err; then 14109 if test -s conftest.err; then
14595 extern "C" 14181 extern "C"
14596 #endif 14182 #endif
14597 /* We use char because int might match the return type of a gcc2 14183 /* We use char because int might match the return type of a gcc2
14598 builtin and then its argument prototype would still apply. */ 14184 builtin and then its argument prototype would still apply. */
14599 char dgettext (); 14185 char dgettext ();
14600 #ifdef F77_DUMMY_MAIN
14601 # ifdef __cplusplus
14602 extern "C"
14603 # endif
14604 int F77_DUMMY_MAIN() { return 1; }
14605 #endif
14606 int 14186 int
14607 main () 14187 main ()
14608 { 14188 {
14609 dgettext (); 14189 dgettext ();
14610 ; 14190 ;
14704 echo "$as_me: failed program was:" >&5 14284 echo "$as_me: failed program was:" >&5
14705 cat conftest.$ac_ext >&5 14285 cat conftest.$ac_ext >&5
14706 ( exit $ac_status ) 14286 ( exit $ac_status )
14707 emacs_cv_localtime_cache=yes 14287 emacs_cv_localtime_cache=yes
14708 fi 14288 fi
14709 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14289 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14710 fi 14290 fi
14711 else 14291 else
14712 # If we lack tzset, report that localtime does not cache TZ, 14292 # If we lack tzset, report that localtime does not cache TZ,
14713 # since we can't invalidate the cache if we don't have tzset. 14293 # since we can't invalidate the cache if we don't have tzset.
14714 emacs_cv_localtime_cache=no 14294 emacs_cv_localtime_cache=no
14747 /* We use char because int might match the return type of a gcc2 14327 /* We use char because int might match the return type of a gcc2
14748 builtin and then its argument prototype would still apply. */ 14328 builtin and then its argument prototype would still apply. */
14749 char $ac_func (); 14329 char $ac_func ();
14750 char (*f) (); 14330 char (*f) ();
14751 14331
14752 #ifdef F77_DUMMY_MAIN
14753 # ifdef __cplusplus
14754 extern "C"
14755 # endif
14756 int F77_DUMMY_MAIN() { return 1; }
14757 #endif
14758 int 14332 int
14759 main () 14333 main ()
14760 { 14334 {
14761 /* The GNU C library defines this for functions which it implements 14335 /* The GNU C library defines this for functions which it implements
14762 to always fail with ENOSYS. Some functions are actually named 14336 to always fail with ENOSYS. Some functions are actually named
14819 #include <sys/time.h> 14393 #include <sys/time.h>
14820 #else 14394 #else
14821 #include <time.h> 14395 #include <time.h>
14822 #endif 14396 #endif
14823 #endif 14397 #endif
14824 #ifdef F77_DUMMY_MAIN
14825 # ifdef __cplusplus
14826 extern "C"
14827 # endif
14828 int F77_DUMMY_MAIN() { return 1; }
14829 #endif
14830 int 14398 int
14831 main () 14399 main ()
14832 { 14400 {
14833 struct timeval time; 14401 struct timeval time;
14834 gettimeofday (&time, 0); 14402 gettimeofday (&time, 0);
14876 else 14444 else
14877 cat >conftest.$ac_ext <<_ACEOF 14445 cat >conftest.$ac_ext <<_ACEOF
14878 #line $LINENO "configure" 14446 #line $LINENO "configure"
14879 #include "confdefs.h" 14447 #include "confdefs.h"
14880 #include <sys/time.h> 14448 #include <sys/time.h>
14881 #ifdef F77_DUMMY_MAIN
14882 # ifdef __cplusplus
14883 extern "C"
14884 # endif
14885 int F77_DUMMY_MAIN() { return 1; }
14886 #endif
14887 int 14449 int
14888 main () 14450 main ()
14889 { 14451 {
14890 struct timezone tz; 14452 struct timezone tz;
14891 ; 14453 ;
14944 echo "$as_me: failed program was:" >&5 14506 echo "$as_me: failed program was:" >&5
14945 cat conftest.$ac_ext >&5 14507 cat conftest.$ac_ext >&5
14946 ( exit $ac_status ) 14508 ( exit $ac_status )
14947 emacs_cv_struct_timezone=no 14509 emacs_cv_struct_timezone=no
14948 fi 14510 fi
14949 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14511 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14950 fi 14512 fi
14951 else 14513 else
14952 echo "$as_me: failed program was:" >&5 14514 echo "$as_me: failed program was:" >&5
14953 cat conftest.$ac_ext >&5 14515 cat conftest.$ac_ext >&5
14954 emacs_cv_struct_timezone=no 14516 emacs_cv_struct_timezone=no
14978 /* We use char because int might match the return type of a gcc2 14540 /* We use char because int might match the return type of a gcc2
14979 builtin and then its argument prototype would still apply. */ 14541 builtin and then its argument prototype would still apply. */
14980 char socket (); 14542 char socket ();
14981 char (*f) (); 14543 char (*f) ();
14982 14544
14983 #ifdef F77_DUMMY_MAIN
14984 # ifdef __cplusplus
14985 extern "C"
14986 # endif
14987 int F77_DUMMY_MAIN() { return 1; }
14988 #endif
14989 int 14545 int
14990 main () 14546 main ()
14991 { 14547 {
14992 /* The GNU C library defines this for functions which it implements 14548 /* The GNU C library defines this for functions which it implements
14993 to always fail with ENOSYS. Some functions are actually named 14549 to always fail with ENOSYS. Some functions are actually named
15080 #include <netinet/in.h> 14636 #include <netinet/in.h>
15081 _ACEOF 14637 _ACEOF
15082 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 14638 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15083 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 14639 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15084 ac_status=$? 14640 ac_status=$?
15085 egrep -v '^ *\+' conftest.er1 >conftest.err 14641 grep -v '^ *+' conftest.er1 >conftest.err
15086 rm -f conftest.er1 14642 rm -f conftest.er1
15087 cat conftest.err >&5 14643 cat conftest.err >&5
15088 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15089 (exit $ac_status); } >/dev/null; then 14645 (exit $ac_status); } >/dev/null; then
15090 if test -s conftest.err; then 14646 if test -s conftest.err; then
15190 #include <arpa/inet.h> 14746 #include <arpa/inet.h>
15191 _ACEOF 14747 _ACEOF
15192 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 14748 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15193 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 14749 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15194 ac_status=$? 14750 ac_status=$?
15195 egrep -v '^ *\+' conftest.er1 >conftest.err 14751 grep -v '^ *+' conftest.er1 >conftest.err
15196 rm -f conftest.er1 14752 rm -f conftest.er1
15197 cat conftest.err >&5 14753 cat conftest.err >&5
15198 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15199 (exit $ac_status); } >/dev/null; then 14755 (exit $ac_status); } >/dev/null; then
15200 if test -s conftest.err; then 14756 if test -s conftest.err; then
15288 else 14844 else
15289 cat >conftest.$ac_ext <<_ACEOF 14845 cat >conftest.$ac_ext <<_ACEOF
15290 #line $LINENO "configure" 14846 #line $LINENO "configure"
15291 #include "confdefs.h" 14847 #include "confdefs.h"
15292 $ac_includes_default 14848 $ac_includes_default
15293 #ifdef F77_DUMMY_MAIN
15294 # ifdef __cplusplus
15295 extern "C"
15296 # endif
15297 int F77_DUMMY_MAIN() { return 1; }
15298 #endif
15299 int 14849 int
15300 main () 14850 main ()
15301 { 14851 {
15302 if ((pid_t *) 0) 14852 if ((pid_t *) 0)
15303 return 0; 14853 return 0;
15393 #include <$ac_header> 14943 #include <$ac_header>
15394 _ACEOF 14944 _ACEOF
15395 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 14945 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15396 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 14946 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15397 ac_status=$? 14947 ac_status=$?
15398 egrep -v '^ *\+' conftest.er1 >conftest.err 14948 grep -v '^ *+' conftest.er1 >conftest.err
15399 rm -f conftest.er1 14949 rm -f conftest.er1
15400 cat conftest.err >&5 14950 cat conftest.err >&5
15401 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15402 (exit $ac_status); } >/dev/null; then 14952 (exit $ac_status); } >/dev/null; then
15403 if test -s conftest.err; then 14953 if test -s conftest.err; then
15477 /* We use char because int might match the return type of a gcc2 15027 /* We use char because int might match the return type of a gcc2
15478 builtin and then its argument prototype would still apply. */ 15028 builtin and then its argument prototype would still apply. */
15479 char $ac_func (); 15029 char $ac_func ();
15480 char (*f) (); 15030 char (*f) ();
15481 15031
15482 #ifdef F77_DUMMY_MAIN
15483 # ifdef __cplusplus
15484 extern "C"
15485 # endif
15486 int F77_DUMMY_MAIN() { return 1; }
15487 #endif
15488 int 15032 int
15489 main () 15033 main ()
15490 { 15034 {
15491 /* The GNU C library defines this for functions which it implements 15035 /* The GNU C library defines this for functions which it implements
15492 to always fail with ENOSYS. Some functions are actually named 15036 to always fail with ENOSYS. Some functions are actually named
15529 _ACEOF 15073 _ACEOF
15530 15074
15531 fi 15075 fi
15532 done 15076 done
15533 15077
15534 ac_cv_func_fork_works=$ac_cv_func_fork
15535 if test "x$ac_cv_func_fork" = xyes; then 15078 if test "x$ac_cv_func_fork" = xyes; then
15536 echo "$as_me:$LINENO: checking for working fork" >&5 15079 echo "$as_me:$LINENO: checking for working fork" >&5
15537 echo $ECHO_N "checking for working fork... $ECHO_C" >&6 15080 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
15538 if test "${ac_cv_func_fork_works+set}" = set; then 15081 if test "${ac_cv_func_fork_works+set}" = set; then
15539 echo $ECHO_N "(cached) $ECHO_C" >&6 15082 echo $ECHO_N "(cached) $ECHO_C" >&6
15572 echo "$as_me: failed program was:" >&5 15115 echo "$as_me: failed program was:" >&5
15573 cat conftest.$ac_ext >&5 15116 cat conftest.$ac_ext >&5
15574 ( exit $ac_status ) 15117 ( exit $ac_status )
15575 ac_cv_func_fork_works=no 15118 ac_cv_func_fork_works=no
15576 fi 15119 fi
15577 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15120 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15578 fi 15121 fi
15579 fi 15122 fi
15580 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5 15123 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
15581 echo "${ECHO_T}$ac_cv_func_fork_works" >&6 15124 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
15582 15125
15126 else
15127 ac_cv_func_fork_works=$ac_cv_func_fork
15583 fi 15128 fi
15584 if test "x$ac_cv_func_fork_works" = xcross; then 15129 if test "x$ac_cv_func_fork_works" = xcross; then
15585 case $host in 15130 case $host in
15586 *-*-amigaos* | *-*-msdosdjgpp*) 15131 *-*-amigaos* | *-*-msdosdjgpp*)
15587 # Override, as these systems have only a dummy fork() stub 15132 # Override, as these systems have only a dummy fork() stub
15718 echo "$as_me: failed program was:" >&5 15263 echo "$as_me: failed program was:" >&5
15719 cat conftest.$ac_ext >&5 15264 cat conftest.$ac_ext >&5
15720 ( exit $ac_status ) 15265 ( exit $ac_status )
15721 ac_cv_func_vfork_works=no 15266 ac_cv_func_vfork_works=no
15722 fi 15267 fi
15723 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15268 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15724 fi 15269 fi
15725 fi 15270 fi
15726 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5 15271 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
15727 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 15272 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
15728 15273
15762 else 15307 else
15763 cat >conftest.$ac_ext <<_ACEOF 15308 cat >conftest.$ac_ext <<_ACEOF
15764 #line $LINENO "configure" 15309 #line $LINENO "configure"
15765 #include "confdefs.h" 15310 #include "confdefs.h"
15766 $ac_includes_default 15311 $ac_includes_default
15767 #ifdef F77_DUMMY_MAIN
15768 # ifdef __cplusplus
15769 extern "C"
15770 # endif
15771 int F77_DUMMY_MAIN() { return 1; }
15772 #endif
15773 int 15312 int
15774 main () 15313 main ()
15775 { 15314 {
15776 if ((size_t *) 0) 15315 if ((size_t *) 0)
15777 return 0; 15316 return 0;
16005 #include <$ac_header> 15544 #include <$ac_header>
16006 _ACEOF 15545 _ACEOF
16007 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 15546 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16008 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 15547 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16009 ac_status=$? 15548 ac_status=$?
16010 egrep -v '^ *\+' conftest.er1 >conftest.err 15549 grep -v '^ *+' conftest.er1 >conftest.err
16011 rm -f conftest.er1 15550 rm -f conftest.er1
16012 cat conftest.err >&5 15551 cat conftest.err >&5
16013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16014 (exit $ac_status); } >/dev/null; then 15553 (exit $ac_status); } >/dev/null; then
16015 if test -s conftest.err; then 15554 if test -s conftest.err; then
16124 #line $LINENO "configure" 15663 #line $LINENO "configure"
16125 #include "confdefs.h" 15664 #include "confdefs.h"
16126 yes..yes 15665 yes..yes
16127 _ACEOF 15666 _ACEOF
16128 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 15667 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16129 egrep "yes..yes" >/dev/null 2>&1; then 15668 $EGREP "yes..yes" >/dev/null 2>&1; then
16130 CPP_NEED_TRADITIONAL=no 15669 CPP_NEED_TRADITIONAL=no
16131 else 15670 else
16132 CPP_NEED_TRADITIONAL=yes 15671 CPP_NEED_TRADITIONAL=yes
16133 fi 15672 fi
16134 rm -f conftest* 15673 rm -f conftest*
16135 15674
16136 15675
16137 ac_config_files="$ac_config_files Makefile lib-src/Makefile.c:lib-src/Makefile.in oldXMenu/Makefile man/Makefile lwlib/Makefile src/Makefile.c:src/Makefile.in lisp/Makefile lispref/Makefile lispintro/Makefile leim/Makefile" 15676 ac_config_files="$ac_config_files Makefile lib-src/Makefile.c:lib-src/Makefile.in oldXMenu/Makefile man/Makefile lwlib/Makefile src/Makefile.c:src/Makefile.in lisp/Makefile lispref/Makefile lispintro/Makefile leim/Makefile"
16138 ac_config_commands="$ac_config_commands default" 15677 ac_config_commands="$ac_config_commands default"
16139 cat >confcache <<\_ACEOF 15678 cat >confcache <<\_ACEOF
16140 # This file is a shell script that caches the results of configure 15679 # This file is a shell script that caches the results of configure
16141 # tests run on this system so they can be shared between configure 15680 # tests run on this system so they can be shared between configure
16142 # scripts and configure runs, see configure's option --config-cache. 15681 # scripts and configure runs, see configure's option --config-cache.
16143 # It is not useful on other systems. If it contains results you don't 15682 # It is not useful on other systems. If it contains results you don't
16144 # want to keep, you may remove or edit it. 15683 # want to keep, you may remove or edit it.
16145 # 15684 #
16146 # config.status only pays attention to the cache file if you give it 15685 # config.status only pays attention to the cache file if you give it
16147 # the --recheck option to rerun configure. 15686 # the --recheck option to rerun configure.
16148 # 15687 #
16149 # `ac_cv_env_foo' variables (set or unset) will be overriden when 15688 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16150 # loading this file, other *unset* `ac_cv_foo' will be assigned the 15689 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16151 # following values. 15690 # following values.
16152 15691
16153 _ACEOF 15692 _ACEOF
16154 15693
16210 }' 15749 }'
16211 fi 15750 fi
16212 15751
16213 DEFS=-DHAVE_CONFIG_H 15752 DEFS=-DHAVE_CONFIG_H
16214 15753
15754 ac_libobjs=
15755 ac_ltlibobjs=
15756 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15757 # 1. Remove the extension, and $U if already installed.
15758 ac_i=`echo "$ac_i" |
15759 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
15760 # 2. Add them.
15761 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
15762 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
15763 done
15764 LIBOBJS=$ac_libobjs
15765
15766 LTLIBOBJS=$ac_ltlibobjs
15767
15768
16215 15769
16216 : ${CONFIG_STATUS=./config.status} 15770 : ${CONFIG_STATUS=./config.status}
16217 ac_clean_files_save=$ac_clean_files 15771 ac_clean_files_save=$ac_clean_files
16218 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 15772 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16219 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 15773 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
16228 debug=false 15782 debug=false
16229 SHELL=\${CONFIG_SHELL-$SHELL} 15783 SHELL=\${CONFIG_SHELL-$SHELL}
16230 _ACEOF 15784 _ACEOF
16231 15785
16232 cat >>$CONFIG_STATUS <<\_ACEOF 15786 cat >>$CONFIG_STATUS <<\_ACEOF
16233
16234 ## --------------------- ## 15787 ## --------------------- ##
16235 ## M4sh Initialization. ## 15788 ## M4sh Initialization. ##
16236 ## --------------------- ## 15789 ## --------------------- ##
16237 15790
16238 # Be Bourne compatible 15791 # Be Bourne compatible
16239 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 15792 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16240 emulate sh 15793 emulate sh
16241 NULLCMD=: 15794 NULLCMD=:
15795 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
15796 # is contrary to our usage. Disable this feature.
15797 alias -g '${1+"$@"}'='"$@"'
16242 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 15798 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
16243 set -o posix 15799 set -o posix
16244 fi 15800 fi
16245 15801
16246 # NLS nuisances.
16247 # Support unset when possible. 15802 # Support unset when possible.
16248 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 15803 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
16249 as_unset=unset 15804 as_unset=unset
16250 else 15805 else
16251 as_unset=false 15806 as_unset=false
16252 fi 15807 fi
16253 15808
16254 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") && 15809
16255 { $as_unset LANG || test "${LANG+set}" != set; } || 15810 # Work around bugs in pre-3.0 UWIN ksh.
16256 { LANG=C; export LANG; } 15811 $as_unset ENV MAIL MAILPATH
16257 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && 15812 PS1='$ '
16258 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || 15813 PS2='> '
16259 { LC_ALL=C; export LC_ALL; } 15814 PS4='+ '
16260 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && 15815
16261 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || 15816 # NLS nuisances.
16262 { LC_TIME=C; export LC_TIME; } 15817 for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
16263 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && 15818 do
16264 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || 15819 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
16265 { LC_CTYPE=C; export LC_CTYPE; } 15820 eval $as_var=C; export $as_var
16266 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && 15821 else
16267 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || 15822 $as_unset $as_var
16268 { LANGUAGE=C; export LANGUAGE; } 15823 fi
16269 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && 15824 done
16270 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || 15825
16271 { LC_COLLATE=C; export LC_COLLATE; } 15826 # Required to use basename.
16272 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && 15827 if expr a : '\(a\)' >/dev/null 2>&1; then
16273 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || 15828 as_expr=expr
16274 { LC_NUMERIC=C; export LC_NUMERIC; } 15829 else
16275 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && 15830 as_expr=false
16276 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || 15831 fi
16277 { LC_MESSAGES=C; export LC_MESSAGES; } 15832
15833 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
15834 as_basename=basename
15835 else
15836 as_basename=false
15837 fi
16278 15838
16279 15839
16280 # Name of the executable. 15840 # Name of the executable.
16281 as_me=`(basename "$0") 2>/dev/null || 15841 as_me=`$as_basename "$0" ||
16282 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 15842 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16283 X"$0" : 'X\(//\)$' \| \ 15843 X"$0" : 'X\(//\)$' \| \
16284 X"$0" : 'X\(/\)$' \| \ 15844 X"$0" : 'X\(/\)$' \| \
16285 . : '\(.\)' 2>/dev/null || 15845 . : '\(.\)' 2>/dev/null ||
16286 echo X/"$0" | 15846 echo X/"$0" |
16287 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 15847 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
16288 /^X\/\(\/\/\)$/{ s//\1/; q; } 15848 /^X\/\(\/\/\)$/{ s//\1/; q; }
16289 /^X\/\(\/\).*/{ s//\1/; q; } 15849 /^X\/\(\/\).*/{ s//\1/; q; }
16290 s/.*/./; q'` 15850 s/.*/./; q'`
16291 15851
15852
16292 # PATH needs CR, and LINENO needs CR and PATH. 15853 # PATH needs CR, and LINENO needs CR and PATH.
16293 # Avoid depending upon Character Ranges. 15854 # Avoid depending upon Character Ranges.
16294 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 15855 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16295 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 15856 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16296 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 15857 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16300 # The user is always right. 15861 # The user is always right.
16301 if test "${PATH_SEPARATOR+set}" != set; then 15862 if test "${PATH_SEPARATOR+set}" != set; then
16302 echo "#! /bin/sh" >conftest.sh 15863 echo "#! /bin/sh" >conftest.sh
16303 echo "exit 0" >>conftest.sh 15864 echo "exit 0" >>conftest.sh
16304 chmod +x conftest.sh 15865 chmod +x conftest.sh
16305 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then 15866 if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
16306 PATH_SEPARATOR=';' 15867 PATH_SEPARATOR=';'
16307 else 15868 else
16308 PATH_SEPARATOR=: 15869 PATH_SEPARATOR=:
16309 fi 15870 fi
16310 rm -f conftest.sh 15871 rm -f conftest.sh
16354 as_lineno_1=$LINENO 15915 as_lineno_1=$LINENO
16355 as_lineno_2=$LINENO 15916 as_lineno_2=$LINENO
16356 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 15917 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
16357 test "x$as_lineno_1" != "x$as_lineno_2" && 15918 test "x$as_lineno_1" != "x$as_lineno_2" &&
16358 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 15919 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
15920 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
15921 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
16359 CONFIG_SHELL=$as_dir/$as_base 15922 CONFIG_SHELL=$as_dir/$as_base
16360 export CONFIG_SHELL 15923 export CONFIG_SHELL
16361 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 15924 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
16362 fi;; 15925 fi;;
16363 esac 15926 esac
16427 else 15990 else
16428 as_ln_s='cp -p' 15991 as_ln_s='cp -p'
16429 fi 15992 fi
16430 rm -f conf$$ conf$$.exe conf$$.file 15993 rm -f conf$$ conf$$.exe conf$$.file
16431 15994
15995 if mkdir -p . 2>/dev/null; then
15996 as_mkdir_p=:
15997 else
15998 as_mkdir_p=false
15999 fi
16000
16432 as_executable_p="test -f" 16001 as_executable_p="test -f"
16433 16002
16434 # Sed expression to map a string onto a valid CPP name. 16003 # Sed expression to map a string onto a valid CPP name.
16435 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 16004 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
16436 16005
16443 as_nl=' 16012 as_nl='
16444 ' 16013 '
16445 IFS=" $as_nl" 16014 IFS=" $as_nl"
16446 16015
16447 # CDPATH. 16016 # CDPATH.
16448 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } 16017 $as_unset CDPATH
16449 16018
16450 exec 6>&1 16019 exec 6>&1
16451 16020
16452 # Open the log real soon, to keep \$[0] and so on meaningful, and to 16021 # Open the log real soon, to keep \$[0] and so on meaningful, and to
16453 # report actual input values of CONFIG_FILES etc. instead of their 16022 # report actual input values of CONFIG_FILES etc. instead of their
16460 _ASBOX 16029 _ASBOX
16461 } >&5 16030 } >&5
16462 cat >&5 <<_CSEOF 16031 cat >&5 <<_CSEOF
16463 16032
16464 This file was extended by $as_me, which was 16033 This file was extended by $as_me, which was
16465 generated by GNU Autoconf 2.53. Invocation command line was 16034 generated by GNU Autoconf 2.54. Invocation command line was
16466 16035
16467 CONFIG_FILES = $CONFIG_FILES 16036 CONFIG_FILES = $CONFIG_FILES
16468 CONFIG_HEADERS = $CONFIG_HEADERS 16037 CONFIG_HEADERS = $CONFIG_HEADERS
16469 CONFIG_LINKS = $CONFIG_LINKS 16038 CONFIG_LINKS = $CONFIG_LINKS
16470 CONFIG_COMMANDS = $CONFIG_COMMANDS 16039 CONFIG_COMMANDS = $CONFIG_COMMANDS
16522 _ACEOF 16091 _ACEOF
16523 16092
16524 cat >>$CONFIG_STATUS <<_ACEOF 16093 cat >>$CONFIG_STATUS <<_ACEOF
16525 ac_cs_version="\\ 16094 ac_cs_version="\\
16526 config.status 16095 config.status
16527 configured by $0, generated by GNU Autoconf 2.53, 16096 configured by $0, generated by GNU Autoconf 2.54,
16528 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 16097 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
16529 16098
16530 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 16099 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
16531 Free Software Foundation, Inc. 16100 Free Software Foundation, Inc.
16532 This config.status script is free software; the Free Software Foundation 16101 This config.status script is free software; the Free Software Foundation
16543 do 16112 do
16544 case $1 in 16113 case $1 in
16545 --*=*) 16114 --*=*)
16546 ac_option=`expr "x$1" : 'x\([^=]*\)='` 16115 ac_option=`expr "x$1" : 'x\([^=]*\)='`
16547 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 16116 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
16548 shift 16117 ac_shift=:
16549 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
16550 shift
16551 ;; 16118 ;;
16552 -*);; 16119 -*)
16120 ac_option=$1
16121 ac_optarg=$2
16122 ac_shift=shift
16123 ;;
16553 *) # This is not an option, so the user has probably given explicit 16124 *) # This is not an option, so the user has probably given explicit
16554 # arguments. 16125 # arguments.
16126 ac_option=$1
16555 ac_need_defaults=false;; 16127 ac_need_defaults=false;;
16556 esac 16128 esac
16557 16129
16558 case $1 in 16130 case $ac_option in
16559 # Handling of the options. 16131 # Handling of the options.
16560 _ACEOF 16132 _ACEOF
16561 cat >>$CONFIG_STATUS <<_ACEOF 16133 cat >>$CONFIG_STATUS <<_ACEOF
16562 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 16134 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16563 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" 16135 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
16576 --help | --hel | -h ) 16148 --help | --hel | -h )
16577 echo "$ac_cs_usage"; exit 0 ;; 16149 echo "$ac_cs_usage"; exit 0 ;;
16578 --debug | --d* | -d ) 16150 --debug | --d* | -d )
16579 debug=: ;; 16151 debug=: ;;
16580 --file | --fil | --fi | --f ) 16152 --file | --fil | --fi | --f )
16581 shift 16153 $ac_shift
16582 CONFIG_FILES="$CONFIG_FILES $1" 16154 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
16583 ac_need_defaults=false;; 16155 ac_need_defaults=false;;
16584 --header | --heade | --head | --hea ) 16156 --header | --heade | --head | --hea )
16585 shift 16157 $ac_shift
16586 CONFIG_HEADERS="$CONFIG_HEADERS $1" 16158 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
16587 ac_need_defaults=false;; 16159 ac_need_defaults=false;;
16588 16160
16589 # This is an error. 16161 # This is an error.
16590 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 16162 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
16591 Try \`$0 --help' for more information." >&5 16163 Try \`$0 --help' for more information." >&5
16731 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 16303 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
16732 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 16304 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
16733 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 16305 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
16734 s,@RANLIB@,$RANLIB,;t t 16306 s,@RANLIB@,$RANLIB,;t t
16735 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 16307 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
16308 s,@EGREP@,$EGREP,;t t
16736 s,@LIBSOUND@,$LIBSOUND,;t t 16309 s,@LIBSOUND@,$LIBSOUND,;t t
16737 s,@SET_MAKE@,$SET_MAKE,;t t 16310 s,@SET_MAKE@,$SET_MAKE,;t t
16738 s,@ALLOCA@,$ALLOCA,;t t 16311 s,@ALLOCA@,$ALLOCA,;t t
16739 s,@liblockfile@,$liblockfile,;t t 16312 s,@liblockfile@,$liblockfile,;t t
16740 s,@LIBOBJS@,$LIBOBJS,;t t 16313 s,@LIBOBJS@,$LIBOBJS,;t t
16761 s,@LD_SWITCH_X_SITE_AUX@,$LD_SWITCH_X_SITE_AUX,;t t 16334 s,@LD_SWITCH_X_SITE_AUX@,$LD_SWITCH_X_SITE_AUX,;t t
16762 s,@C_SWITCH_X_SITE@,$C_SWITCH_X_SITE,;t t 16335 s,@C_SWITCH_X_SITE@,$C_SWITCH_X_SITE,;t t
16763 s,@X_TOOLKIT_TYPE@,$X_TOOLKIT_TYPE,;t t 16336 s,@X_TOOLKIT_TYPE@,$X_TOOLKIT_TYPE,;t t
16764 s,@machfile@,$machfile,;t t 16337 s,@machfile@,$machfile,;t t
16765 s,@opsysfile@,$opsysfile,;t t 16338 s,@opsysfile@,$opsysfile,;t t
16339 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
16766 CEOF 16340 CEOF
16767 16341
16768 _ACEOF 16342 _ACEOF
16769 16343
16770 cat >>$CONFIG_STATUS <<\_ACEOF 16344 cat >>$CONFIG_STATUS <<\_ACEOF
16831 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 16405 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16832 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 16406 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16833 /^X\(\/\/\)$/{ s//\1/; q; } 16407 /^X\(\/\/\)$/{ s//\1/; q; }
16834 /^X\(\/\).*/{ s//\1/; q; } 16408 /^X\(\/\).*/{ s//\1/; q; }
16835 s/.*/./; q'` 16409 s/.*/./; q'`
16836 { case "$ac_dir" in 16410 { if $as_mkdir_p; then
16837 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 16411 mkdir -p "$ac_dir"
16838 *) as_incr_dir=.;; 16412 else
16839 esac 16413 as_dir="$ac_dir"
16840 as_dummy="$ac_dir" 16414 as_dirs=
16841 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 16415 while test ! -d "$as_dir"; do
16842 case $as_mkdir_dir in 16416 as_dirs="$as_dir $as_dirs"
16843 # Skip DOS drivespec 16417 as_dir=`(dirname "$as_dir") 2>/dev/null ||
16844 ?:) as_incr_dir=$as_mkdir_dir ;; 16418 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16845 *) 16419 X"$as_dir" : 'X\(//\)[^/]' \| \
16846 as_incr_dir=$as_incr_dir/$as_mkdir_dir 16420 X"$as_dir" : 'X\(//\)$' \| \
16847 test -d "$as_incr_dir" || 16421 X"$as_dir" : 'X\(/\)' \| \
16848 mkdir "$as_incr_dir" || 16422 . : '\(.\)' 2>/dev/null ||
16849 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 16423 echo X"$as_dir" |
16850 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} 16424 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16851 { (exit 1); exit 1; }; } 16425 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16852 ;; 16426 /^X\(\/\/\)$/{ s//\1/; q; }
16853 esac 16427 /^X\(\/\).*/{ s//\1/; q; }
16854 done; } 16428 s/.*/./; q'`
16429 done
16430 test ! -n "$as_dirs" || mkdir $as_dirs
16431 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16432 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16433 { (exit 1); exit 1; }; }; }
16855 16434
16856 ac_builddir=. 16435 ac_builddir=.
16857 16436
16858 if test "$ac_dir" != .; then 16437 if test "$ac_dir" != .; then
16859 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 16438 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16879 ac_top_srcdir=$ac_top_builddir$srcdir ;; 16458 ac_top_srcdir=$ac_top_builddir$srcdir ;;
16880 esac 16459 esac
16881 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 16460 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
16882 # absolute. 16461 # absolute.
16883 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 16462 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
16884 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` 16463 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
16885 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 16464 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
16886 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 16465 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
16887 16466
16888 16467
16889 case $INSTALL in 16468 case $INSTALL in
17069 _ACEOF 16648 _ACEOF
17070 16649
17071 # Break up conftest.defines because some shells have a limit on the size 16650 # Break up conftest.defines because some shells have a limit on the size
17072 # of here documents, and old seds have small limits too (100 cmds). 16651 # of here documents, and old seds have small limits too (100 cmds).
17073 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 16652 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
17074 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 16653 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
17075 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 16654 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
17076 echo ' :' >>$CONFIG_STATUS 16655 echo ' :' >>$CONFIG_STATUS
17077 rm -f conftest.tail 16656 rm -f conftest.tail
17078 while grep . conftest.defines >/dev/null 16657 while grep . conftest.defines >/dev/null
17079 do 16658 do
17093 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 16672 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
17094 rm -f conftest.defines 16673 rm -f conftest.defines
17095 mv conftest.tail conftest.defines 16674 mv conftest.tail conftest.defines
17096 done 16675 done
17097 rm -f conftest.defines 16676 rm -f conftest.defines
17098 echo ' fi # egrep' >>$CONFIG_STATUS 16677 echo ' fi # grep' >>$CONFIG_STATUS
17099 echo >>$CONFIG_STATUS 16678 echo >>$CONFIG_STATUS
17100 16679
17101 # Break up conftest.undefs because some shells have a limit on the size 16680 # Break up conftest.undefs because some shells have a limit on the size
17102 # of here documents, and old seds have small limits too (100 cmds). 16681 # of here documents, and old seds have small limits too (100 cmds).
17103 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 16682 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
17149 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 16728 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17150 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 16729 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17151 /^X\(\/\/\)$/{ s//\1/; q; } 16730 /^X\(\/\/\)$/{ s//\1/; q; }
17152 /^X\(\/\).*/{ s//\1/; q; } 16731 /^X\(\/\).*/{ s//\1/; q; }
17153 s/.*/./; q'` 16732 s/.*/./; q'`
17154 { case "$ac_dir" in 16733 { if $as_mkdir_p; then
17155 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 16734 mkdir -p "$ac_dir"
17156 *) as_incr_dir=.;; 16735 else
17157 esac 16736 as_dir="$ac_dir"
17158 as_dummy="$ac_dir" 16737 as_dirs=
17159 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 16738 while test ! -d "$as_dir"; do
17160 case $as_mkdir_dir in 16739 as_dirs="$as_dir $as_dirs"
17161 # Skip DOS drivespec 16740 as_dir=`(dirname "$as_dir") 2>/dev/null ||
17162 ?:) as_incr_dir=$as_mkdir_dir ;; 16741 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17163 *) 16742 X"$as_dir" : 'X\(//\)[^/]' \| \
17164 as_incr_dir=$as_incr_dir/$as_mkdir_dir 16743 X"$as_dir" : 'X\(//\)$' \| \
17165 test -d "$as_incr_dir" || 16744 X"$as_dir" : 'X\(/\)' \| \
17166 mkdir "$as_incr_dir" || 16745 . : '\(.\)' 2>/dev/null ||
17167 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 16746 echo X"$as_dir" |
17168 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} 16747 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17169 { (exit 1); exit 1; }; } 16748 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17170 ;; 16749 /^X\(\/\/\)$/{ s//\1/; q; }
17171 esac 16750 /^X\(\/\).*/{ s//\1/; q; }
17172 done; } 16751 s/.*/./; q'`
16752 done
16753 test ! -n "$as_dirs" || mkdir $as_dirs
16754 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16755 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16756 { (exit 1); exit 1; }; }; }
17173 16757
17174 rm -f $ac_file 16758 rm -f $ac_file
17175 mv $tmp/config.h $ac_file 16759 mv $tmp/config.h $ac_file
17176 fi 16760 fi
17177 else 16761 else
17226 ac_top_srcdir=$ac_top_builddir$srcdir ;; 16810 ac_top_srcdir=$ac_top_builddir$srcdir ;;
17227 esac 16811 esac
17228 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 16812 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
17229 # absolute. 16813 # absolute.
17230 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 16814 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
17231 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` 16815 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
17232 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 16816 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
17233 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 16817 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
17234 16818
17235 16819
17236 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 16820 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5