comparison configure @ 431:561acf6de39a

Changes for MacOS X.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 27 May 2003 21:23:42 +0000
parents a8015e02b590
children 0b52875e1588
comparison
equal deleted inserted replaced
430:636a8a19f6c8 431:561acf6de39a
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.57.
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 \
46 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
47 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
48 { LC_CTYPE=C; export LC_CTYPE; } 42 LC_TELEPHONE LC_TIME
49 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && 43 do
50 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || 44 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
51 { LANGUAGE=C; export LANGUAGE; } 45 eval $as_var=C; export $as_var
52 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && 46 else
53 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || 47 $as_unset $as_var
54 { LC_COLLATE=C; export LC_COLLATE; } 48 fi
55 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && 49 done
56 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || 50
57 { LC_NUMERIC=C; export LC_NUMERIC; } 51 # Required to use basename.
58 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && 52 if expr a : '\(a\)' >/dev/null 2>&1; then
59 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || 53 as_expr=expr
60 { LC_MESSAGES=C; export LC_MESSAGES; } 54 else
55 as_expr=false
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
62 fi
61 63
62 64
63 # Name of the executable. 65 # Name of the executable.
64 as_me=`(basename "$0") 2>/dev/null || 66 as_me=`$as_basename "$0" ||
65 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66 X"$0" : 'X\(//\)$' \| \ 68 X"$0" : 'X\(//\)$' \| \
67 X"$0" : 'X\(/\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \
68 . : '\(.\)' 2>/dev/null || 70 . : '\(.\)' 2>/dev/null ||
69 echo X/"$0" | 71 echo X/"$0" |
70 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
71 /^X\/\(\/\/\)$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; }
72 /^X\/\(\/\).*/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; }
73 s/.*/./; q'` 75 s/.*/./; q'`
74 76
77
75 # PATH needs CR, and LINENO needs CR and PATH. 78 # PATH needs CR, and LINENO needs CR and PATH.
76 # Avoid depending upon Character Ranges. 79 # Avoid depending upon Character Ranges.
77 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80 as_cr_digits='0123456789' 83 as_cr_digits='0123456789'
81 as_cr_alnum=$as_cr_Letters$as_cr_digits 84 as_cr_alnum=$as_cr_Letters$as_cr_digits
82 85
83 # The user is always right. 86 # The user is always right.
84 if test "${PATH_SEPARATOR+set}" != set; then 87 if test "${PATH_SEPARATOR+set}" != set; then
85 echo "#! /bin/sh" >conftest.sh 88 echo "#! /bin/sh" >conf$$.sh
86 echo "exit 0" >>conftest.sh 89 echo "exit 0" >>conf$$.sh
87 chmod +x conftest.sh 90 chmod +x conf$$.sh
88 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
89 PATH_SEPARATOR=';' 92 PATH_SEPARATOR=';'
90 else 93 else
91 PATH_SEPARATOR=: 94 PATH_SEPARATOR=:
92 fi 95 fi
93 rm -f conftest.sh 96 rm -f conf$$.sh
94 fi 97 fi
95 98
96 99
97 as_lineno_1=$LINENO 100 as_lineno_1=$LINENO
98 as_lineno_2=$LINENO 101 as_lineno_2=$LINENO
136 as_lineno_1=$LINENO 139 as_lineno_1=$LINENO
137 as_lineno_2=$LINENO 140 as_lineno_2=$LINENO
138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139 test "x$as_lineno_1" != "x$as_lineno_2" && 142 test "x$as_lineno_1" != "x$as_lineno_2" &&
140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
141 CONFIG_SHELL=$as_dir/$as_base 146 CONFIG_SHELL=$as_dir/$as_base
142 export CONFIG_SHELL 147 export CONFIG_SHELL
143 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
144 fi;; 149 fi;;
145 esac 150 esac
208 else 213 else
209 as_ln_s='cp -p' 214 as_ln_s='cp -p'
210 fi 215 fi
211 rm -f conf$$ conf$$.exe conf$$.file 216 rm -f conf$$ conf$$.exe conf$$.file
212 217
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 as_mkdir_p=false
222 fi
223
213 as_executable_p="test -f" 224 as_executable_p="test -f"
214 225
215 # Sed expression to map a string onto a valid CPP name. 226 # 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" 227 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
217 228
224 as_nl=' 235 as_nl='
225 ' 236 '
226 IFS=" $as_nl" 237 IFS=" $as_nl"
227 238
228 # CDPATH. 239 # CDPATH.
229 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } 240 $as_unset CDPATH
230 241
231 242
232 # Name of the host. 243 # Name of the host.
233 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
234 # so uname gets run too. 245 # so uname gets run too.
238 249
239 # 250 #
240 # Initializations. 251 # Initializations.
241 # 252 #
242 ac_default_prefix=/usr/local 253 ac_default_prefix=/usr/local
254 ac_config_libobj_dir=.
243 cross_compiling=no 255 cross_compiling=no
244 subdirs= 256 subdirs=
245 MFLAGS= 257 MFLAGS=
246 MAKEFLAGS= 258 MAKEFLAGS=
247 SHELL=${CONFIG_SHELL-/bin/sh} 259 SHELL=${CONFIG_SHELL-/bin/sh}
294 #endif 306 #endif
295 #if HAVE_UNISTD_H 307 #if HAVE_UNISTD_H
296 # include <unistd.h> 308 # include <unistd.h>
297 #endif" 309 #endif"
298 310
311 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 DW_MAJOR_VERSION DW_MINOR_VERSION DW_SUB_VERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MAKE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CPP EGREP PKG_CFG GLIB_CONFIG GLIB_CFLAGS GLIB_LIBS GTK_CONFIG GTK_CFLAGS GTK_LIBS IMLIB_CONFIG GDK_IMLIB_CFLAGS GDK_IMLIB_LIBS INCLUDES RM LN CP MV MKDIR SHAREDFLAG DW_SRC DW_DEFINE LIBOBJS LTLIBOBJS'
312 ac_subst_files=''
299 313
300 # Initialize some variables set by options. 314 # Initialize some variables set by options.
301 ac_init_help= 315 ac_init_help=
302 ac_init_version=false 316 ac_init_version=false
303 # The variables have the same names as the options, with 317 # The variables have the same names as the options, with
717 else 731 else
718 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
719 { (exit 1); exit 1; }; } 733 { (exit 1); exit 1; }; }
720 fi 734 fi
721 fi 735 fi
736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
722 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
723 ac_env_build_alias_set=${build_alias+set} 740 ac_env_build_alias_set=${build_alias+set}
724 ac_env_build_alias_value=$build_alias 741 ac_env_build_alias_value=$build_alias
725 ac_cv_env_build_alias_set=${build_alias+set} 742 ac_cv_env_build_alias_set=${build_alias+set}
726 ac_cv_env_build_alias_value=$build_alias 743 ac_cv_env_build_alias_value=$build_alias
882 ac_top_srcdir=$ac_top_builddir$srcdir ;; 899 ac_top_srcdir=$ac_top_builddir$srcdir ;;
883 esac 900 esac
884 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 901 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
885 # absolute. 902 # absolute.
886 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 903 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
887 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` 904 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
888 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 905 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
889 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 906 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
890 907
891 cd $ac_dir 908 cd $ac_dir
892 # Check for guested configure; otherwise get Cygnus style configure. 909 # Check for guested configure; otherwise get Cygnus style configure.
922 cat >&5 <<_ACEOF 939 cat >&5 <<_ACEOF
923 This file contains any messages produced by compilers while 940 This file contains any messages produced by compilers while
924 running configure, to aid debugging if configure makes a mistake. 941 running configure, to aid debugging if configure makes a mistake.
925 942
926 It was created by $as_me, which was 943 It was created by $as_me, which was
927 generated by GNU Autoconf 2.53. Invocation command line was 944 generated by GNU Autoconf 2.57. Invocation command line was
928 945
929 $ $0 $@ 946 $ $0 $@
930 947
931 _ACEOF 948 _ACEOF
932 { 949 {
974 _ACEOF 991 _ACEOF
975 992
976 993
977 # Keep a trace of the command line. 994 # Keep a trace of the command line.
978 # Strip out --no-create and --no-recursion so they do not pile up. 995 # Strip out --no-create and --no-recursion so they do not pile up.
996 # Strip out --silent because we don't want to record it for future runs.
979 # Also quote any args containing shell meta-characters. 997 # Also quote any args containing shell meta-characters.
998 # Make two passes to allow for proper duplicate-argument suppression.
980 ac_configure_args= 999 ac_configure_args=
1000 ac_configure_args0=
1001 ac_configure_args1=
981 ac_sep= 1002 ac_sep=
982 for ac_arg 1003 ac_must_keep_next=false
1004 for ac_pass in 1 2
983 do 1005 do
984 case $ac_arg in 1006 for ac_arg
985 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1007 do
986 | --no-cr | --no-c | -n ) continue ;; 1008 case $ac_arg in
987 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1009 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
988 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1010 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
989 continue ;; 1011 | -silent | --silent | --silen | --sile | --sil)
990 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1012 continue ;;
991 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1013 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
992 esac 1014 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
993 case " $ac_configure_args " in 1015 esac
994 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1016 case $ac_pass in
995 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1017 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
996 ac_sep=" " ;; 1018 2)
997 esac 1019 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
998 # Get rid of the leading space. 1020 if test $ac_must_keep_next = true; then
1021 ac_must_keep_next=false # Got value, back to normal.
1022 else
1023 case $ac_arg in
1024 *=* | --config-cache | -C | -disable-* | --disable-* \
1025 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1026 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1027 | -with-* | --with-* | -without-* | --without-* | --x)
1028 case "$ac_configure_args0 " in
1029 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1030 esac
1031 ;;
1032 -* ) ac_must_keep_next=true ;;
1033 esac
1034 fi
1035 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1036 # Get rid of the leading space.
1037 ac_sep=" "
1038 ;;
1039 esac
1040 done
999 done 1041 done
1042 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1043 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1000 1044
1001 # When interrupted or exit'd, cleanup temporary files, and complete 1045 # When interrupted or exit'd, cleanup temporary files, and complete
1002 # config.log. We remove comments because anyway the quotes in there 1046 # config.log. We remove comments because anyway the quotes in there
1003 # would cause problems or look ugly. 1047 # would cause problems or look ugly.
1004 # WARNING: Be sure not to use single quotes in there, as some shells, 1048 # WARNING: Be sure not to use single quotes in there, as some shells,
1005 # such as our DU 5.0 friend, will then `close' the trap. 1049 # such as our DU 5.0 friend, will then `close' the trap.
1006 trap 'exit_status=$? 1050 trap 'exit_status=$?
1007 # Save into config.log some information that might help in debugging. 1051 # Save into config.log some information that might help in debugging.
1008 { 1052 {
1009 echo 1053 echo
1054
1010 cat <<\_ASBOX 1055 cat <<\_ASBOX
1011 ## ---------------- ## 1056 ## ---------------- ##
1012 ## Cache variables. ## 1057 ## Cache variables. ##
1013 ## ---------------- ## 1058 ## ---------------- ##
1014 _ASBOX 1059 _ASBOX
1027 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1072 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1028 ;; 1073 ;;
1029 esac; 1074 esac;
1030 } 1075 }
1031 echo 1076 echo
1077
1078 cat <<\_ASBOX
1079 ## ----------------- ##
1080 ## Output variables. ##
1081 ## ----------------- ##
1082 _ASBOX
1083 echo
1084 for ac_var in $ac_subst_vars
1085 do
1086 eval ac_val=$`echo $ac_var`
1087 echo "$ac_var='"'"'$ac_val'"'"'"
1088 done | sort
1089 echo
1090
1091 if test -n "$ac_subst_files"; then
1092 cat <<\_ASBOX
1093 ## ------------- ##
1094 ## Output files. ##
1095 ## ------------- ##
1096 _ASBOX
1097 echo
1098 for ac_var in $ac_subst_files
1099 do
1100 eval ac_val=$`echo $ac_var`
1101 echo "$ac_var='"'"'$ac_val'"'"'"
1102 done | sort
1103 echo
1104 fi
1105
1032 if test -s confdefs.h; then 1106 if test -s confdefs.h; then
1033 cat <<\_ASBOX 1107 cat <<\_ASBOX
1034 ## ----------- ## 1108 ## ----------- ##
1035 ## confdefs.h. ## 1109 ## confdefs.h. ##
1036 ## ----------- ## 1110 ## ----------- ##
1037 _ASBOX 1111 _ASBOX
1038 echo 1112 echo
1039 sed "/^$/d" confdefs.h 1113 sed "/^$/d" confdefs.h | sort
1040 echo 1114 echo
1041 fi 1115 fi
1042 test "$ac_signal" != 0 && 1116 test "$ac_signal" != 0 &&
1043 echo "$as_me: caught signal $ac_signal" 1117 echo "$as_me: caught signal $ac_signal"
1044 echo "$as_me: exit $exit_status" 1118 echo "$as_me: exit $exit_status"
1191 1265
1192 1266
1193 1267
1194 1268
1195 1269
1196 ac_config_headers="$ac_config_headers config.h" 1270
1271 ac_config_headers="$ac_config_headers config.h"
1197 1272
1198 1273
1199 DW_MAJOR_VERSION=1 1274 DW_MAJOR_VERSION=1
1200 DW_MINOR_VERSION=0 1275 DW_MINOR_VERSION=0
1201 DW_SUB_VERSION=0 1276 DW_SUB_VERSION=0
1202 1277
1203 DW_SRC=gtk 1278 DW_SRC=gtk
1204 DW_DEFINE=__UNIX__ 1279 DW_DEFINE=__UNIX__
1280 SHAREDFLAG=-shared
1205 1281
1206 1282
1207 1283
1208 1284
1209 INCLUDES="-I." 1285 INCLUDES="-I."
1410 if test $# != 0; then 1486 if test $# != 0; then
1411 # We chose a different compiler from the bogus one. 1487 # We chose a different compiler from the bogus one.
1412 # However, it has the same basename, so the bogon will be chosen 1488 # However, it has the same basename, so the bogon will be chosen
1413 # first if we set CC to just the basename; use the full file name. 1489 # first if we set CC to just the basename; use the full file name.
1414 shift 1490 shift
1415 set dummy "$as_dir/$ac_word" ${1+"$@"} 1491 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1416 shift
1417 ac_cv_prog_CC="$@"
1418 fi 1492 fi
1419 fi 1493 fi
1420 fi 1494 fi
1421 fi 1495 fi
1422 CC=$ac_cv_prog_CC 1496 CC=$ac_cv_prog_CC
1517 fi 1591 fi
1518 1592
1519 fi 1593 fi
1520 1594
1521 1595
1522 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5 1596 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1523 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;} 1597 See \`config.log' for more details." >&5
1598 echo "$as_me: error: no acceptable C compiler found in \$PATH
1599 See \`config.log' for more details." >&2;}
1524 { (exit 1); exit 1; }; } 1600 { (exit 1); exit 1; }; }
1525 1601
1526 # Provide some information about the compiler. 1602 # Provide some information about the compiler.
1527 echo "$as_me:$LINENO:" \ 1603 echo "$as_me:$LINENO:" \
1528 "checking for C compiler version" >&5 1604 "checking for C compiler version" >&5
1543 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1544 (exit $ac_status); } 1620 (exit $ac_status); }
1545 1621
1546 cat >conftest.$ac_ext <<_ACEOF 1622 cat >conftest.$ac_ext <<_ACEOF
1547 #line $LINENO "configure" 1623 #line $LINENO "configure"
1548 #include "confdefs.h" 1624 /* confdefs.h. */
1549 1625 _ACEOF
1550 #ifdef F77_DUMMY_MAIN 1626 cat confdefs.h >>conftest.$ac_ext
1551 # ifdef __cplusplus 1627 cat >>conftest.$ac_ext <<_ACEOF
1552 extern "C" 1628 /* end confdefs.h. */
1553 # endif 1629
1554 int F77_DUMMY_MAIN() { return 1; }
1555 #endif
1556 int 1630 int
1557 main () 1631 main ()
1558 { 1632 {
1559 1633
1560 ; 1634 ;
1561 return 0; 1635 return 0;
1562 } 1636 }
1563 _ACEOF 1637 _ACEOF
1564 ac_clean_files_save=$ac_clean_files 1638 ac_clean_files_save=$ac_clean_files
1565 ac_clean_files="$ac_clean_files a.out a.exe" 1639 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1566 # Try to create an executable without -o first, disregard a.out. 1640 # Try to create an executable without -o first, disregard a.out.
1567 # It will help us diagnose broken compilers, and finding out an intuition 1641 # It will help us diagnose broken compilers, and finding out an intuition
1568 # of exeext. 1642 # of exeext.
1569 echo "$as_me:$LINENO: checking for C compiler default output" >&5 1643 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1570 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 1644 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1579 # resort. 1653 # resort.
1580 1654
1581 # Be careful to initialize this variable, since it used to be cached. 1655 # Be careful to initialize this variable, since it used to be cached.
1582 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1656 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1583 ac_cv_exeext= 1657 ac_cv_exeext=
1584 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null; 1658 # b.out is created by i960 compilers.
1585 ls a.out conftest 2>/dev/null; 1659 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1586 ls a.* conftest.* 2>/dev/null`; do 1660 do
1661 test -f "$ac_file" || continue
1587 case $ac_file in 1662 case $ac_file in
1588 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;; 1663 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1589 a.out ) # We found the default executable, but exeext='' is most 1664 ;;
1590 # certainly right. 1665 conftest.$ac_ext )
1591 break;; 1666 # This is the source file.
1592 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1667 ;;
1593 # FIXME: I believe we export ac_cv_exeext for Libtool --akim. 1668 [ab].out )
1594 export ac_cv_exeext 1669 # We found the default executable, but exeext='' is most
1595 break;; 1670 # certainly right.
1596 * ) break;; 1671 break;;
1672 *.* )
1673 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1674 # FIXME: I believe we export ac_cv_exeext for Libtool,
1675 # but it would be cool to find out if it's true. Does anybody
1676 # maintain Libtool? --akim.
1677 export ac_cv_exeext
1678 break;;
1679 * )
1680 break;;
1597 esac 1681 esac
1598 done 1682 done
1599 else 1683 else
1600 echo "$as_me: failed program was:" >&5 1684 echo "$as_me: failed program was:" >&5
1601 cat conftest.$ac_ext >&5 1685 sed 's/^/| /' conftest.$ac_ext >&5
1602 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5 1686
1603 echo "$as_me: error: C compiler cannot create executables" >&2;} 1687 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1688 See \`config.log' for more details." >&5
1689 echo "$as_me: error: C compiler cannot create executables
1690 See \`config.log' for more details." >&2;}
1604 { (exit 77); exit 77; }; } 1691 { (exit 77); exit 77; }; }
1605 fi 1692 fi
1606 1693
1607 ac_exeext=$ac_cv_exeext 1694 ac_exeext=$ac_cv_exeext
1608 echo "$as_me:$LINENO: result: $ac_file" >&5 1695 echo "$as_me:$LINENO: result: $ac_file" >&5
1625 else 1712 else
1626 if test "$cross_compiling" = maybe; then 1713 if test "$cross_compiling" = maybe; then
1627 cross_compiling=yes 1714 cross_compiling=yes
1628 else 1715 else
1629 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 1716 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1630 If you meant to cross compile, use \`--host'." >&5 1717 If you meant to cross compile, use \`--host'.
1718 See \`config.log' for more details." >&5
1631 echo "$as_me: error: cannot run C compiled programs. 1719 echo "$as_me: error: cannot run C compiled programs.
1632 If you meant to cross compile, use \`--host'." >&2;} 1720 If you meant to cross compile, use \`--host'.
1721 See \`config.log' for more details." >&2;}
1633 { (exit 1); exit 1; }; } 1722 { (exit 1); exit 1; }; }
1634 fi 1723 fi
1635 fi 1724 fi
1636 fi 1725 fi
1637 echo "$as_me:$LINENO: result: yes" >&5 1726 echo "$as_me:$LINENO: result: yes" >&5
1638 echo "${ECHO_T}yes" >&6 1727 echo "${ECHO_T}yes" >&6
1639 1728
1640 rm -f a.out a.exe conftest$ac_cv_exeext 1729 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1641 ac_clean_files=$ac_clean_files_save 1730 ac_clean_files=$ac_clean_files_save
1642 # Check the compiler produces executables we can run. If not, either 1731 # Check the compiler produces executables we can run. If not, either
1643 # the compiler is broken, or we cross compile. 1732 # the compiler is broken, or we cross compile.
1644 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1733 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1645 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1734 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1655 (exit $ac_status); }; then 1744 (exit $ac_status); }; then
1656 # If both `conftest.exe' and `conftest' are `present' (well, observable) 1745 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1657 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 1746 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1658 # work properly (i.e., refer to `conftest.exe'), while it won't with 1747 # work properly (i.e., refer to `conftest.exe'), while it won't with
1659 # `rm'. 1748 # `rm'.
1660 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do 1749 for ac_file in conftest.exe conftest conftest.*; do
1750 test -f "$ac_file" || continue
1661 case $ac_file in 1751 case $ac_file in
1662 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 1752 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1663 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1753 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1664 export ac_cv_exeext 1754 export ac_cv_exeext
1665 break;; 1755 break;;
1666 * ) break;; 1756 * ) break;;
1667 esac 1757 esac
1668 done 1758 done
1669 else 1759 else
1670 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5 1760 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1671 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;} 1761 See \`config.log' for more details." >&5
1762 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1763 See \`config.log' for more details." >&2;}
1672 { (exit 1); exit 1; }; } 1764 { (exit 1); exit 1; }; }
1673 fi 1765 fi
1674 1766
1675 rm -f conftest$ac_cv_exeext 1767 rm -f conftest$ac_cv_exeext
1676 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 1768 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1684 if test "${ac_cv_objext+set}" = set; then 1776 if test "${ac_cv_objext+set}" = set; then
1685 echo $ECHO_N "(cached) $ECHO_C" >&6 1777 echo $ECHO_N "(cached) $ECHO_C" >&6
1686 else 1778 else
1687 cat >conftest.$ac_ext <<_ACEOF 1779 cat >conftest.$ac_ext <<_ACEOF
1688 #line $LINENO "configure" 1780 #line $LINENO "configure"
1689 #include "confdefs.h" 1781 /* confdefs.h. */
1690 1782 _ACEOF
1691 #ifdef F77_DUMMY_MAIN 1783 cat confdefs.h >>conftest.$ac_ext
1692 # ifdef __cplusplus 1784 cat >>conftest.$ac_ext <<_ACEOF
1693 extern "C" 1785 /* end confdefs.h. */
1694 # endif 1786
1695 int F77_DUMMY_MAIN() { return 1; }
1696 #endif
1697 int 1787 int
1698 main () 1788 main ()
1699 { 1789 {
1700 1790
1701 ; 1791 ;
1708 ac_status=$? 1798 ac_status=$?
1709 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1710 (exit $ac_status); }; then 1800 (exit $ac_status); }; then
1711 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 1801 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1712 case $ac_file in 1802 case $ac_file in
1713 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; 1803 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1714 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1804 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1715 break;; 1805 break;;
1716 esac 1806 esac
1717 done 1807 done
1718 else 1808 else
1719 echo "$as_me: failed program was:" >&5 1809 echo "$as_me: failed program was:" >&5
1720 cat conftest.$ac_ext >&5 1810 sed 's/^/| /' conftest.$ac_ext >&5
1721 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5 1811
1722 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;} 1812 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1813 See \`config.log' for more details." >&5
1814 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1815 See \`config.log' for more details." >&2;}
1723 { (exit 1); exit 1; }; } 1816 { (exit 1); exit 1; }; }
1724 fi 1817 fi
1725 1818
1726 rm -f conftest.$ac_cv_objext conftest.$ac_ext 1819 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1727 fi 1820 fi
1734 if test "${ac_cv_c_compiler_gnu+set}" = set; then 1827 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1735 echo $ECHO_N "(cached) $ECHO_C" >&6 1828 echo $ECHO_N "(cached) $ECHO_C" >&6
1736 else 1829 else
1737 cat >conftest.$ac_ext <<_ACEOF 1830 cat >conftest.$ac_ext <<_ACEOF
1738 #line $LINENO "configure" 1831 #line $LINENO "configure"
1739 #include "confdefs.h" 1832 /* confdefs.h. */
1740 1833 _ACEOF
1741 #ifdef F77_DUMMY_MAIN 1834 cat confdefs.h >>conftest.$ac_ext
1742 # ifdef __cplusplus 1835 cat >>conftest.$ac_ext <<_ACEOF
1743 extern "C" 1836 /* end confdefs.h. */
1744 # endif 1837
1745 int F77_DUMMY_MAIN() { return 1; }
1746 #endif
1747 int 1838 int
1748 main () 1839 main ()
1749 { 1840 {
1750 #ifndef __GNUC__ 1841 #ifndef __GNUC__
1751 choke me 1842 choke me
1768 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1769 (exit $ac_status); }; }; then 1860 (exit $ac_status); }; }; then
1770 ac_compiler_gnu=yes 1861 ac_compiler_gnu=yes
1771 else 1862 else
1772 echo "$as_me: failed program was:" >&5 1863 echo "$as_me: failed program was:" >&5
1773 cat conftest.$ac_ext >&5 1864 sed 's/^/| /' conftest.$ac_ext >&5
1865
1774 ac_compiler_gnu=no 1866 ac_compiler_gnu=no
1775 fi 1867 fi
1776 rm -f conftest.$ac_objext conftest.$ac_ext 1868 rm -f conftest.$ac_objext conftest.$ac_ext
1777 ac_cv_c_compiler_gnu=$ac_compiler_gnu 1869 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1778 1870
1788 if test "${ac_cv_prog_cc_g+set}" = set; then 1880 if test "${ac_cv_prog_cc_g+set}" = set; then
1789 echo $ECHO_N "(cached) $ECHO_C" >&6 1881 echo $ECHO_N "(cached) $ECHO_C" >&6
1790 else 1882 else
1791 cat >conftest.$ac_ext <<_ACEOF 1883 cat >conftest.$ac_ext <<_ACEOF
1792 #line $LINENO "configure" 1884 #line $LINENO "configure"
1793 #include "confdefs.h" 1885 /* confdefs.h. */
1794 1886 _ACEOF
1795 #ifdef F77_DUMMY_MAIN 1887 cat confdefs.h >>conftest.$ac_ext
1796 # ifdef __cplusplus 1888 cat >>conftest.$ac_ext <<_ACEOF
1797 extern "C" 1889 /* end confdefs.h. */
1798 # endif 1890
1799 int F77_DUMMY_MAIN() { return 1; }
1800 #endif
1801 int 1891 int
1802 main () 1892 main ()
1803 { 1893 {
1804 1894
1805 ; 1895 ;
1819 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1820 (exit $ac_status); }; }; then 1910 (exit $ac_status); }; }; then
1821 ac_cv_prog_cc_g=yes 1911 ac_cv_prog_cc_g=yes
1822 else 1912 else
1823 echo "$as_me: failed program was:" >&5 1913 echo "$as_me: failed program was:" >&5
1824 cat conftest.$ac_ext >&5 1914 sed 's/^/| /' conftest.$ac_ext >&5
1915
1825 ac_cv_prog_cc_g=no 1916 ac_cv_prog_cc_g=no
1826 fi 1917 fi
1827 rm -f conftest.$ac_objext conftest.$ac_ext 1918 rm -f conftest.$ac_objext conftest.$ac_ext
1828 fi 1919 fi
1829 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 1920 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1841 CFLAGS="-O2" 1932 CFLAGS="-O2"
1842 else 1933 else
1843 CFLAGS= 1934 CFLAGS=
1844 fi 1935 fi
1845 fi 1936 fi
1937 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1938 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1939 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1940 echo $ECHO_N "(cached) $ECHO_C" >&6
1941 else
1942 ac_cv_prog_cc_stdc=no
1943 ac_save_CC=$CC
1944 cat >conftest.$ac_ext <<_ACEOF
1945 #line $LINENO "configure"
1946 /* confdefs.h. */
1947 _ACEOF
1948 cat confdefs.h >>conftest.$ac_ext
1949 cat >>conftest.$ac_ext <<_ACEOF
1950 /* end confdefs.h. */
1951 #include <stdarg.h>
1952 #include <stdio.h>
1953 #include <sys/types.h>
1954 #include <sys/stat.h>
1955 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1956 struct buf { int x; };
1957 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1958 static char *e (p, i)
1959 char **p;
1960 int i;
1961 {
1962 return p[i];
1963 }
1964 static char *f (char * (*g) (char **, int), char **p, ...)
1965 {
1966 char *s;
1967 va_list v;
1968 va_start (v,p);
1969 s = g (p, va_arg (v,int));
1970 va_end (v);
1971 return s;
1972 }
1973 int test (int i, double x);
1974 struct s1 {int (*f) (int a);};
1975 struct s2 {int (*f) (double a);};
1976 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1977 int argc;
1978 char **argv;
1979 int
1980 main ()
1981 {
1982 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1983 ;
1984 return 0;
1985 }
1986 _ACEOF
1987 # Don't try gcc -ansi; that turns off useful extensions and
1988 # breaks some systems' header files.
1989 # AIX -qlanglvl=ansi
1990 # Ultrix and OSF/1 -std1
1991 # HP-UX 10.20 and later -Ae
1992 # HP-UX older versions -Aa -D_HPUX_SOURCE
1993 # SVR4 -Xc -D__EXTENSIONS__
1994 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1995 do
1996 CC="$ac_save_CC $ac_arg"
1997 rm -f conftest.$ac_objext
1998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1999 (eval $ac_compile) 2>&5
2000 ac_status=$?
2001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2002 (exit $ac_status); } &&
2003 { ac_try='test -s conftest.$ac_objext'
2004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2005 (eval $ac_try) 2>&5
2006 ac_status=$?
2007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2008 (exit $ac_status); }; }; then
2009 ac_cv_prog_cc_stdc=$ac_arg
2010 break
2011 else
2012 echo "$as_me: failed program was:" >&5
2013 sed 's/^/| /' conftest.$ac_ext >&5
2014
2015 fi
2016 rm -f conftest.$ac_objext
2017 done
2018 rm -f conftest.$ac_ext conftest.$ac_objext
2019 CC=$ac_save_CC
2020
2021 fi
2022
2023 case "x$ac_cv_prog_cc_stdc" in
2024 x|xno)
2025 echo "$as_me:$LINENO: result: none needed" >&5
2026 echo "${ECHO_T}none needed" >&6 ;;
2027 *)
2028 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2029 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2030 CC="$CC $ac_cv_prog_cc_stdc" ;;
2031 esac
2032
1846 # Some people use a C++ compiler to compile C. Since we use `exit', 2033 # Some people use a C++ compiler to compile C. Since we use `exit',
1847 # in C++ we need to declare it. In case someone uses the same compiler 2034 # in C++ we need to declare it. In case someone uses the same compiler
1848 # for both compiling C and C++ we need to have the C++ compiler decide 2035 # for both compiling C and C++ we need to have the C++ compiler decide
1849 # the declaration of exit, since it's the most demanding environment. 2036 # the declaration of exit, since it's the most demanding environment.
1850 cat >conftest.$ac_ext <<_ACEOF 2037 cat >conftest.$ac_ext <<_ACEOF
1873 'extern "C" void exit (int);' \ 2060 'extern "C" void exit (int);' \
1874 'void exit (int);' 2061 'void exit (int);'
1875 do 2062 do
1876 cat >conftest.$ac_ext <<_ACEOF 2063 cat >conftest.$ac_ext <<_ACEOF
1877 #line $LINENO "configure" 2064 #line $LINENO "configure"
1878 #include "confdefs.h" 2065 /* confdefs.h. */
2066 _ACEOF
2067 cat confdefs.h >>conftest.$ac_ext
2068 cat >>conftest.$ac_ext <<_ACEOF
2069 /* end confdefs.h. */
1879 #include <stdlib.h> 2070 #include <stdlib.h>
1880 $ac_declaration 2071 $ac_declaration
1881 #ifdef F77_DUMMY_MAIN
1882 # ifdef __cplusplus
1883 extern "C"
1884 # endif
1885 int F77_DUMMY_MAIN() { return 1; }
1886 #endif
1887 int 2072 int
1888 main () 2073 main ()
1889 { 2074 {
1890 exit (42); 2075 exit (42);
1891 ; 2076 ;
1905 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1906 (exit $ac_status); }; }; then 2091 (exit $ac_status); }; }; then
1907 : 2092 :
1908 else 2093 else
1909 echo "$as_me: failed program was:" >&5 2094 echo "$as_me: failed program was:" >&5
1910 cat conftest.$ac_ext >&5 2095 sed 's/^/| /' conftest.$ac_ext >&5
2096
1911 continue 2097 continue
1912 fi 2098 fi
1913 rm -f conftest.$ac_objext conftest.$ac_ext 2099 rm -f conftest.$ac_objext conftest.$ac_ext
1914 cat >conftest.$ac_ext <<_ACEOF 2100 cat >conftest.$ac_ext <<_ACEOF
1915 #line $LINENO "configure" 2101 #line $LINENO "configure"
1916 #include "confdefs.h" 2102 /* confdefs.h. */
2103 _ACEOF
2104 cat confdefs.h >>conftest.$ac_ext
2105 cat >>conftest.$ac_ext <<_ACEOF
2106 /* end confdefs.h. */
1917 $ac_declaration 2107 $ac_declaration
1918 #ifdef F77_DUMMY_MAIN
1919 # ifdef __cplusplus
1920 extern "C"
1921 # endif
1922 int F77_DUMMY_MAIN() { return 1; }
1923 #endif
1924 int 2108 int
1925 main () 2109 main ()
1926 { 2110 {
1927 exit (42); 2111 exit (42);
1928 ; 2112 ;
1942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1943 (exit $ac_status); }; }; then 2127 (exit $ac_status); }; }; then
1944 break 2128 break
1945 else 2129 else
1946 echo "$as_me: failed program was:" >&5 2130 echo "$as_me: failed program was:" >&5
1947 cat conftest.$ac_ext >&5 2131 sed 's/^/| /' conftest.$ac_ext >&5
2132
1948 fi 2133 fi
1949 rm -f conftest.$ac_objext conftest.$ac_ext 2134 rm -f conftest.$ac_objext conftest.$ac_ext
1950 done 2135 done
1951 rm -f conftest* 2136 rm -f conftest*
1952 if test -n "$ac_declaration"; then 2137 if test -n "$ac_declaration"; then
1955 echo '#endif' >>confdefs.h 2140 echo '#endif' >>confdefs.h
1956 fi 2141 fi
1957 2142
1958 else 2143 else
1959 echo "$as_me: failed program was:" >&5 2144 echo "$as_me: failed program was:" >&5
1960 cat conftest.$ac_ext >&5 2145 sed 's/^/| /' conftest.$ac_ext >&5
2146
1961 fi 2147 fi
1962 rm -f conftest.$ac_objext conftest.$ac_ext 2148 rm -f conftest.$ac_objext conftest.$ac_ext
1963 ac_ext=c 2149 ac_ext=c
1964 ac_cpp='$CPP $CPPFLAGS' 2150 ac_cpp='$CPP $CPPFLAGS'
1965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2167 ac_preproc_ok=false 2353 ac_preproc_ok=false
2168 for ac_c_preproc_warn_flag in '' yes 2354 for ac_c_preproc_warn_flag in '' yes
2169 do 2355 do
2170 # Use a header file that comes with gcc, so configuring glibc 2356 # Use a header file that comes with gcc, so configuring glibc
2171 # with a fresh cross-compiler works. 2357 # with a fresh cross-compiler works.
2358 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2359 # <limits.h> exists even on freestanding compilers.
2172 # On the NeXT, cc -E runs the code through the compiler's parser, 2360 # On the NeXT, cc -E runs the code through the compiler's parser,
2173 # not just through cpp. "Syntax error" is here to catch this case. 2361 # not just through cpp. "Syntax error" is here to catch this case.
2174 cat >conftest.$ac_ext <<_ACEOF 2362 cat >conftest.$ac_ext <<_ACEOF
2175 #line $LINENO "configure" 2363 #line $LINENO "configure"
2176 #include "confdefs.h" 2364 /* confdefs.h. */
2177 #include <assert.h> 2365 _ACEOF
2366 cat confdefs.h >>conftest.$ac_ext
2367 cat >>conftest.$ac_ext <<_ACEOF
2368 /* end confdefs.h. */
2369 #ifdef __STDC__
2370 # include <limits.h>
2371 #else
2372 # include <assert.h>
2373 #endif
2178 Syntax error 2374 Syntax error
2179 _ACEOF 2375 _ACEOF
2180 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2376 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2181 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2377 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2182 ac_status=$? 2378 ac_status=$?
2183 egrep -v '^ *\+' conftest.er1 >conftest.err 2379 grep -v '^ *+' conftest.er1 >conftest.err
2184 rm -f conftest.er1 2380 rm -f conftest.er1
2185 cat conftest.err >&5 2381 cat conftest.err >&5
2186 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2187 (exit $ac_status); } >/dev/null; then 2383 (exit $ac_status); } >/dev/null; then
2188 if test -s conftest.err; then 2384 if test -s conftest.err; then
2195 fi 2391 fi
2196 if test -z "$ac_cpp_err"; then 2392 if test -z "$ac_cpp_err"; then
2197 : 2393 :
2198 else 2394 else
2199 echo "$as_me: failed program was:" >&5 2395 echo "$as_me: failed program was:" >&5
2200 cat conftest.$ac_ext >&5 2396 sed 's/^/| /' conftest.$ac_ext >&5
2397
2201 # Broken: fails on valid input. 2398 # Broken: fails on valid input.
2202 continue 2399 continue
2203 fi 2400 fi
2204 rm -f conftest.err conftest.$ac_ext 2401 rm -f conftest.err conftest.$ac_ext
2205 2402
2206 # OK, works on sane cases. Now check whether non-existent headers 2403 # OK, works on sane cases. Now check whether non-existent headers
2207 # can be detected and how. 2404 # can be detected and how.
2208 cat >conftest.$ac_ext <<_ACEOF 2405 cat >conftest.$ac_ext <<_ACEOF
2209 #line $LINENO "configure" 2406 #line $LINENO "configure"
2210 #include "confdefs.h" 2407 /* confdefs.h. */
2408 _ACEOF
2409 cat confdefs.h >>conftest.$ac_ext
2410 cat >>conftest.$ac_ext <<_ACEOF
2411 /* end confdefs.h. */
2211 #include <ac_nonexistent.h> 2412 #include <ac_nonexistent.h>
2212 _ACEOF 2413 _ACEOF
2213 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2414 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2214 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2415 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2215 ac_status=$? 2416 ac_status=$?
2216 egrep -v '^ *\+' conftest.er1 >conftest.err 2417 grep -v '^ *+' conftest.er1 >conftest.err
2217 rm -f conftest.er1 2418 rm -f conftest.er1
2218 cat conftest.err >&5 2419 cat conftest.err >&5
2219 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2220 (exit $ac_status); } >/dev/null; then 2421 (exit $ac_status); } >/dev/null; then
2221 if test -s conftest.err; then 2422 if test -s conftest.err; then
2229 if test -z "$ac_cpp_err"; then 2430 if test -z "$ac_cpp_err"; then
2230 # Broken: success on invalid input. 2431 # Broken: success on invalid input.
2231 continue 2432 continue
2232 else 2433 else
2233 echo "$as_me: failed program was:" >&5 2434 echo "$as_me: failed program was:" >&5
2234 cat conftest.$ac_ext >&5 2435 sed 's/^/| /' conftest.$ac_ext >&5
2436
2235 # Passes both tests. 2437 # Passes both tests.
2236 ac_preproc_ok=: 2438 ac_preproc_ok=:
2237 break 2439 break
2238 fi 2440 fi
2239 rm -f conftest.err conftest.$ac_ext 2441 rm -f conftest.err conftest.$ac_ext
2258 ac_preproc_ok=false 2460 ac_preproc_ok=false
2259 for ac_c_preproc_warn_flag in '' yes 2461 for ac_c_preproc_warn_flag in '' yes
2260 do 2462 do
2261 # Use a header file that comes with gcc, so configuring glibc 2463 # Use a header file that comes with gcc, so configuring glibc
2262 # with a fresh cross-compiler works. 2464 # with a fresh cross-compiler works.
2465 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2466 # <limits.h> exists even on freestanding compilers.
2263 # On the NeXT, cc -E runs the code through the compiler's parser, 2467 # On the NeXT, cc -E runs the code through the compiler's parser,
2264 # not just through cpp. "Syntax error" is here to catch this case. 2468 # not just through cpp. "Syntax error" is here to catch this case.
2265 cat >conftest.$ac_ext <<_ACEOF 2469 cat >conftest.$ac_ext <<_ACEOF
2266 #line $LINENO "configure" 2470 #line $LINENO "configure"
2267 #include "confdefs.h" 2471 /* confdefs.h. */
2268 #include <assert.h> 2472 _ACEOF
2473 cat confdefs.h >>conftest.$ac_ext
2474 cat >>conftest.$ac_ext <<_ACEOF
2475 /* end confdefs.h. */
2476 #ifdef __STDC__
2477 # include <limits.h>
2478 #else
2479 # include <assert.h>
2480 #endif
2269 Syntax error 2481 Syntax error
2270 _ACEOF 2482 _ACEOF
2271 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2483 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2272 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2484 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2273 ac_status=$? 2485 ac_status=$?
2274 egrep -v '^ *\+' conftest.er1 >conftest.err 2486 grep -v '^ *+' conftest.er1 >conftest.err
2275 rm -f conftest.er1 2487 rm -f conftest.er1
2276 cat conftest.err >&5 2488 cat conftest.err >&5
2277 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2278 (exit $ac_status); } >/dev/null; then 2490 (exit $ac_status); } >/dev/null; then
2279 if test -s conftest.err; then 2491 if test -s conftest.err; then
2286 fi 2498 fi
2287 if test -z "$ac_cpp_err"; then 2499 if test -z "$ac_cpp_err"; then
2288 : 2500 :
2289 else 2501 else
2290 echo "$as_me: failed program was:" >&5 2502 echo "$as_me: failed program was:" >&5
2291 cat conftest.$ac_ext >&5 2503 sed 's/^/| /' conftest.$ac_ext >&5
2504
2292 # Broken: fails on valid input. 2505 # Broken: fails on valid input.
2293 continue 2506 continue
2294 fi 2507 fi
2295 rm -f conftest.err conftest.$ac_ext 2508 rm -f conftest.err conftest.$ac_ext
2296 2509
2297 # OK, works on sane cases. Now check whether non-existent headers 2510 # OK, works on sane cases. Now check whether non-existent headers
2298 # can be detected and how. 2511 # can be detected and how.
2299 cat >conftest.$ac_ext <<_ACEOF 2512 cat >conftest.$ac_ext <<_ACEOF
2300 #line $LINENO "configure" 2513 #line $LINENO "configure"
2301 #include "confdefs.h" 2514 /* confdefs.h. */
2515 _ACEOF
2516 cat confdefs.h >>conftest.$ac_ext
2517 cat >>conftest.$ac_ext <<_ACEOF
2518 /* end confdefs.h. */
2302 #include <ac_nonexistent.h> 2519 #include <ac_nonexistent.h>
2303 _ACEOF 2520 _ACEOF
2304 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2521 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2305 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2522 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2306 ac_status=$? 2523 ac_status=$?
2307 egrep -v '^ *\+' conftest.er1 >conftest.err 2524 grep -v '^ *+' conftest.er1 >conftest.err
2308 rm -f conftest.er1 2525 rm -f conftest.er1
2309 cat conftest.err >&5 2526 cat conftest.err >&5
2310 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2311 (exit $ac_status); } >/dev/null; then 2528 (exit $ac_status); } >/dev/null; then
2312 if test -s conftest.err; then 2529 if test -s conftest.err; then
2320 if test -z "$ac_cpp_err"; then 2537 if test -z "$ac_cpp_err"; then
2321 # Broken: success on invalid input. 2538 # Broken: success on invalid input.
2322 continue 2539 continue
2323 else 2540 else
2324 echo "$as_me: failed program was:" >&5 2541 echo "$as_me: failed program was:" >&5
2325 cat conftest.$ac_ext >&5 2542 sed 's/^/| /' conftest.$ac_ext >&5
2543
2326 # Passes both tests. 2544 # Passes both tests.
2327 ac_preproc_ok=: 2545 ac_preproc_ok=:
2328 break 2546 break
2329 fi 2547 fi
2330 rm -f conftest.err conftest.$ac_ext 2548 rm -f conftest.err conftest.$ac_ext
2333 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2551 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2334 rm -f conftest.err conftest.$ac_ext 2552 rm -f conftest.err conftest.$ac_ext
2335 if $ac_preproc_ok; then 2553 if $ac_preproc_ok; then
2336 : 2554 :
2337 else 2555 else
2338 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5 2556 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2339 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 2557 See \`config.log' for more details." >&5
2558 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2559 See \`config.log' for more details." >&2;}
2340 { (exit 1); exit 1; }; } 2560 { (exit 1); exit 1; }; }
2341 fi 2561 fi
2342 2562
2343 ac_ext=c 2563 ac_ext=c
2344 ac_cpp='$CPP $CPPFLAGS' 2564 ac_cpp='$CPP $CPPFLAGS'
2345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2347 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2348 2568
2349 2569
2570 echo "$as_me:$LINENO: checking for egrep" >&5
2571 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2572 if test "${ac_cv_prog_egrep+set}" = set; then
2573 echo $ECHO_N "(cached) $ECHO_C" >&6
2574 else
2575 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2576 then ac_cv_prog_egrep='grep -E'
2577 else ac_cv_prog_egrep='egrep'
2578 fi
2579 fi
2580 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2581 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2582 EGREP=$ac_cv_prog_egrep
2583
2584
2350 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 2585 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2351 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 2586 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2352 if test "${ac_cv_header_stdc+set}" = set; then 2587 if test "${ac_cv_header_stdc+set}" = set; then
2353 echo $ECHO_N "(cached) $ECHO_C" >&6 2588 echo $ECHO_N "(cached) $ECHO_C" >&6
2354 else 2589 else
2355 cat >conftest.$ac_ext <<_ACEOF 2590 cat >conftest.$ac_ext <<_ACEOF
2356 #line $LINENO "configure" 2591 #line $LINENO "configure"
2357 #include "confdefs.h" 2592 /* confdefs.h. */
2593 _ACEOF
2594 cat confdefs.h >>conftest.$ac_ext
2595 cat >>conftest.$ac_ext <<_ACEOF
2596 /* end confdefs.h. */
2358 #include <stdlib.h> 2597 #include <stdlib.h>
2359 #include <stdarg.h> 2598 #include <stdarg.h>
2360 #include <string.h> 2599 #include <string.h>
2361 #include <float.h> 2600 #include <float.h>
2362 2601
2363 _ACEOF 2602 int
2364 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2603 main ()
2365 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2604 {
2366 ac_status=$? 2605
2367 egrep -v '^ *\+' conftest.er1 >conftest.err 2606 ;
2368 rm -f conftest.er1 2607 return 0;
2369 cat conftest.err >&5 2608 }
2370 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2609 _ACEOF
2371 (exit $ac_status); } >/dev/null; then 2610 rm -f conftest.$ac_objext
2372 if test -s conftest.err; then 2611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2373 ac_cpp_err=$ac_c_preproc_warn_flag 2612 (eval $ac_compile) 2>&5
2374 else 2613 ac_status=$?
2375 ac_cpp_err= 2614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376 fi 2615 (exit $ac_status); } &&
2377 else 2616 { ac_try='test -s conftest.$ac_objext'
2378 ac_cpp_err=yes 2617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2379 fi 2618 (eval $ac_try) 2>&5
2380 if test -z "$ac_cpp_err"; then 2619 ac_status=$?
2620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2621 (exit $ac_status); }; }; then
2381 ac_cv_header_stdc=yes 2622 ac_cv_header_stdc=yes
2382 else 2623 else
2383 echo "$as_me: failed program was:" >&5 2624 echo "$as_me: failed program was:" >&5
2384 cat conftest.$ac_ext >&5 2625 sed 's/^/| /' conftest.$ac_ext >&5
2385 ac_cv_header_stdc=no 2626
2386 fi 2627 ac_cv_header_stdc=no
2387 rm -f conftest.err conftest.$ac_ext 2628 fi
2629 rm -f conftest.$ac_objext conftest.$ac_ext
2388 2630
2389 if test $ac_cv_header_stdc = yes; then 2631 if test $ac_cv_header_stdc = yes; then
2390 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2632 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2391 cat >conftest.$ac_ext <<_ACEOF 2633 cat >conftest.$ac_ext <<_ACEOF
2392 #line $LINENO "configure" 2634 #line $LINENO "configure"
2393 #include "confdefs.h" 2635 /* confdefs.h. */
2636 _ACEOF
2637 cat confdefs.h >>conftest.$ac_ext
2638 cat >>conftest.$ac_ext <<_ACEOF
2639 /* end confdefs.h. */
2394 #include <string.h> 2640 #include <string.h>
2395 2641
2396 _ACEOF 2642 _ACEOF
2397 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2643 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2398 egrep "memchr" >/dev/null 2>&1; then 2644 $EGREP "memchr" >/dev/null 2>&1; then
2399 : 2645 :
2400 else 2646 else
2401 ac_cv_header_stdc=no 2647 ac_cv_header_stdc=no
2402 fi 2648 fi
2403 rm -f conftest* 2649 rm -f conftest*
2406 2652
2407 if test $ac_cv_header_stdc = yes; then 2653 if test $ac_cv_header_stdc = yes; then
2408 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2654 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2409 cat >conftest.$ac_ext <<_ACEOF 2655 cat >conftest.$ac_ext <<_ACEOF
2410 #line $LINENO "configure" 2656 #line $LINENO "configure"
2411 #include "confdefs.h" 2657 /* confdefs.h. */
2658 _ACEOF
2659 cat confdefs.h >>conftest.$ac_ext
2660 cat >>conftest.$ac_ext <<_ACEOF
2661 /* end confdefs.h. */
2412 #include <stdlib.h> 2662 #include <stdlib.h>
2413 2663
2414 _ACEOF 2664 _ACEOF
2415 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2665 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2416 egrep "free" >/dev/null 2>&1; then 2666 $EGREP "free" >/dev/null 2>&1; then
2417 : 2667 :
2418 else 2668 else
2419 ac_cv_header_stdc=no 2669 ac_cv_header_stdc=no
2420 fi 2670 fi
2421 rm -f conftest* 2671 rm -f conftest*
2427 if test "$cross_compiling" = yes; then 2677 if test "$cross_compiling" = yes; then
2428 : 2678 :
2429 else 2679 else
2430 cat >conftest.$ac_ext <<_ACEOF 2680 cat >conftest.$ac_ext <<_ACEOF
2431 #line $LINENO "configure" 2681 #line $LINENO "configure"
2432 #include "confdefs.h" 2682 /* confdefs.h. */
2683 _ACEOF
2684 cat confdefs.h >>conftest.$ac_ext
2685 cat >>conftest.$ac_ext <<_ACEOF
2686 /* end confdefs.h. */
2433 #include <ctype.h> 2687 #include <ctype.h>
2434 #if ((' ' & 0x0FF) == 0x020) 2688 #if ((' ' & 0x0FF) == 0x020)
2435 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 2689 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2436 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 2690 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2437 #else 2691 #else
2438 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ 2692 # define ISLOWER(c) \
2693 (('a' <= (c) && (c) <= 'i') \
2439 || ('j' <= (c) && (c) <= 'r') \ 2694 || ('j' <= (c) && (c) <= 'r') \
2440 || ('s' <= (c) && (c) <= 'z')) 2695 || ('s' <= (c) && (c) <= 'z'))
2441 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 2696 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2442 #endif 2697 #endif
2443 2698
2466 (exit $ac_status); }; }; then 2721 (exit $ac_status); }; }; then
2467 : 2722 :
2468 else 2723 else
2469 echo "$as_me: program exited with status $ac_status" >&5 2724 echo "$as_me: program exited with status $ac_status" >&5
2470 echo "$as_me: failed program was:" >&5 2725 echo "$as_me: failed program was:" >&5
2471 cat conftest.$ac_ext >&5 2726 sed 's/^/| /' conftest.$ac_ext >&5
2727
2472 ( exit $ac_status ) 2728 ( exit $ac_status )
2473 ac_cv_header_stdc=no 2729 ac_cv_header_stdc=no
2474 fi 2730 fi
2475 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 2731 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2476 fi 2732 fi
2477 fi 2733 fi
2478 fi 2734 fi
2479 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 2735 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2480 echo "${ECHO_T}$ac_cv_header_stdc" >&6 2736 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2499 if eval "test \"\${$as_ac_Header+set}\" = set"; then 2755 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2500 echo $ECHO_N "(cached) $ECHO_C" >&6 2756 echo $ECHO_N "(cached) $ECHO_C" >&6
2501 else 2757 else
2502 cat >conftest.$ac_ext <<_ACEOF 2758 cat >conftest.$ac_ext <<_ACEOF
2503 #line $LINENO "configure" 2759 #line $LINENO "configure"
2504 #include "confdefs.h" 2760 /* confdefs.h. */
2761 _ACEOF
2762 cat confdefs.h >>conftest.$ac_ext
2763 cat >>conftest.$ac_ext <<_ACEOF
2764 /* end confdefs.h. */
2505 #include <sys/types.h> 2765 #include <sys/types.h>
2506 #include <$ac_hdr> 2766 #include <$ac_hdr>
2507 2767
2508 #ifdef F77_DUMMY_MAIN
2509 # ifdef __cplusplus
2510 extern "C"
2511 # endif
2512 int F77_DUMMY_MAIN() { return 1; }
2513 #endif
2514 int 2768 int
2515 main () 2769 main ()
2516 { 2770 {
2517 if ((DIR *) 0) 2771 if ((DIR *) 0)
2518 return 0; 2772 return 0;
2533 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2534 (exit $ac_status); }; }; then 2788 (exit $ac_status); }; }; then
2535 eval "$as_ac_Header=yes" 2789 eval "$as_ac_Header=yes"
2536 else 2790 else
2537 echo "$as_me: failed program was:" >&5 2791 echo "$as_me: failed program was:" >&5
2538 cat conftest.$ac_ext >&5 2792 sed 's/^/| /' conftest.$ac_ext >&5
2793
2539 eval "$as_ac_Header=no" 2794 eval "$as_ac_Header=no"
2540 fi 2795 fi
2541 rm -f conftest.$ac_objext conftest.$ac_ext 2796 rm -f conftest.$ac_objext conftest.$ac_ext
2542 fi 2797 fi
2543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 2798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2560 else 2815 else
2561 ac_func_search_save_LIBS=$LIBS 2816 ac_func_search_save_LIBS=$LIBS
2562 ac_cv_search_opendir=no 2817 ac_cv_search_opendir=no
2563 cat >conftest.$ac_ext <<_ACEOF 2818 cat >conftest.$ac_ext <<_ACEOF
2564 #line $LINENO "configure" 2819 #line $LINENO "configure"
2565 #include "confdefs.h" 2820 /* confdefs.h. */
2821 _ACEOF
2822 cat confdefs.h >>conftest.$ac_ext
2823 cat >>conftest.$ac_ext <<_ACEOF
2824 /* end confdefs.h. */
2566 2825
2567 /* Override any gcc2 internal prototype to avoid an error. */ 2826 /* Override any gcc2 internal prototype to avoid an error. */
2568 #ifdef __cplusplus 2827 #ifdef __cplusplus
2569 extern "C" 2828 extern "C"
2570 #endif 2829 #endif
2571 /* We use char because int might match the return type of a gcc2 2830 /* We use char because int might match the return type of a gcc2
2572 builtin and then its argument prototype would still apply. */ 2831 builtin and then its argument prototype would still apply. */
2573 char opendir (); 2832 char opendir ();
2574 #ifdef F77_DUMMY_MAIN
2575 # ifdef __cplusplus
2576 extern "C"
2577 # endif
2578 int F77_DUMMY_MAIN() { return 1; }
2579 #endif
2580 int 2833 int
2581 main () 2834 main ()
2582 { 2835 {
2583 opendir (); 2836 opendir ();
2584 ; 2837 ;
2598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599 (exit $ac_status); }; }; then 2852 (exit $ac_status); }; }; then
2600 ac_cv_search_opendir="none required" 2853 ac_cv_search_opendir="none required"
2601 else 2854 else
2602 echo "$as_me: failed program was:" >&5 2855 echo "$as_me: failed program was:" >&5
2603 cat conftest.$ac_ext >&5 2856 sed 's/^/| /' conftest.$ac_ext >&5
2857
2604 fi 2858 fi
2605 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2859 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2606 if test "$ac_cv_search_opendir" = no; then 2860 if test "$ac_cv_search_opendir" = no; then
2607 for ac_lib in dir; do 2861 for ac_lib in dir; do
2608 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 2862 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2609 cat >conftest.$ac_ext <<_ACEOF 2863 cat >conftest.$ac_ext <<_ACEOF
2610 #line $LINENO "configure" 2864 #line $LINENO "configure"
2611 #include "confdefs.h" 2865 /* confdefs.h. */
2866 _ACEOF
2867 cat confdefs.h >>conftest.$ac_ext
2868 cat >>conftest.$ac_ext <<_ACEOF
2869 /* end confdefs.h. */
2612 2870
2613 /* Override any gcc2 internal prototype to avoid an error. */ 2871 /* Override any gcc2 internal prototype to avoid an error. */
2614 #ifdef __cplusplus 2872 #ifdef __cplusplus
2615 extern "C" 2873 extern "C"
2616 #endif 2874 #endif
2617 /* We use char because int might match the return type of a gcc2 2875 /* We use char because int might match the return type of a gcc2
2618 builtin and then its argument prototype would still apply. */ 2876 builtin and then its argument prototype would still apply. */
2619 char opendir (); 2877 char opendir ();
2620 #ifdef F77_DUMMY_MAIN
2621 # ifdef __cplusplus
2622 extern "C"
2623 # endif
2624 int F77_DUMMY_MAIN() { return 1; }
2625 #endif
2626 int 2878 int
2627 main () 2879 main ()
2628 { 2880 {
2629 opendir (); 2881 opendir ();
2630 ; 2882 ;
2645 (exit $ac_status); }; }; then 2897 (exit $ac_status); }; }; then
2646 ac_cv_search_opendir="-l$ac_lib" 2898 ac_cv_search_opendir="-l$ac_lib"
2647 break 2899 break
2648 else 2900 else
2649 echo "$as_me: failed program was:" >&5 2901 echo "$as_me: failed program was:" >&5
2650 cat conftest.$ac_ext >&5 2902 sed 's/^/| /' conftest.$ac_ext >&5
2903
2651 fi 2904 fi
2652 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2905 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2653 done 2906 done
2654 fi 2907 fi
2655 LIBS=$ac_func_search_save_LIBS 2908 LIBS=$ac_func_search_save_LIBS
2669 else 2922 else
2670 ac_func_search_save_LIBS=$LIBS 2923 ac_func_search_save_LIBS=$LIBS
2671 ac_cv_search_opendir=no 2924 ac_cv_search_opendir=no
2672 cat >conftest.$ac_ext <<_ACEOF 2925 cat >conftest.$ac_ext <<_ACEOF
2673 #line $LINENO "configure" 2926 #line $LINENO "configure"
2674 #include "confdefs.h" 2927 /* confdefs.h. */
2928 _ACEOF
2929 cat confdefs.h >>conftest.$ac_ext
2930 cat >>conftest.$ac_ext <<_ACEOF
2931 /* end confdefs.h. */
2675 2932
2676 /* Override any gcc2 internal prototype to avoid an error. */ 2933 /* Override any gcc2 internal prototype to avoid an error. */
2677 #ifdef __cplusplus 2934 #ifdef __cplusplus
2678 extern "C" 2935 extern "C"
2679 #endif 2936 #endif
2680 /* We use char because int might match the return type of a gcc2 2937 /* We use char because int might match the return type of a gcc2
2681 builtin and then its argument prototype would still apply. */ 2938 builtin and then its argument prototype would still apply. */
2682 char opendir (); 2939 char opendir ();
2683 #ifdef F77_DUMMY_MAIN
2684 # ifdef __cplusplus
2685 extern "C"
2686 # endif
2687 int F77_DUMMY_MAIN() { return 1; }
2688 #endif
2689 int 2940 int
2690 main () 2941 main ()
2691 { 2942 {
2692 opendir (); 2943 opendir ();
2693 ; 2944 ;
2707 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708 (exit $ac_status); }; }; then 2959 (exit $ac_status); }; }; then
2709 ac_cv_search_opendir="none required" 2960 ac_cv_search_opendir="none required"
2710 else 2961 else
2711 echo "$as_me: failed program was:" >&5 2962 echo "$as_me: failed program was:" >&5
2712 cat conftest.$ac_ext >&5 2963 sed 's/^/| /' conftest.$ac_ext >&5
2964
2713 fi 2965 fi
2714 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2966 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2715 if test "$ac_cv_search_opendir" = no; then 2967 if test "$ac_cv_search_opendir" = no; then
2716 for ac_lib in x; do 2968 for ac_lib in x; do
2717 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 2969 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2718 cat >conftest.$ac_ext <<_ACEOF 2970 cat >conftest.$ac_ext <<_ACEOF
2719 #line $LINENO "configure" 2971 #line $LINENO "configure"
2720 #include "confdefs.h" 2972 /* confdefs.h. */
2973 _ACEOF
2974 cat confdefs.h >>conftest.$ac_ext
2975 cat >>conftest.$ac_ext <<_ACEOF
2976 /* end confdefs.h. */
2721 2977
2722 /* Override any gcc2 internal prototype to avoid an error. */ 2978 /* Override any gcc2 internal prototype to avoid an error. */
2723 #ifdef __cplusplus 2979 #ifdef __cplusplus
2724 extern "C" 2980 extern "C"
2725 #endif 2981 #endif
2726 /* We use char because int might match the return type of a gcc2 2982 /* We use char because int might match the return type of a gcc2
2727 builtin and then its argument prototype would still apply. */ 2983 builtin and then its argument prototype would still apply. */
2728 char opendir (); 2984 char opendir ();
2729 #ifdef F77_DUMMY_MAIN
2730 # ifdef __cplusplus
2731 extern "C"
2732 # endif
2733 int F77_DUMMY_MAIN() { return 1; }
2734 #endif
2735 int 2985 int
2736 main () 2986 main ()
2737 { 2987 {
2738 opendir (); 2988 opendir ();
2739 ; 2989 ;
2754 (exit $ac_status); }; }; then 3004 (exit $ac_status); }; }; then
2755 ac_cv_search_opendir="-l$ac_lib" 3005 ac_cv_search_opendir="-l$ac_lib"
2756 break 3006 break
2757 else 3007 else
2758 echo "$as_me: failed program was:" >&5 3008 echo "$as_me: failed program was:" >&5
2759 cat conftest.$ac_ext >&5 3009 sed 's/^/| /' conftest.$ac_ext >&5
3010
2760 fi 3011 fi
2761 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3012 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2762 done 3013 done
2763 fi 3014 fi
2764 LIBS=$ac_func_search_save_LIBS 3015 LIBS=$ac_func_search_save_LIBS
2791 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2792 echo $ECHO_N "(cached) $ECHO_C" >&6 3043 echo $ECHO_N "(cached) $ECHO_C" >&6
2793 else 3044 else
2794 cat >conftest.$ac_ext <<_ACEOF 3045 cat >conftest.$ac_ext <<_ACEOF
2795 #line $LINENO "configure" 3046 #line $LINENO "configure"
2796 #include "confdefs.h" 3047 /* confdefs.h. */
3048 _ACEOF
3049 cat confdefs.h >>conftest.$ac_ext
3050 cat >>conftest.$ac_ext <<_ACEOF
3051 /* end confdefs.h. */
2797 $ac_includes_default 3052 $ac_includes_default
2798 3053
2799 #include <$ac_header> 3054 #include <$ac_header>
2800 _ACEOF 3055 _ACEOF
2801 rm -f conftest.$ac_objext 3056 rm -f conftest.$ac_objext
2811 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2812 (exit $ac_status); }; }; then 3067 (exit $ac_status); }; }; then
2813 eval "$as_ac_Header=yes" 3068 eval "$as_ac_Header=yes"
2814 else 3069 else
2815 echo "$as_me: failed program was:" >&5 3070 echo "$as_me: failed program was:" >&5
2816 cat conftest.$ac_ext >&5 3071 sed 's/^/| /' conftest.$ac_ext >&5
3072
2817 eval "$as_ac_Header=no" 3073 eval "$as_ac_Header=no"
2818 fi 3074 fi
2819 rm -f conftest.$ac_objext conftest.$ac_ext 3075 rm -f conftest.$ac_objext conftest.$ac_ext
2820 fi 3076 fi
2821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2846 # Is the header compilable? 3102 # Is the header compilable?
2847 echo "$as_me:$LINENO: checking $ac_header usability" >&5 3103 echo "$as_me:$LINENO: checking $ac_header usability" >&5
2848 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 3104 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2849 cat >conftest.$ac_ext <<_ACEOF 3105 cat >conftest.$ac_ext <<_ACEOF
2850 #line $LINENO "configure" 3106 #line $LINENO "configure"
2851 #include "confdefs.h" 3107 /* confdefs.h. */
3108 _ACEOF
3109 cat confdefs.h >>conftest.$ac_ext
3110 cat >>conftest.$ac_ext <<_ACEOF
3111 /* end confdefs.h. */
2852 $ac_includes_default 3112 $ac_includes_default
2853 #include <$ac_header> 3113 #include <$ac_header>
2854 _ACEOF 3114 _ACEOF
2855 rm -f conftest.$ac_objext 3115 rm -f conftest.$ac_objext
2856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2865 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2866 (exit $ac_status); }; }; then 3126 (exit $ac_status); }; }; then
2867 ac_header_compiler=yes 3127 ac_header_compiler=yes
2868 else 3128 else
2869 echo "$as_me: failed program was:" >&5 3129 echo "$as_me: failed program was:" >&5
2870 cat conftest.$ac_ext >&5 3130 sed 's/^/| /' conftest.$ac_ext >&5
3131
2871 ac_header_compiler=no 3132 ac_header_compiler=no
2872 fi 3133 fi
2873 rm -f conftest.$ac_objext conftest.$ac_ext 3134 rm -f conftest.$ac_objext conftest.$ac_ext
2874 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3135 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2875 echo "${ECHO_T}$ac_header_compiler" >&6 3136 echo "${ECHO_T}$ac_header_compiler" >&6
2877 # Is the header present? 3138 # Is the header present?
2878 echo "$as_me:$LINENO: checking $ac_header presence" >&5 3139 echo "$as_me:$LINENO: checking $ac_header presence" >&5
2879 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 3140 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
2880 cat >conftest.$ac_ext <<_ACEOF 3141 cat >conftest.$ac_ext <<_ACEOF
2881 #line $LINENO "configure" 3142 #line $LINENO "configure"
2882 #include "confdefs.h" 3143 /* confdefs.h. */
3144 _ACEOF
3145 cat confdefs.h >>conftest.$ac_ext
3146 cat >>conftest.$ac_ext <<_ACEOF
3147 /* end confdefs.h. */
2883 #include <$ac_header> 3148 #include <$ac_header>
2884 _ACEOF 3149 _ACEOF
2885 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3150 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2886 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3151 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2887 ac_status=$? 3152 ac_status=$?
2888 egrep -v '^ *\+' conftest.er1 >conftest.err 3153 grep -v '^ *+' conftest.er1 >conftest.err
2889 rm -f conftest.er1 3154 rm -f conftest.er1
2890 cat conftest.err >&5 3155 cat conftest.err >&5
2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); } >/dev/null; then 3157 (exit $ac_status); } >/dev/null; then
2893 if test -s conftest.err; then 3158 if test -s conftest.err; then
2900 fi 3165 fi
2901 if test -z "$ac_cpp_err"; then 3166 if test -z "$ac_cpp_err"; then
2902 ac_header_preproc=yes 3167 ac_header_preproc=yes
2903 else 3168 else
2904 echo "$as_me: failed program was:" >&5 3169 echo "$as_me: failed program was:" >&5
2905 cat conftest.$ac_ext >&5 3170 sed 's/^/| /' conftest.$ac_ext >&5
3171
2906 ac_header_preproc=no 3172 ac_header_preproc=no
2907 fi 3173 fi
2908 rm -f conftest.err conftest.$ac_ext 3174 rm -f conftest.err conftest.$ac_ext
2909 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3175 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
2910 echo "${ECHO_T}$ac_header_preproc" >&6 3176 echo "${ECHO_T}$ac_header_preproc" >&6
2913 case $ac_header_compiler:$ac_header_preproc in 3179 case $ac_header_compiler:$ac_header_preproc in
2914 yes:no ) 3180 yes:no )
2915 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3181 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
2916 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 3182 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
2917 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3183 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
2918 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; 3184 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3185 (
3186 cat <<\_ASBOX
3187 ## ------------------------------------ ##
3188 ## Report this to bug-autoconf@gnu.org. ##
3189 ## ------------------------------------ ##
3190 _ASBOX
3191 ) |
3192 sed "s/^/$as_me: WARNING: /" >&2
3193 ;;
2919 no:yes ) 3194 no:yes )
2920 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3195 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
2921 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3196 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
2922 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3197 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
2923 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3198 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
2924 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3199 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
2925 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; 3200 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3201 (
3202 cat <<\_ASBOX
3203 ## ------------------------------------ ##
3204 ## Report this to bug-autoconf@gnu.org. ##
3205 ## ------------------------------------ ##
3206 _ASBOX
3207 ) |
3208 sed "s/^/$as_me: WARNING: /" >&2
3209 ;;
2926 esac 3210 esac
2927 echo "$as_me:$LINENO: checking for $ac_header" >&5 3211 echo "$as_me:$LINENO: checking for $ac_header" >&5
2928 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2929 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2930 echo $ECHO_N "(cached) $ECHO_C" >&6 3214 echo $ECHO_N "(cached) $ECHO_C" >&6
2960 # Is the header compilable? 3244 # Is the header compilable?
2961 echo "$as_me:$LINENO: checking $ac_header usability" >&5 3245 echo "$as_me:$LINENO: checking $ac_header usability" >&5
2962 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 3246 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2963 cat >conftest.$ac_ext <<_ACEOF 3247 cat >conftest.$ac_ext <<_ACEOF
2964 #line $LINENO "configure" 3248 #line $LINENO "configure"
2965 #include "confdefs.h" 3249 /* confdefs.h. */
3250 _ACEOF
3251 cat confdefs.h >>conftest.$ac_ext
3252 cat >>conftest.$ac_ext <<_ACEOF
3253 /* end confdefs.h. */
2966 $ac_includes_default 3254 $ac_includes_default
2967 #include <$ac_header> 3255 #include <$ac_header>
2968 _ACEOF 3256 _ACEOF
2969 rm -f conftest.$ac_objext 3257 rm -f conftest.$ac_objext
2970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2979 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980 (exit $ac_status); }; }; then 3268 (exit $ac_status); }; }; then
2981 ac_header_compiler=yes 3269 ac_header_compiler=yes
2982 else 3270 else
2983 echo "$as_me: failed program was:" >&5 3271 echo "$as_me: failed program was:" >&5
2984 cat conftest.$ac_ext >&5 3272 sed 's/^/| /' conftest.$ac_ext >&5
3273
2985 ac_header_compiler=no 3274 ac_header_compiler=no
2986 fi 3275 fi
2987 rm -f conftest.$ac_objext conftest.$ac_ext 3276 rm -f conftest.$ac_objext conftest.$ac_ext
2988 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3277 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2989 echo "${ECHO_T}$ac_header_compiler" >&6 3278 echo "${ECHO_T}$ac_header_compiler" >&6
2991 # Is the header present? 3280 # Is the header present?
2992 echo "$as_me:$LINENO: checking $ac_header presence" >&5 3281 echo "$as_me:$LINENO: checking $ac_header presence" >&5
2993 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 3282 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
2994 cat >conftest.$ac_ext <<_ACEOF 3283 cat >conftest.$ac_ext <<_ACEOF
2995 #line $LINENO "configure" 3284 #line $LINENO "configure"
2996 #include "confdefs.h" 3285 /* confdefs.h. */
3286 _ACEOF
3287 cat confdefs.h >>conftest.$ac_ext
3288 cat >>conftest.$ac_ext <<_ACEOF
3289 /* end confdefs.h. */
2997 #include <$ac_header> 3290 #include <$ac_header>
2998 _ACEOF 3291 _ACEOF
2999 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3292 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3000 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3293 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3001 ac_status=$? 3294 ac_status=$?
3002 egrep -v '^ *\+' conftest.er1 >conftest.err 3295 grep -v '^ *+' conftest.er1 >conftest.err
3003 rm -f conftest.er1 3296 rm -f conftest.er1
3004 cat conftest.err >&5 3297 cat conftest.err >&5
3005 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3006 (exit $ac_status); } >/dev/null; then 3299 (exit $ac_status); } >/dev/null; then
3007 if test -s conftest.err; then 3300 if test -s conftest.err; then
3014 fi 3307 fi
3015 if test -z "$ac_cpp_err"; then 3308 if test -z "$ac_cpp_err"; then
3016 ac_header_preproc=yes 3309 ac_header_preproc=yes
3017 else 3310 else
3018 echo "$as_me: failed program was:" >&5 3311 echo "$as_me: failed program was:" >&5
3019 cat conftest.$ac_ext >&5 3312 sed 's/^/| /' conftest.$ac_ext >&5
3313
3020 ac_header_preproc=no 3314 ac_header_preproc=no
3021 fi 3315 fi
3022 rm -f conftest.err conftest.$ac_ext 3316 rm -f conftest.err conftest.$ac_ext
3023 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3317 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3024 echo "${ECHO_T}$ac_header_preproc" >&6 3318 echo "${ECHO_T}$ac_header_preproc" >&6
3027 case $ac_header_compiler:$ac_header_preproc in 3321 case $ac_header_compiler:$ac_header_preproc in
3028 yes:no ) 3322 yes:no )
3029 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3323 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3030 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 3324 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3031 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3325 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3032 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; 3326 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3327 (
3328 cat <<\_ASBOX
3329 ## ------------------------------------ ##
3330 ## Report this to bug-autoconf@gnu.org. ##
3331 ## ------------------------------------ ##
3332 _ASBOX
3333 ) |
3334 sed "s/^/$as_me: WARNING: /" >&2
3335 ;;
3033 no:yes ) 3336 no:yes )
3034 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3337 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3035 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3338 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3036 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3339 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3037 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3340 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3038 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3341 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3039 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; 3342 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3343 (
3344 cat <<\_ASBOX
3345 ## ------------------------------------ ##
3346 ## Report this to bug-autoconf@gnu.org. ##
3347 ## ------------------------------------ ##
3348 _ASBOX
3349 ) |
3350 sed "s/^/$as_me: WARNING: /" >&2
3351 ;;
3040 esac 3352 esac
3041 echo "$as_me:$LINENO: checking for $ac_header" >&5 3353 echo "$as_me:$LINENO: checking for $ac_header" >&5
3042 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3354 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3043 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3355 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3044 echo $ECHO_N "(cached) $ECHO_C" >&6 3356 echo $ECHO_N "(cached) $ECHO_C" >&6
3068 if eval "test \"\${$as_ac_var+set}\" = set"; then 3380 if eval "test \"\${$as_ac_var+set}\" = set"; then
3069 echo $ECHO_N "(cached) $ECHO_C" >&6 3381 echo $ECHO_N "(cached) $ECHO_C" >&6
3070 else 3382 else
3071 cat >conftest.$ac_ext <<_ACEOF 3383 cat >conftest.$ac_ext <<_ACEOF
3072 #line $LINENO "configure" 3384 #line $LINENO "configure"
3073 #include "confdefs.h" 3385 /* confdefs.h. */
3386 _ACEOF
3387 cat confdefs.h >>conftest.$ac_ext
3388 cat >>conftest.$ac_ext <<_ACEOF
3389 /* end confdefs.h. */
3074 /* System header to define __stub macros and hopefully few prototypes, 3390 /* System header to define __stub macros and hopefully few prototypes,
3075 which can conflict with char $ac_func (); below. */ 3391 which can conflict with char $ac_func (); below.
3076 #include <assert.h> 3392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3393 <limits.h> exists even on freestanding compilers. */
3394 #ifdef __STDC__
3395 # include <limits.h>
3396 #else
3397 # include <assert.h>
3398 #endif
3077 /* Override any gcc2 internal prototype to avoid an error. */ 3399 /* Override any gcc2 internal prototype to avoid an error. */
3078 #ifdef __cplusplus 3400 #ifdef __cplusplus
3079 extern "C" 3401 extern "C"
3402 {
3080 #endif 3403 #endif
3081 /* We use char because int might match the return type of a gcc2 3404 /* We use char because int might match the return type of a gcc2
3082 builtin and then its argument prototype would still apply. */ 3405 builtin and then its argument prototype would still apply. */
3083 char $ac_func (); 3406 char $ac_func ();
3084 char (*f) ();
3085
3086 #ifdef F77_DUMMY_MAIN
3087 # ifdef __cplusplus
3088 extern "C"
3089 # endif
3090 int F77_DUMMY_MAIN() { return 1; }
3091 #endif
3092 int
3093 main ()
3094 {
3095 /* The GNU C library defines this for functions which it implements 3407 /* The GNU C library defines this for functions which it implements
3096 to always fail with ENOSYS. Some functions are actually named 3408 to always fail with ENOSYS. Some functions are actually named
3097 something starting with __ and the normal name is an alias. */ 3409 something starting with __ and the normal name is an alias. */
3098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 3410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3099 choke me 3411 choke me
3100 #else 3412 #else
3101 f = $ac_func; 3413 char (*f) () = $ac_func;
3102 #endif 3414 #endif
3103 3415 #ifdef __cplusplus
3416 }
3417 #endif
3418
3419 int
3420 main ()
3421 {
3422 return f != $ac_func;
3104 ; 3423 ;
3105 return 0; 3424 return 0;
3106 } 3425 }
3107 _ACEOF 3426 _ACEOF
3108 rm -f conftest.$ac_objext conftest$ac_exeext 3427 rm -f conftest.$ac_objext conftest$ac_exeext
3118 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3119 (exit $ac_status); }; }; then 3438 (exit $ac_status); }; }; then
3120 eval "$as_ac_var=yes" 3439 eval "$as_ac_var=yes"
3121 else 3440 else
3122 echo "$as_me: failed program was:" >&5 3441 echo "$as_me: failed program was:" >&5
3123 cat conftest.$ac_ext >&5 3442 sed 's/^/| /' conftest.$ac_ext >&5
3443
3124 eval "$as_ac_var=no" 3444 eval "$as_ac_var=no"
3125 fi 3445 fi
3126 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3446 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3127 fi 3447 fi
3128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 3448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3149 if eval "test \"\${$as_ac_var+set}\" = set"; then 3469 if eval "test \"\${$as_ac_var+set}\" = set"; then
3150 echo $ECHO_N "(cached) $ECHO_C" >&6 3470 echo $ECHO_N "(cached) $ECHO_C" >&6
3151 else 3471 else
3152 cat >conftest.$ac_ext <<_ACEOF 3472 cat >conftest.$ac_ext <<_ACEOF
3153 #line $LINENO "configure" 3473 #line $LINENO "configure"
3154 #include "confdefs.h" 3474 /* confdefs.h. */
3475 _ACEOF
3476 cat confdefs.h >>conftest.$ac_ext
3477 cat >>conftest.$ac_ext <<_ACEOF
3478 /* end confdefs.h. */
3155 /* System header to define __stub macros and hopefully few prototypes, 3479 /* System header to define __stub macros and hopefully few prototypes,
3156 which can conflict with char $ac_func (); below. */ 3480 which can conflict with char $ac_func (); below.
3157 #include <assert.h> 3481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3482 <limits.h> exists even on freestanding compilers. */
3483 #ifdef __STDC__
3484 # include <limits.h>
3485 #else
3486 # include <assert.h>
3487 #endif
3158 /* Override any gcc2 internal prototype to avoid an error. */ 3488 /* Override any gcc2 internal prototype to avoid an error. */
3159 #ifdef __cplusplus 3489 #ifdef __cplusplus
3160 extern "C" 3490 extern "C"
3491 {
3161 #endif 3492 #endif
3162 /* We use char because int might match the return type of a gcc2 3493 /* We use char because int might match the return type of a gcc2
3163 builtin and then its argument prototype would still apply. */ 3494 builtin and then its argument prototype would still apply. */
3164 char $ac_func (); 3495 char $ac_func ();
3165 char (*f) ();
3166
3167 #ifdef F77_DUMMY_MAIN
3168 # ifdef __cplusplus
3169 extern "C"
3170 # endif
3171 int F77_DUMMY_MAIN() { return 1; }
3172 #endif
3173 int
3174 main ()
3175 {
3176 /* The GNU C library defines this for functions which it implements 3496 /* The GNU C library defines this for functions which it implements
3177 to always fail with ENOSYS. Some functions are actually named 3497 to always fail with ENOSYS. Some functions are actually named
3178 something starting with __ and the normal name is an alias. */ 3498 something starting with __ and the normal name is an alias. */
3179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 3499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3180 choke me 3500 choke me
3181 #else 3501 #else
3182 f = $ac_func; 3502 char (*f) () = $ac_func;
3183 #endif 3503 #endif
3184 3504 #ifdef __cplusplus
3505 }
3506 #endif
3507
3508 int
3509 main ()
3510 {
3511 return f != $ac_func;
3185 ; 3512 ;
3186 return 0; 3513 return 0;
3187 } 3514 }
3188 _ACEOF 3515 _ACEOF
3189 rm -f conftest.$ac_objext conftest$ac_exeext 3516 rm -f conftest.$ac_objext conftest$ac_exeext
3199 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3200 (exit $ac_status); }; }; then 3527 (exit $ac_status); }; }; then
3201 eval "$as_ac_var=yes" 3528 eval "$as_ac_var=yes"
3202 else 3529 else
3203 echo "$as_me: failed program was:" >&5 3530 echo "$as_me: failed program was:" >&5
3204 cat conftest.$ac_ext >&5 3531 sed 's/^/| /' conftest.$ac_ext >&5
3532
3205 eval "$as_ac_var=no" 3533 eval "$as_ac_var=no"
3206 fi 3534 fi
3207 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3535 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3208 fi 3536 fi
3209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 3537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3225 else 3553 else
3226 ac_check_lib_save_LIBS=$LIBS 3554 ac_check_lib_save_LIBS=$LIBS
3227 LIBS="-lsocket $LIBS" 3555 LIBS="-lsocket $LIBS"
3228 cat >conftest.$ac_ext <<_ACEOF 3556 cat >conftest.$ac_ext <<_ACEOF
3229 #line $LINENO "configure" 3557 #line $LINENO "configure"
3230 #include "confdefs.h" 3558 /* confdefs.h. */
3559 _ACEOF
3560 cat confdefs.h >>conftest.$ac_ext
3561 cat >>conftest.$ac_ext <<_ACEOF
3562 /* end confdefs.h. */
3231 3563
3232 /* Override any gcc2 internal prototype to avoid an error. */ 3564 /* Override any gcc2 internal prototype to avoid an error. */
3233 #ifdef __cplusplus 3565 #ifdef __cplusplus
3234 extern "C" 3566 extern "C"
3235 #endif 3567 #endif
3236 /* We use char because int might match the return type of a gcc2 3568 /* We use char because int might match the return type of a gcc2
3237 builtin and then its argument prototype would still apply. */ 3569 builtin and then its argument prototype would still apply. */
3238 char socket (); 3570 char socket ();
3239 #ifdef F77_DUMMY_MAIN
3240 # ifdef __cplusplus
3241 extern "C"
3242 # endif
3243 int F77_DUMMY_MAIN() { return 1; }
3244 #endif
3245 int 3571 int
3246 main () 3572 main ()
3247 { 3573 {
3248 socket (); 3574 socket ();
3249 ; 3575 ;
3263 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3264 (exit $ac_status); }; }; then 3590 (exit $ac_status); }; }; then
3265 ac_cv_lib_socket_socket=yes 3591 ac_cv_lib_socket_socket=yes
3266 else 3592 else
3267 echo "$as_me: failed program was:" >&5 3593 echo "$as_me: failed program was:" >&5
3268 cat conftest.$ac_ext >&5 3594 sed 's/^/| /' conftest.$ac_ext >&5
3595
3269 ac_cv_lib_socket_socket=no 3596 ac_cv_lib_socket_socket=no
3270 fi 3597 fi
3271 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3598 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3272 LIBS=$ac_check_lib_save_LIBS 3599 LIBS=$ac_check_lib_save_LIBS
3273 fi 3600 fi
3287 else 3614 else
3288 ac_check_lib_save_LIBS=$LIBS 3615 ac_check_lib_save_LIBS=$LIBS
3289 LIBS="-linet $LIBS" 3616 LIBS="-linet $LIBS"
3290 cat >conftest.$ac_ext <<_ACEOF 3617 cat >conftest.$ac_ext <<_ACEOF
3291 #line $LINENO "configure" 3618 #line $LINENO "configure"
3292 #include "confdefs.h" 3619 /* confdefs.h. */
3620 _ACEOF
3621 cat confdefs.h >>conftest.$ac_ext
3622 cat >>conftest.$ac_ext <<_ACEOF
3623 /* end confdefs.h. */
3293 3624
3294 /* Override any gcc2 internal prototype to avoid an error. */ 3625 /* Override any gcc2 internal prototype to avoid an error. */
3295 #ifdef __cplusplus 3626 #ifdef __cplusplus
3296 extern "C" 3627 extern "C"
3297 #endif 3628 #endif
3298 /* We use char because int might match the return type of a gcc2 3629 /* We use char because int might match the return type of a gcc2
3299 builtin and then its argument prototype would still apply. */ 3630 builtin and then its argument prototype would still apply. */
3300 char socket (); 3631 char socket ();
3301 #ifdef F77_DUMMY_MAIN
3302 # ifdef __cplusplus
3303 extern "C"
3304 # endif
3305 int F77_DUMMY_MAIN() { return 1; }
3306 #endif
3307 int 3632 int
3308 main () 3633 main ()
3309 { 3634 {
3310 socket (); 3635 socket ();
3311 ; 3636 ;
3325 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3326 (exit $ac_status); }; }; then 3651 (exit $ac_status); }; }; then
3327 ac_cv_lib_inet_socket=yes 3652 ac_cv_lib_inet_socket=yes
3328 else 3653 else
3329 echo "$as_me: failed program was:" >&5 3654 echo "$as_me: failed program was:" >&5
3330 cat conftest.$ac_ext >&5 3655 sed 's/^/| /' conftest.$ac_ext >&5
3656
3331 ac_cv_lib_inet_socket=no 3657 ac_cv_lib_inet_socket=no
3332 fi 3658 fi
3333 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3659 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3334 LIBS=$ac_check_lib_save_LIBS 3660 LIBS=$ac_check_lib_save_LIBS
3335 fi 3661 fi
3349 else 3675 else
3350 ac_check_lib_save_LIBS=$LIBS 3676 ac_check_lib_save_LIBS=$LIBS
3351 LIBS="-lnsl $LIBS" 3677 LIBS="-lnsl $LIBS"
3352 cat >conftest.$ac_ext <<_ACEOF 3678 cat >conftest.$ac_ext <<_ACEOF
3353 #line $LINENO "configure" 3679 #line $LINENO "configure"
3354 #include "confdefs.h" 3680 /* confdefs.h. */
3681 _ACEOF
3682 cat confdefs.h >>conftest.$ac_ext
3683 cat >>conftest.$ac_ext <<_ACEOF
3684 /* end confdefs.h. */
3355 3685
3356 /* Override any gcc2 internal prototype to avoid an error. */ 3686 /* Override any gcc2 internal prototype to avoid an error. */
3357 #ifdef __cplusplus 3687 #ifdef __cplusplus
3358 extern "C" 3688 extern "C"
3359 #endif 3689 #endif
3360 /* We use char because int might match the return type of a gcc2 3690 /* We use char because int might match the return type of a gcc2
3361 builtin and then its argument prototype would still apply. */ 3691 builtin and then its argument prototype would still apply. */
3362 char gethostname (); 3692 char gethostname ();
3363 #ifdef F77_DUMMY_MAIN
3364 # ifdef __cplusplus
3365 extern "C"
3366 # endif
3367 int F77_DUMMY_MAIN() { return 1; }
3368 #endif
3369 int 3693 int
3370 main () 3694 main ()
3371 { 3695 {
3372 gethostname (); 3696 gethostname ();
3373 ; 3697 ;
3387 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3388 (exit $ac_status); }; }; then 3712 (exit $ac_status); }; }; then
3389 ac_cv_lib_nsl_gethostname=yes 3713 ac_cv_lib_nsl_gethostname=yes
3390 else 3714 else
3391 echo "$as_me: failed program was:" >&5 3715 echo "$as_me: failed program was:" >&5
3392 cat conftest.$ac_ext >&5 3716 sed 's/^/| /' conftest.$ac_ext >&5
3717
3393 ac_cv_lib_nsl_gethostname=no 3718 ac_cv_lib_nsl_gethostname=no
3394 fi 3719 fi
3395 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3720 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3396 LIBS=$ac_check_lib_save_LIBS 3721 LIBS=$ac_check_lib_save_LIBS
3397 fi 3722 fi
3411 else 3736 else
3412 ac_check_lib_save_LIBS=$LIBS 3737 ac_check_lib_save_LIBS=$LIBS
3413 LIBS="-lsun $LIBS" 3738 LIBS="-lsun $LIBS"
3414 cat >conftest.$ac_ext <<_ACEOF 3739 cat >conftest.$ac_ext <<_ACEOF
3415 #line $LINENO "configure" 3740 #line $LINENO "configure"
3416 #include "confdefs.h" 3741 /* confdefs.h. */
3742 _ACEOF
3743 cat confdefs.h >>conftest.$ac_ext
3744 cat >>conftest.$ac_ext <<_ACEOF
3745 /* end confdefs.h. */
3417 3746
3418 /* Override any gcc2 internal prototype to avoid an error. */ 3747 /* Override any gcc2 internal prototype to avoid an error. */
3419 #ifdef __cplusplus 3748 #ifdef __cplusplus
3420 extern "C" 3749 extern "C"
3421 #endif 3750 #endif
3422 /* We use char because int might match the return type of a gcc2 3751 /* We use char because int might match the return type of a gcc2
3423 builtin and then its argument prototype would still apply. */ 3752 builtin and then its argument prototype would still apply. */
3424 char getpwnam (); 3753 char getpwnam ();
3425 #ifdef F77_DUMMY_MAIN
3426 # ifdef __cplusplus
3427 extern "C"
3428 # endif
3429 int F77_DUMMY_MAIN() { return 1; }
3430 #endif
3431 int 3754 int
3432 main () 3755 main ()
3433 { 3756 {
3434 getpwnam (); 3757 getpwnam ();
3435 ; 3758 ;
3449 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3450 (exit $ac_status); }; }; then 3773 (exit $ac_status); }; }; then
3451 ac_cv_lib_sun_getpwnam=yes 3774 ac_cv_lib_sun_getpwnam=yes
3452 else 3775 else
3453 echo "$as_me: failed program was:" >&5 3776 echo "$as_me: failed program was:" >&5
3454 cat conftest.$ac_ext >&5 3777 sed 's/^/| /' conftest.$ac_ext >&5
3778
3455 ac_cv_lib_sun_getpwnam=no 3779 ac_cv_lib_sun_getpwnam=no
3456 fi 3780 fi
3457 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3781 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3458 LIBS=$ac_check_lib_save_LIBS 3782 LIBS=$ac_check_lib_save_LIBS
3459 fi 3783 fi
3470 else 3794 else
3471 ac_check_lib_save_LIBS=$LIBS 3795 ac_check_lib_save_LIBS=$LIBS
3472 LIBS="-ldgc $LIBS" 3796 LIBS="-ldgc $LIBS"
3473 cat >conftest.$ac_ext <<_ACEOF 3797 cat >conftest.$ac_ext <<_ACEOF
3474 #line $LINENO "configure" 3798 #line $LINENO "configure"
3475 #include "confdefs.h" 3799 /* confdefs.h. */
3800 _ACEOF
3801 cat confdefs.h >>conftest.$ac_ext
3802 cat >>conftest.$ac_ext <<_ACEOF
3803 /* end confdefs.h. */
3476 3804
3477 /* Override any gcc2 internal prototype to avoid an error. */ 3805 /* Override any gcc2 internal prototype to avoid an error. */
3478 #ifdef __cplusplus 3806 #ifdef __cplusplus
3479 extern "C" 3807 extern "C"
3480 #endif 3808 #endif
3481 /* We use char because int might match the return type of a gcc2 3809 /* We use char because int might match the return type of a gcc2
3482 builtin and then its argument prototype would still apply. */ 3810 builtin and then its argument prototype would still apply. */
3483 char inet_addr (); 3811 char inet_addr ();
3484 #ifdef F77_DUMMY_MAIN
3485 # ifdef __cplusplus
3486 extern "C"
3487 # endif
3488 int F77_DUMMY_MAIN() { return 1; }
3489 #endif
3490 int 3812 int
3491 main () 3813 main ()
3492 { 3814 {
3493 inet_addr (); 3815 inet_addr ();
3494 ; 3816 ;
3508 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3509 (exit $ac_status); }; }; then 3831 (exit $ac_status); }; }; then
3510 ac_cv_lib_dgc_inet_addr=yes 3832 ac_cv_lib_dgc_inet_addr=yes
3511 else 3833 else
3512 echo "$as_me: failed program was:" >&5 3834 echo "$as_me: failed program was:" >&5
3513 cat conftest.$ac_ext >&5 3835 sed 's/^/| /' conftest.$ac_ext >&5
3836
3514 ac_cv_lib_dgc_inet_addr=no 3837 ac_cv_lib_dgc_inet_addr=no
3515 fi 3838 fi
3516 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3839 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3517 LIBS=$ac_check_lib_save_LIBS 3840 LIBS=$ac_check_lib_save_LIBS
3518 fi 3841 fi
3529 else 3852 else
3530 ac_check_lib_save_LIBS=$LIBS 3853 ac_check_lib_save_LIBS=$LIBS
3531 LIBS="-lresolv $LIBS" 3854 LIBS="-lresolv $LIBS"
3532 cat >conftest.$ac_ext <<_ACEOF 3855 cat >conftest.$ac_ext <<_ACEOF
3533 #line $LINENO "configure" 3856 #line $LINENO "configure"
3534 #include "confdefs.h" 3857 /* confdefs.h. */
3858 _ACEOF
3859 cat confdefs.h >>conftest.$ac_ext
3860 cat >>conftest.$ac_ext <<_ACEOF
3861 /* end confdefs.h. */
3535 3862
3536 /* Override any gcc2 internal prototype to avoid an error. */ 3863 /* Override any gcc2 internal prototype to avoid an error. */
3537 #ifdef __cplusplus 3864 #ifdef __cplusplus
3538 extern "C" 3865 extern "C"
3539 #endif 3866 #endif
3540 /* We use char because int might match the return type of a gcc2 3867 /* We use char because int might match the return type of a gcc2
3541 builtin and then its argument prototype would still apply. */ 3868 builtin and then its argument prototype would still apply. */
3542 char gethostbyname (); 3869 char gethostbyname ();
3543 #ifdef F77_DUMMY_MAIN
3544 # ifdef __cplusplus
3545 extern "C"
3546 # endif
3547 int F77_DUMMY_MAIN() { return 1; }
3548 #endif
3549 int 3870 int
3550 main () 3871 main ()
3551 { 3872 {
3552 gethostbyname (); 3873 gethostbyname ();
3553 ; 3874 ;
3567 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3568 (exit $ac_status); }; }; then 3889 (exit $ac_status); }; }; then
3569 ac_cv_lib_resolv_gethostbyname=yes 3890 ac_cv_lib_resolv_gethostbyname=yes
3570 else 3891 else
3571 echo "$as_me: failed program was:" >&5 3892 echo "$as_me: failed program was:" >&5
3572 cat conftest.$ac_ext >&5 3893 sed 's/^/| /' conftest.$ac_ext >&5
3894
3573 ac_cv_lib_resolv_gethostbyname=no 3895 ac_cv_lib_resolv_gethostbyname=no
3574 fi 3896 fi
3575 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3897 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3576 LIBS=$ac_check_lib_save_LIBS 3898 LIBS=$ac_check_lib_save_LIBS
3577 fi 3899 fi
3585 OPSYSTEM=`uname -s` 3907 OPSYSTEM=`uname -s`
3586 3908
3587 if test $OPSYSTEM = "Darwin"; then 3909 if test $OPSYSTEM = "Darwin"; then
3588 DW_SRC=mac 3910 DW_SRC=mac
3589 DW_DEFINE=__MAC__ 3911 DW_DEFINE=__MAC__
3912 SHAREDFLAG=-dynamic
3913 LIBS="$LIBS -framework Carbon"
3590 else 3914 else
3591 # Extract the first word of "pkg-config", so it can be a program name with args. 3915 # Extract the first word of "pkg-config", so it can be a program name with args.
3592 set dummy pkg-config; ac_word=$2 3916 set dummy pkg-config; ac_word=$2
3593 echo "$as_me:$LINENO: checking for $ac_word" >&5 3917 echo "$as_me:$LINENO: checking for $ac_word" >&5
3594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3741 if test "$cross_compiling" = yes; then 4065 if test "$cross_compiling" = yes; then
3742 echo $ac_n "cross compiling; assumed OK... $ac_c" 4066 echo $ac_n "cross compiling; assumed OK... $ac_c"
3743 else 4067 else
3744 cat >conftest.$ac_ext <<_ACEOF 4068 cat >conftest.$ac_ext <<_ACEOF
3745 #line $LINENO "configure" 4069 #line $LINENO "configure"
3746 #include "confdefs.h" 4070 /* confdefs.h. */
4071 _ACEOF
4072 cat confdefs.h >>conftest.$ac_ext
4073 cat >>conftest.$ac_ext <<_ACEOF
4074 /* end confdefs.h. */
3747 4075
3748 #include <glib.h> 4076 #include <glib.h>
3749 #include <stdio.h> 4077 #include <stdio.h>
3750 #include <stdlib.h> 4078 #include <stdlib.h>
3751 4079
3831 (exit $ac_status); }; }; then 4159 (exit $ac_status); }; }; then
3832 : 4160 :
3833 else 4161 else
3834 echo "$as_me: program exited with status $ac_status" >&5 4162 echo "$as_me: program exited with status $ac_status" >&5
3835 echo "$as_me: failed program was:" >&5 4163 echo "$as_me: failed program was:" >&5
3836 cat conftest.$ac_ext >&5 4164 sed 's/^/| /' conftest.$ac_ext >&5
4165
3837 ( exit $ac_status ) 4166 ( exit $ac_status )
3838 no_glib=yes 4167 no_glib=yes
3839 fi 4168 fi
3840 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4169 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3841 fi 4170 fi
3842 CFLAGS="$ac_save_CFLAGS" 4171 CFLAGS="$ac_save_CFLAGS"
3843 LIBS="$ac_save_LIBS" 4172 LIBS="$ac_save_LIBS"
3844 fi 4173 fi
3845 fi 4174 fi
3862 echo "*** Could not run GLIB test program, checking why..." 4191 echo "*** Could not run GLIB test program, checking why..."
3863 CFLAGS="$CFLAGS $GLIB_CFLAGS" 4192 CFLAGS="$CFLAGS $GLIB_CFLAGS"
3864 LIBS="$LIBS $GLIB_LIBS" 4193 LIBS="$LIBS $GLIB_LIBS"
3865 cat >conftest.$ac_ext <<_ACEOF 4194 cat >conftest.$ac_ext <<_ACEOF
3866 #line $LINENO "configure" 4195 #line $LINENO "configure"
3867 #include "confdefs.h" 4196 /* confdefs.h. */
4197 _ACEOF
4198 cat confdefs.h >>conftest.$ac_ext
4199 cat >>conftest.$ac_ext <<_ACEOF
4200 /* end confdefs.h. */
3868 4201
3869 #include <glib.h> 4202 #include <glib.h>
3870 #include <stdio.h> 4203 #include <stdio.h>
3871 4204
3872 #ifdef F77_DUMMY_MAIN
3873 # ifdef __cplusplus
3874 extern "C"
3875 # endif
3876 int F77_DUMMY_MAIN() { return 1; }
3877 #endif
3878 int 4205 int
3879 main () 4206 main ()
3880 { 4207 {
3881 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); 4208 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
3882 ; 4209 ;
3904 echo "***" 4231 echo "***"
3905 echo "*** If you have an old version installed, it is best to remove it, although" 4232 echo "*** If you have an old version installed, it is best to remove it, although"
3906 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" 4233 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
3907 else 4234 else
3908 echo "$as_me: failed program was:" >&5 4235 echo "$as_me: failed program was:" >&5
3909 cat conftest.$ac_ext >&5 4236 sed 's/^/| /' conftest.$ac_ext >&5
4237
3910 echo "*** The test program failed to compile or link. See the file config.log for the" 4238 echo "*** The test program failed to compile or link. See the file config.log for the"
3911 echo "*** exact error that occured. This usually means GLIB was incorrectly installed" 4239 echo "*** exact error that occured. This usually means GLIB was incorrectly installed"
3912 echo "*** or that you have moved GLIB since it was installed. In the latter case, you" 4240 echo "*** or that you have moved GLIB since it was installed. In the latter case, you"
3913 echo "*** may want to edit the glib-config script: $GLIB_CONFIG" 4241 echo "*** may want to edit the glib-config script: $GLIB_CONFIG"
3914 fi 4242 fi
4041 if test "$cross_compiling" = yes; then 4369 if test "$cross_compiling" = yes; then
4042 echo $ac_n "cross compiling; assumed OK... $ac_c" 4370 echo $ac_n "cross compiling; assumed OK... $ac_c"
4043 else 4371 else
4044 cat >conftest.$ac_ext <<_ACEOF 4372 cat >conftest.$ac_ext <<_ACEOF
4045 #line $LINENO "configure" 4373 #line $LINENO "configure"
4046 #include "confdefs.h" 4374 /* confdefs.h. */
4375 _ACEOF
4376 cat confdefs.h >>conftest.$ac_ext
4377 cat >>conftest.$ac_ext <<_ACEOF
4378 /* end confdefs.h. */
4047 4379
4048 #include <gtk/gtk.h> 4380 #include <gtk/gtk.h>
4049 #include <stdio.h> 4381 #include <stdio.h>
4050 #include <stdlib.h> 4382 #include <stdlib.h>
4051 4383
4133 (exit $ac_status); }; }; then 4465 (exit $ac_status); }; }; then
4134 : 4466 :
4135 else 4467 else
4136 echo "$as_me: program exited with status $ac_status" >&5 4468 echo "$as_me: program exited with status $ac_status" >&5
4137 echo "$as_me: failed program was:" >&5 4469 echo "$as_me: failed program was:" >&5
4138 cat conftest.$ac_ext >&5 4470 sed 's/^/| /' conftest.$ac_ext >&5
4471
4139 ( exit $ac_status ) 4472 ( exit $ac_status )
4140 no_gtk=yes 4473 no_gtk=yes
4141 fi 4474 fi
4142 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4475 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4143 fi 4476 fi
4144 CFLAGS="$ac_save_CFLAGS" 4477 CFLAGS="$ac_save_CFLAGS"
4145 LIBS="$ac_save_LIBS" 4478 LIBS="$ac_save_LIBS"
4146 fi 4479 fi
4147 fi 4480 fi
4164 echo "*** Could not run GTK test program, checking why..." 4497 echo "*** Could not run GTK test program, checking why..."
4165 CFLAGS="$CFLAGS $GTK_CFLAGS" 4498 CFLAGS="$CFLAGS $GTK_CFLAGS"
4166 LIBS="$LIBS $GTK_LIBS" 4499 LIBS="$LIBS $GTK_LIBS"
4167 cat >conftest.$ac_ext <<_ACEOF 4500 cat >conftest.$ac_ext <<_ACEOF
4168 #line $LINENO "configure" 4501 #line $LINENO "configure"
4169 #include "confdefs.h" 4502 /* confdefs.h. */
4503 _ACEOF
4504 cat confdefs.h >>conftest.$ac_ext
4505 cat >>conftest.$ac_ext <<_ACEOF
4506 /* end confdefs.h. */
4170 4507
4171 #include <gtk/gtk.h> 4508 #include <gtk/gtk.h>
4172 #include <stdio.h> 4509 #include <stdio.h>
4173 4510
4174 #ifdef F77_DUMMY_MAIN
4175 # ifdef __cplusplus
4176 extern "C"
4177 # endif
4178 int F77_DUMMY_MAIN() { return 1; }
4179 #endif
4180 int 4511 int
4181 main () 4512 main ()
4182 { 4513 {
4183 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); 4514 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
4184 ; 4515 ;
4206 echo "***" 4537 echo "***"
4207 echo "*** If you have an old version installed, it is best to remove it, although" 4538 echo "*** If you have an old version installed, it is best to remove it, although"
4208 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" 4539 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
4209 else 4540 else
4210 echo "$as_me: failed program was:" >&5 4541 echo "$as_me: failed program was:" >&5
4211 cat conftest.$ac_ext >&5 4542 sed 's/^/| /' conftest.$ac_ext >&5
4543
4212 echo "*** The test program failed to compile or link. See the file config.log for the" 4544 echo "*** The test program failed to compile or link. See the file config.log for the"
4213 echo "*** exact error that occured. This usually means GTK was incorrectly installed" 4545 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
4214 echo "*** or that you have moved GTK since it was installed. In the latter case, you" 4546 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
4215 echo "*** may want to edit the gtk-config script: $GTK_CONFIG" 4547 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
4216 fi 4548 fi
4335 if test "$cross_compiling" = yes; then 4667 if test "$cross_compiling" = yes; then
4336 echo $ac_n "cross compiling; assumed OK... $ac_c" 4668 echo $ac_n "cross compiling; assumed OK... $ac_c"
4337 else 4669 else
4338 cat >conftest.$ac_ext <<_ACEOF 4670 cat >conftest.$ac_ext <<_ACEOF
4339 #line $LINENO "configure" 4671 #line $LINENO "configure"
4340 #include "confdefs.h" 4672 /* confdefs.h. */
4673 _ACEOF
4674 cat confdefs.h >>conftest.$ac_ext
4675 cat >>conftest.$ac_ext <<_ACEOF
4676 /* end confdefs.h. */
4341 4677
4342 #include <stdio.h> 4678 #include <stdio.h>
4343 #include <stdlib.h> 4679 #include <stdlib.h>
4344 #include <gdk_imlib.h> 4680 #include <gdk_imlib.h>
4345 4681
4391 (exit $ac_status); }; }; then 4727 (exit $ac_status); }; }; then
4392 : 4728 :
4393 else 4729 else
4394 echo "$as_me: program exited with status $ac_status" >&5 4730 echo "$as_me: program exited with status $ac_status" >&5
4395 echo "$as_me: failed program was:" >&5 4731 echo "$as_me: failed program was:" >&5
4396 cat conftest.$ac_ext >&5 4732 sed 's/^/| /' conftest.$ac_ext >&5
4733
4397 ( exit $ac_status ) 4734 ( exit $ac_status )
4398 no_imlib=yes 4735 no_imlib=yes
4399 fi 4736 fi
4400 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4737 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4401 fi 4738 fi
4402 CFLAGS="$ac_save_CFLAGS" 4739 CFLAGS="$ac_save_CFLAGS"
4403 LIBS="$ac_save_LIBS" 4740 LIBS="$ac_save_LIBS"
4404 fi 4741 fi
4405 fi 4742 fi
4425 echo "*** Could not run IMLIB test program, checking why..." 4762 echo "*** Could not run IMLIB test program, checking why..."
4426 CFLAGS="$CFLAGS $GDK_IMLIB_CFLAGS" 4763 CFLAGS="$CFLAGS $GDK_IMLIB_CFLAGS"
4427 LIBS="$LIBS $GDK_IMLIB_LIBS" 4764 LIBS="$LIBS $GDK_IMLIB_LIBS"
4428 cat >conftest.$ac_ext <<_ACEOF 4765 cat >conftest.$ac_ext <<_ACEOF
4429 #line $LINENO "configure" 4766 #line $LINENO "configure"
4430 #include "confdefs.h" 4767 /* confdefs.h. */
4768 _ACEOF
4769 cat confdefs.h >>conftest.$ac_ext
4770 cat >>conftest.$ac_ext <<_ACEOF
4771 /* end confdefs.h. */
4431 4772
4432 #include <stdio.h> 4773 #include <stdio.h>
4433 #include <gdk_imlib.h> 4774 #include <gdk_imlib.h>
4434 4775
4435 #ifdef F77_DUMMY_MAIN
4436 # ifdef __cplusplus
4437 extern "C"
4438 # endif
4439 int F77_DUMMY_MAIN() { return 1; }
4440 #endif
4441 int 4776 int
4442 main () 4777 main ()
4443 { 4778 {
4444 return 0; 4779 return 0;
4445 ; 4780 ;
4467 echo "***" 4802 echo "***"
4468 echo "*** If you have an old version installed, it is best to remove it, although" 4803 echo "*** If you have an old version installed, it is best to remove it, although"
4469 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" 4804 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
4470 else 4805 else
4471 echo "$as_me: failed program was:" >&5 4806 echo "$as_me: failed program was:" >&5
4472 cat conftest.$ac_ext >&5 4807 sed 's/^/| /' conftest.$ac_ext >&5
4808
4473 echo "*** The test program failed to compile or link. See the file config.log for the" 4809 echo "*** The test program failed to compile or link. See the file config.log for the"
4474 echo "*** exact error that occured. This usually means IMLIB was incorrectly installed" 4810 echo "*** exact error that occured. This usually means IMLIB was incorrectly installed"
4475 echo "*** or that you have moved IMLIB since it was installed. In the latter case, you" 4811 echo "*** or that you have moved IMLIB since it was installed. In the latter case, you"
4476 echo "*** may want to edit the imlib-config script: $IMLIB_CONFIG" 4812 echo "*** may want to edit the imlib-config script: $IMLIB_CONFIG"
4477 fi 4813 fi
4508 # Is the header compilable? 4844 # Is the header compilable?
4509 echo "$as_me:$LINENO: checking pthread.h usability" >&5 4845 echo "$as_me:$LINENO: checking pthread.h usability" >&5
4510 echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6 4846 echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6
4511 cat >conftest.$ac_ext <<_ACEOF 4847 cat >conftest.$ac_ext <<_ACEOF
4512 #line $LINENO "configure" 4848 #line $LINENO "configure"
4513 #include "confdefs.h" 4849 /* confdefs.h. */
4850 _ACEOF
4851 cat confdefs.h >>conftest.$ac_ext
4852 cat >>conftest.$ac_ext <<_ACEOF
4853 /* end confdefs.h. */
4514 $ac_includes_default 4854 $ac_includes_default
4515 #include <pthread.h> 4855 #include <pthread.h>
4516 _ACEOF 4856 _ACEOF
4517 rm -f conftest.$ac_objext 4857 rm -f conftest.$ac_objext
4518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4527 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528 (exit $ac_status); }; }; then 4868 (exit $ac_status); }; }; then
4529 ac_header_compiler=yes 4869 ac_header_compiler=yes
4530 else 4870 else
4531 echo "$as_me: failed program was:" >&5 4871 echo "$as_me: failed program was:" >&5
4532 cat conftest.$ac_ext >&5 4872 sed 's/^/| /' conftest.$ac_ext >&5
4873
4533 ac_header_compiler=no 4874 ac_header_compiler=no
4534 fi 4875 fi
4535 rm -f conftest.$ac_objext conftest.$ac_ext 4876 rm -f conftest.$ac_objext conftest.$ac_ext
4536 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4877 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4537 echo "${ECHO_T}$ac_header_compiler" >&6 4878 echo "${ECHO_T}$ac_header_compiler" >&6
4539 # Is the header present? 4880 # Is the header present?
4540 echo "$as_me:$LINENO: checking pthread.h presence" >&5 4881 echo "$as_me:$LINENO: checking pthread.h presence" >&5
4541 echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6 4882 echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6
4542 cat >conftest.$ac_ext <<_ACEOF 4883 cat >conftest.$ac_ext <<_ACEOF
4543 #line $LINENO "configure" 4884 #line $LINENO "configure"
4544 #include "confdefs.h" 4885 /* confdefs.h. */
4886 _ACEOF
4887 cat confdefs.h >>conftest.$ac_ext
4888 cat >>conftest.$ac_ext <<_ACEOF
4889 /* end confdefs.h. */
4545 #include <pthread.h> 4890 #include <pthread.h>
4546 _ACEOF 4891 _ACEOF
4547 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4892 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4548 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4893 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4549 ac_status=$? 4894 ac_status=$?
4550 egrep -v '^ *\+' conftest.er1 >conftest.err 4895 grep -v '^ *+' conftest.er1 >conftest.err
4551 rm -f conftest.er1 4896 rm -f conftest.er1
4552 cat conftest.err >&5 4897 cat conftest.err >&5
4553 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4554 (exit $ac_status); } >/dev/null; then 4899 (exit $ac_status); } >/dev/null; then
4555 if test -s conftest.err; then 4900 if test -s conftest.err; then
4562 fi 4907 fi
4563 if test -z "$ac_cpp_err"; then 4908 if test -z "$ac_cpp_err"; then
4564 ac_header_preproc=yes 4909 ac_header_preproc=yes
4565 else 4910 else
4566 echo "$as_me: failed program was:" >&5 4911 echo "$as_me: failed program was:" >&5
4567 cat conftest.$ac_ext >&5 4912 sed 's/^/| /' conftest.$ac_ext >&5
4913
4568 ac_header_preproc=no 4914 ac_header_preproc=no
4569 fi 4915 fi
4570 rm -f conftest.err conftest.$ac_ext 4916 rm -f conftest.err conftest.$ac_ext
4571 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4917 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4572 echo "${ECHO_T}$ac_header_preproc" >&6 4918 echo "${ECHO_T}$ac_header_preproc" >&6
4575 case $ac_header_compiler:$ac_header_preproc in 4921 case $ac_header_compiler:$ac_header_preproc in
4576 yes:no ) 4922 yes:no )
4577 { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5 4923 { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
4578 echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4924 echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4579 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5 4925 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
4580 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;};; 4926 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;}
4927 (
4928 cat <<\_ASBOX
4929 ## ------------------------------------ ##
4930 ## Report this to bug-autoconf@gnu.org. ##
4931 ## ------------------------------------ ##
4932 _ASBOX
4933 ) |
4934 sed "s/^/$as_me: WARNING: /" >&2
4935 ;;
4581 no:yes ) 4936 no:yes )
4582 { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5 4937 { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
4583 echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;} 4938 echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;}
4584 { echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5 4939 { echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5
4585 echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;} 4940 echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;}
4586 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5 4941 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
4587 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;};; 4942 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;}
4943 (
4944 cat <<\_ASBOX
4945 ## ------------------------------------ ##
4946 ## Report this to bug-autoconf@gnu.org. ##
4947 ## ------------------------------------ ##
4948 _ASBOX
4949 ) |
4950 sed "s/^/$as_me: WARNING: /" >&2
4951 ;;
4588 esac 4952 esac
4589 echo "$as_me:$LINENO: checking for pthread.h" >&5 4953 echo "$as_me:$LINENO: checking for pthread.h" >&5
4590 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6 4954 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
4591 if test "${ac_cv_header_pthread_h+set}" = set; then 4955 if test "${ac_cv_header_pthread_h+set}" = set; then
4592 echo $ECHO_N "(cached) $ECHO_C" >&6 4956 echo $ECHO_N "(cached) $ECHO_C" >&6
4613 else 4977 else
4614 ac_check_lib_save_LIBS=$LIBS 4978 ac_check_lib_save_LIBS=$LIBS
4615 LIBS="-lpthread $LIBS" 4979 LIBS="-lpthread $LIBS"
4616 cat >conftest.$ac_ext <<_ACEOF 4980 cat >conftest.$ac_ext <<_ACEOF
4617 #line $LINENO "configure" 4981 #line $LINENO "configure"
4618 #include "confdefs.h" 4982 /* confdefs.h. */
4983 _ACEOF
4984 cat confdefs.h >>conftest.$ac_ext
4985 cat >>conftest.$ac_ext <<_ACEOF
4986 /* end confdefs.h. */
4619 4987
4620 /* Override any gcc2 internal prototype to avoid an error. */ 4988 /* Override any gcc2 internal prototype to avoid an error. */
4621 #ifdef __cplusplus 4989 #ifdef __cplusplus
4622 extern "C" 4990 extern "C"
4623 #endif 4991 #endif
4624 /* We use char because int might match the return type of a gcc2 4992 /* We use char because int might match the return type of a gcc2
4625 builtin and then its argument prototype would still apply. */ 4993 builtin and then its argument prototype would still apply. */
4626 char pthread_attr_init (); 4994 char pthread_attr_init ();
4627 #ifdef F77_DUMMY_MAIN
4628 # ifdef __cplusplus
4629 extern "C"
4630 # endif
4631 int F77_DUMMY_MAIN() { return 1; }
4632 #endif
4633 int 4995 int
4634 main () 4996 main ()
4635 { 4997 {
4636 pthread_attr_init (); 4998 pthread_attr_init ();
4637 ; 4999 ;
4651 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4652 (exit $ac_status); }; }; then 5014 (exit $ac_status); }; }; then
4653 ac_cv_lib_pthread_pthread_attr_init=yes 5015 ac_cv_lib_pthread_pthread_attr_init=yes
4654 else 5016 else
4655 echo "$as_me: failed program was:" >&5 5017 echo "$as_me: failed program was:" >&5
4656 cat conftest.$ac_ext >&5 5018 sed 's/^/| /' conftest.$ac_ext >&5
5019
4657 ac_cv_lib_pthread_pthread_attr_init=no 5020 ac_cv_lib_pthread_pthread_attr_init=no
4658 fi 5021 fi
4659 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5022 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4660 LIBS=$ac_check_lib_save_LIBS 5023 LIBS=$ac_check_lib_save_LIBS
4661 fi 5024 fi
4671 else 5034 else
4672 ac_check_lib_save_LIBS=$LIBS 5035 ac_check_lib_save_LIBS=$LIBS
4673 LIBS="-lpthreads $LIBS" 5036 LIBS="-lpthreads $LIBS"
4674 cat >conftest.$ac_ext <<_ACEOF 5037 cat >conftest.$ac_ext <<_ACEOF
4675 #line $LINENO "configure" 5038 #line $LINENO "configure"
4676 #include "confdefs.h" 5039 /* confdefs.h. */
5040 _ACEOF
5041 cat confdefs.h >>conftest.$ac_ext
5042 cat >>conftest.$ac_ext <<_ACEOF
5043 /* end confdefs.h. */
4677 5044
4678 /* Override any gcc2 internal prototype to avoid an error. */ 5045 /* Override any gcc2 internal prototype to avoid an error. */
4679 #ifdef __cplusplus 5046 #ifdef __cplusplus
4680 extern "C" 5047 extern "C"
4681 #endif 5048 #endif
4682 /* We use char because int might match the return type of a gcc2 5049 /* We use char because int might match the return type of a gcc2
4683 builtin and then its argument prototype would still apply. */ 5050 builtin and then its argument prototype would still apply. */
4684 char pthread_attr_init (); 5051 char pthread_attr_init ();
4685 #ifdef F77_DUMMY_MAIN
4686 # ifdef __cplusplus
4687 extern "C"
4688 # endif
4689 int F77_DUMMY_MAIN() { return 1; }
4690 #endif
4691 int 5052 int
4692 main () 5053 main ()
4693 { 5054 {
4694 pthread_attr_init (); 5055 pthread_attr_init ();
4695 ; 5056 ;
4709 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4710 (exit $ac_status); }; }; then 5071 (exit $ac_status); }; }; then
4711 ac_cv_lib_pthreads_pthread_attr_init=yes 5072 ac_cv_lib_pthreads_pthread_attr_init=yes
4712 else 5073 else
4713 echo "$as_me: failed program was:" >&5 5074 echo "$as_me: failed program was:" >&5
4714 cat conftest.$ac_ext >&5 5075 sed 's/^/| /' conftest.$ac_ext >&5
5076
4715 ac_cv_lib_pthreads_pthread_attr_init=no 5077 ac_cv_lib_pthreads_pthread_attr_init=no
4716 fi 5078 fi
4717 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5079 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4718 LIBS=$ac_check_lib_save_LIBS 5080 LIBS=$ac_check_lib_save_LIBS
4719 fi 5081 fi
4729 else 5091 else
4730 ac_check_lib_save_LIBS=$LIBS 5092 ac_check_lib_save_LIBS=$LIBS
4731 LIBS="-lc_r $LIBS" 5093 LIBS="-lc_r $LIBS"
4732 cat >conftest.$ac_ext <<_ACEOF 5094 cat >conftest.$ac_ext <<_ACEOF
4733 #line $LINENO "configure" 5095 #line $LINENO "configure"
4734 #include "confdefs.h" 5096 /* confdefs.h. */
5097 _ACEOF
5098 cat confdefs.h >>conftest.$ac_ext
5099 cat >>conftest.$ac_ext <<_ACEOF
5100 /* end confdefs.h. */
4735 5101
4736 /* Override any gcc2 internal prototype to avoid an error. */ 5102 /* Override any gcc2 internal prototype to avoid an error. */
4737 #ifdef __cplusplus 5103 #ifdef __cplusplus
4738 extern "C" 5104 extern "C"
4739 #endif 5105 #endif
4740 /* We use char because int might match the return type of a gcc2 5106 /* We use char because int might match the return type of a gcc2
4741 builtin and then its argument prototype would still apply. */ 5107 builtin and then its argument prototype would still apply. */
4742 char pthread_attr_init (); 5108 char pthread_attr_init ();
4743 #ifdef F77_DUMMY_MAIN
4744 # ifdef __cplusplus
4745 extern "C"
4746 # endif
4747 int F77_DUMMY_MAIN() { return 1; }
4748 #endif
4749 int 5109 int
4750 main () 5110 main ()
4751 { 5111 {
4752 pthread_attr_init (); 5112 pthread_attr_init ();
4753 ; 5113 ;
4767 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768 (exit $ac_status); }; }; then 5128 (exit $ac_status); }; }; then
4769 ac_cv_lib_c_r_pthread_attr_init=yes 5129 ac_cv_lib_c_r_pthread_attr_init=yes
4770 else 5130 else
4771 echo "$as_me: failed program was:" >&5 5131 echo "$as_me: failed program was:" >&5
4772 cat conftest.$ac_ext >&5 5132 sed 's/^/| /' conftest.$ac_ext >&5
5133
4773 ac_cv_lib_c_r_pthread_attr_init=no 5134 ac_cv_lib_c_r_pthread_attr_init=no
4774 fi 5135 fi
4775 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5136 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4776 LIBS=$ac_check_lib_save_LIBS 5137 LIBS=$ac_check_lib_save_LIBS
4777 fi 5138 fi
4813 5174
4814 5175
4815 5176
4816 5177
4817 5178
4818 ac_config_files="$ac_config_files Makefile dw-config" 5179
5180 ac_config_files="$ac_config_files Makefile dw-config"
4819 5181
4820 cat >confcache <<\_ACEOF 5182 cat >confcache <<\_ACEOF
4821 # This file is a shell script that caches the results of configure 5183 # This file is a shell script that caches the results of configure
4822 # tests run on this system so they can be shared between configure 5184 # tests run on this system so they can be shared between configure
4823 # scripts and configure runs, see configure's option --config-cache. 5185 # scripts and configure runs, see configure's option --config-cache.
4825 # want to keep, you may remove or edit it. 5187 # want to keep, you may remove or edit it.
4826 # 5188 #
4827 # config.status only pays attention to the cache file if you give it 5189 # config.status only pays attention to the cache file if you give it
4828 # the --recheck option to rerun configure. 5190 # the --recheck option to rerun configure.
4829 # 5191 #
4830 # `ac_cv_env_foo' variables (set or unset) will be overriden when 5192 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4831 # loading this file, other *unset* `ac_cv_foo' will be assigned the 5193 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4832 # following values. 5194 # following values.
4833 5195
4834 _ACEOF 5196 _ACEOF
4835 5197
4860 : clear 5222 : clear
4861 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 5223 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4862 t end 5224 t end
4863 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 5225 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4864 : end' >>confcache 5226 : end' >>confcache
4865 if cmp -s $cache_file confcache; then :; else 5227 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4866 if test -w $cache_file; then 5228 if test -w $cache_file; then
4867 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 5229 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4868 cat confcache >$cache_file 5230 cat confcache >$cache_file
4869 else 5231 else
4870 echo "not updating unwritable cache $cache_file" 5232 echo "not updating unwritable cache $cache_file"
4891 }' 5253 }'
4892 fi 5254 fi
4893 5255
4894 DEFS=-DHAVE_CONFIG_H 5256 DEFS=-DHAVE_CONFIG_H
4895 5257
5258 ac_libobjs=
5259 ac_ltlibobjs=
5260 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5261 # 1. Remove the extension, and $U if already installed.
5262 ac_i=`echo "$ac_i" |
5263 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5264 # 2. Add them.
5265 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5266 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5267 done
5268 LIBOBJS=$ac_libobjs
5269
5270 LTLIBOBJS=$ac_ltlibobjs
5271
5272
4896 5273
4897 : ${CONFIG_STATUS=./config.status} 5274 : ${CONFIG_STATUS=./config.status}
4898 ac_clean_files_save=$ac_clean_files 5275 ac_clean_files_save=$ac_clean_files
4899 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 5276 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4900 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 5277 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4905 # Run this file to recreate the current configuration. 5282 # Run this file to recreate the current configuration.
4906 # Compiler output produced by configure, useful for debugging 5283 # Compiler output produced by configure, useful for debugging
4907 # configure, is in config.log if it exists. 5284 # configure, is in config.log if it exists.
4908 5285
4909 debug=false 5286 debug=false
5287 ac_cs_recheck=false
5288 ac_cs_silent=false
4910 SHELL=\${CONFIG_SHELL-$SHELL} 5289 SHELL=\${CONFIG_SHELL-$SHELL}
4911 _ACEOF 5290 _ACEOF
4912 5291
4913 cat >>$CONFIG_STATUS <<\_ACEOF 5292 cat >>$CONFIG_STATUS <<\_ACEOF
4914
4915 ## --------------------- ## 5293 ## --------------------- ##
4916 ## M4sh Initialization. ## 5294 ## M4sh Initialization. ##
4917 ## --------------------- ## 5295 ## --------------------- ##
4918 5296
4919 # Be Bourne compatible 5297 # Be Bourne compatible
4920 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 5298 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4921 emulate sh 5299 emulate sh
4922 NULLCMD=: 5300 NULLCMD=:
5301 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5302 # is contrary to our usage. Disable this feature.
5303 alias -g '${1+"$@"}'='"$@"'
4923 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 5304 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4924 set -o posix 5305 set -o posix
4925 fi 5306 fi
4926 5307
4927 # NLS nuisances.
4928 # Support unset when possible. 5308 # Support unset when possible.
4929 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 5309 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
4930 as_unset=unset 5310 as_unset=unset
4931 else 5311 else
4932 as_unset=false 5312 as_unset=false
4933 fi 5313 fi
4934 5314
4935 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") && 5315
4936 { $as_unset LANG || test "${LANG+set}" != set; } || 5316 # Work around bugs in pre-3.0 UWIN ksh.
4937 { LANG=C; export LANG; } 5317 $as_unset ENV MAIL MAILPATH
4938 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && 5318 PS1='$ '
4939 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || 5319 PS2='> '
4940 { LC_ALL=C; export LC_ALL; } 5320 PS4='+ '
4941 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && 5321
4942 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || 5322 # NLS nuisances.
4943 { LC_TIME=C; export LC_TIME; } 5323 for as_var in \
4944 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && 5324 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4945 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || 5325 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4946 { LC_CTYPE=C; export LC_CTYPE; } 5326 LC_TELEPHONE LC_TIME
4947 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && 5327 do
4948 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || 5328 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
4949 { LANGUAGE=C; export LANGUAGE; } 5329 eval $as_var=C; export $as_var
4950 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && 5330 else
4951 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || 5331 $as_unset $as_var
4952 { LC_COLLATE=C; export LC_COLLATE; } 5332 fi
4953 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && 5333 done
4954 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || 5334
4955 { LC_NUMERIC=C; export LC_NUMERIC; } 5335 # Required to use basename.
4956 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && 5336 if expr a : '\(a\)' >/dev/null 2>&1; then
4957 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || 5337 as_expr=expr
4958 { LC_MESSAGES=C; export LC_MESSAGES; } 5338 else
5339 as_expr=false
5340 fi
5341
5342 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5343 as_basename=basename
5344 else
5345 as_basename=false
5346 fi
4959 5347
4960 5348
4961 # Name of the executable. 5349 # Name of the executable.
4962 as_me=`(basename "$0") 2>/dev/null || 5350 as_me=`$as_basename "$0" ||
4963 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5351 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4964 X"$0" : 'X\(//\)$' \| \ 5352 X"$0" : 'X\(//\)$' \| \
4965 X"$0" : 'X\(/\)$' \| \ 5353 X"$0" : 'X\(/\)$' \| \
4966 . : '\(.\)' 2>/dev/null || 5354 . : '\(.\)' 2>/dev/null ||
4967 echo X/"$0" | 5355 echo X/"$0" |
4968 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 5356 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4969 /^X\/\(\/\/\)$/{ s//\1/; q; } 5357 /^X\/\(\/\/\)$/{ s//\1/; q; }
4970 /^X\/\(\/\).*/{ s//\1/; q; } 5358 /^X\/\(\/\).*/{ s//\1/; q; }
4971 s/.*/./; q'` 5359 s/.*/./; q'`
4972 5360
5361
4973 # PATH needs CR, and LINENO needs CR and PATH. 5362 # PATH needs CR, and LINENO needs CR and PATH.
4974 # Avoid depending upon Character Ranges. 5363 # Avoid depending upon Character Ranges.
4975 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 5364 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4976 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5365 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4977 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 5366 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4978 as_cr_digits='0123456789' 5367 as_cr_digits='0123456789'
4979 as_cr_alnum=$as_cr_Letters$as_cr_digits 5368 as_cr_alnum=$as_cr_Letters$as_cr_digits
4980 5369
4981 # The user is always right. 5370 # The user is always right.
4982 if test "${PATH_SEPARATOR+set}" != set; then 5371 if test "${PATH_SEPARATOR+set}" != set; then
4983 echo "#! /bin/sh" >conftest.sh 5372 echo "#! /bin/sh" >conf$$.sh
4984 echo "exit 0" >>conftest.sh 5373 echo "exit 0" >>conf$$.sh
4985 chmod +x conftest.sh 5374 chmod +x conf$$.sh
4986 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then 5375 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4987 PATH_SEPARATOR=';' 5376 PATH_SEPARATOR=';'
4988 else 5377 else
4989 PATH_SEPARATOR=: 5378 PATH_SEPARATOR=:
4990 fi 5379 fi
4991 rm -f conftest.sh 5380 rm -f conf$$.sh
4992 fi 5381 fi
4993 5382
4994 5383
4995 as_lineno_1=$LINENO 5384 as_lineno_1=$LINENO
4996 as_lineno_2=$LINENO 5385 as_lineno_2=$LINENO
5035 as_lineno_1=$LINENO 5424 as_lineno_1=$LINENO
5036 as_lineno_2=$LINENO 5425 as_lineno_2=$LINENO
5037 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 5426 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5038 test "x$as_lineno_1" != "x$as_lineno_2" && 5427 test "x$as_lineno_1" != "x$as_lineno_2" &&
5039 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 5428 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5429 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5430 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5040 CONFIG_SHELL=$as_dir/$as_base 5431 CONFIG_SHELL=$as_dir/$as_base
5041 export CONFIG_SHELL 5432 export CONFIG_SHELL
5042 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 5433 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5043 fi;; 5434 fi;;
5044 esac 5435 esac
5108 else 5499 else
5109 as_ln_s='cp -p' 5500 as_ln_s='cp -p'
5110 fi 5501 fi
5111 rm -f conf$$ conf$$.exe conf$$.file 5502 rm -f conf$$ conf$$.exe conf$$.file
5112 5503
5504 if mkdir -p . 2>/dev/null; then
5505 as_mkdir_p=:
5506 else
5507 as_mkdir_p=false
5508 fi
5509
5113 as_executable_p="test -f" 5510 as_executable_p="test -f"
5114 5511
5115 # Sed expression to map a string onto a valid CPP name. 5512 # Sed expression to map a string onto a valid CPP name.
5116 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 5513 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
5117 5514
5124 as_nl=' 5521 as_nl='
5125 ' 5522 '
5126 IFS=" $as_nl" 5523 IFS=" $as_nl"
5127 5524
5128 # CDPATH. 5525 # CDPATH.
5129 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } 5526 $as_unset CDPATH
5130 5527
5131 exec 6>&1 5528 exec 6>&1
5132 5529
5133 # Open the log real soon, to keep \$[0] and so on meaningful, and to 5530 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5134 # report actual input values of CONFIG_FILES etc. instead of their 5531 # report actual input values of CONFIG_FILES etc. instead of their
5141 _ASBOX 5538 _ASBOX
5142 } >&5 5539 } >&5
5143 cat >&5 <<_CSEOF 5540 cat >&5 <<_CSEOF
5144 5541
5145 This file was extended by $as_me, which was 5542 This file was extended by $as_me, which was
5146 generated by GNU Autoconf 2.53. Invocation command line was 5543 generated by GNU Autoconf 2.57. Invocation command line was
5147 5544
5148 CONFIG_FILES = $CONFIG_FILES 5545 CONFIG_FILES = $CONFIG_FILES
5149 CONFIG_HEADERS = $CONFIG_HEADERS 5546 CONFIG_HEADERS = $CONFIG_HEADERS
5150 CONFIG_LINKS = $CONFIG_LINKS 5547 CONFIG_LINKS = $CONFIG_LINKS
5151 CONFIG_COMMANDS = $CONFIG_COMMANDS 5548 CONFIG_COMMANDS = $CONFIG_COMMANDS
5181 5578
5182 Usage: $0 [OPTIONS] [FILE]... 5579 Usage: $0 [OPTIONS] [FILE]...
5183 5580
5184 -h, --help print this help, then exit 5581 -h, --help print this help, then exit
5185 -V, --version print version number, then exit 5582 -V, --version print version number, then exit
5583 -q, --quiet do not print progress messages
5186 -d, --debug don't remove temporary files 5584 -d, --debug don't remove temporary files
5187 --recheck update $as_me by reconfiguring in the same conditions 5585 --recheck update $as_me by reconfiguring in the same conditions
5188 --file=FILE[:TEMPLATE] 5586 --file=FILE[:TEMPLATE]
5189 instantiate the configuration file FILE 5587 instantiate the configuration file FILE
5190 --header=FILE[:TEMPLATE] 5588 --header=FILE[:TEMPLATE]
5200 _ACEOF 5598 _ACEOF
5201 5599
5202 cat >>$CONFIG_STATUS <<_ACEOF 5600 cat >>$CONFIG_STATUS <<_ACEOF
5203 ac_cs_version="\\ 5601 ac_cs_version="\\
5204 config.status 5602 config.status
5205 configured by $0, generated by GNU Autoconf 2.53, 5603 configured by $0, generated by GNU Autoconf 2.57,
5206 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 5604 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5207 5605
5208 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 5606 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
5209 Free Software Foundation, Inc. 5607 Free Software Foundation, Inc.
5210 This config.status script is free software; the Free Software Foundation 5608 This config.status script is free software; the Free Software Foundation
5221 do 5619 do
5222 case $1 in 5620 case $1 in
5223 --*=*) 5621 --*=*)
5224 ac_option=`expr "x$1" : 'x\([^=]*\)='` 5622 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5225 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 5623 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5226 shift 5624 ac_shift=:
5227 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
5228 shift
5229 ;; 5625 ;;
5230 -*);; 5626 -*)
5627 ac_option=$1
5628 ac_optarg=$2
5629 ac_shift=shift
5630 ;;
5231 *) # This is not an option, so the user has probably given explicit 5631 *) # This is not an option, so the user has probably given explicit
5232 # arguments. 5632 # arguments.
5633 ac_option=$1
5233 ac_need_defaults=false;; 5634 ac_need_defaults=false;;
5234 esac 5635 esac
5235 5636
5236 case $1 in 5637 case $ac_option in
5237 # Handling of the options. 5638 # Handling of the options.
5238 _ACEOF 5639 _ACEOF
5239 cat >>$CONFIG_STATUS <<_ACEOF 5640 cat >>$CONFIG_STATUS <<\_ACEOF
5240 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5641 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5241 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" 5642 ac_cs_recheck=: ;;
5242 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
5243 _ACEOF
5244 cat >>$CONFIG_STATUS <<\_ACEOF
5245 --version | --vers* | -V ) 5643 --version | --vers* | -V )
5246 echo "$ac_cs_version"; exit 0 ;; 5644 echo "$ac_cs_version"; exit 0 ;;
5247 --he | --h) 5645 --he | --h)
5248 # Conflict between --help and --header 5646 # Conflict between --help and --header
5249 { { echo "$as_me:$LINENO: error: ambiguous option: $1 5647 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5254 --help | --hel | -h ) 5652 --help | --hel | -h )
5255 echo "$ac_cs_usage"; exit 0 ;; 5653 echo "$ac_cs_usage"; exit 0 ;;
5256 --debug | --d* | -d ) 5654 --debug | --d* | -d )
5257 debug=: ;; 5655 debug=: ;;
5258 --file | --fil | --fi | --f ) 5656 --file | --fil | --fi | --f )
5259 shift 5657 $ac_shift
5260 CONFIG_FILES="$CONFIG_FILES $1" 5658 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5261 ac_need_defaults=false;; 5659 ac_need_defaults=false;;
5262 --header | --heade | --head | --hea ) 5660 --header | --heade | --head | --hea )
5263 shift 5661 $ac_shift
5264 CONFIG_HEADERS="$CONFIG_HEADERS $1" 5662 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5265 ac_need_defaults=false;; 5663 ac_need_defaults=false;;
5664 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5665 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5666 ac_cs_silent=: ;;
5266 5667
5267 # This is an error. 5668 # This is an error.
5268 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 5669 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5269 Try \`$0 --help' for more information." >&5 5670 Try \`$0 --help' for more information." >&5
5270 echo "$as_me: error: unrecognized option: $1 5671 echo "$as_me: error: unrecognized option: $1
5274 *) ac_config_targets="$ac_config_targets $1" ;; 5675 *) ac_config_targets="$ac_config_targets $1" ;;
5275 5676
5276 esac 5677 esac
5277 shift 5678 shift
5278 done 5679 done
5680
5681 ac_configure_extra_args=
5682
5683 if $ac_cs_silent; then
5684 exec 6>/dev/null
5685 ac_configure_extra_args="$ac_configure_extra_args --silent"
5686 fi
5687
5688 _ACEOF
5689 cat >>$CONFIG_STATUS <<_ACEOF
5690 if \$ac_cs_recheck; then
5691 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5692 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5693 fi
5279 5694
5280 _ACEOF 5695 _ACEOF
5281 5696
5282 5697
5283 5698
5304 if $ac_need_defaults; then 5719 if $ac_need_defaults; then
5305 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 5720 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5306 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 5721 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5307 fi 5722 fi
5308 5723
5724 # Have a temporary directory for convenience. Make it in the build tree
5725 # simply because there is no reason to put it here, and in addition,
5726 # creating and moving files from /tmp can sometimes cause problems.
5309 # Create a temporary directory, and hook for its removal unless debugging. 5727 # Create a temporary directory, and hook for its removal unless debugging.
5310 $debug || 5728 $debug ||
5311 { 5729 {
5312 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 5730 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5313 trap '{ (exit 1); exit 1; }' 1 2 13 15 5731 trap '{ (exit 1); exit 1; }' 1 2 13 15
5314 } 5732 }
5315 5733
5316 # Create a (secure) tmp directory for tmp files. 5734 # Create a (secure) tmp directory for tmp files.
5317 : ${TMPDIR=/tmp} 5735
5318 { 5736 {
5319 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && 5737 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5320 test -n "$tmp" && test -d "$tmp" 5738 test -n "$tmp" && test -d "$tmp"
5321 } || 5739 } ||
5322 { 5740 {
5323 tmp=$TMPDIR/cs$$-$RANDOM 5741 tmp=./confstat$$-$RANDOM
5324 (umask 077 && mkdir $tmp) 5742 (umask 077 && mkdir $tmp)
5325 } || 5743 } ||
5326 { 5744 {
5327 echo "$me: cannot create a temporary directory in $TMPDIR" >&2 5745 echo "$me: cannot create a temporary directory in ." >&2
5328 { (exit 1); exit 1; } 5746 { (exit 1); exit 1; }
5329 } 5747 }
5330 5748
5331 _ACEOF 5749 _ACEOF
5332 5750
5385 s,@MAKE@,$MAKE,;t t 5803 s,@MAKE@,$MAKE,;t t
5386 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 5804 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5387 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 5805 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5388 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 5806 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5389 s,@CPP@,$CPP,;t t 5807 s,@CPP@,$CPP,;t t
5808 s,@EGREP@,$EGREP,;t t
5390 s,@PKG_CFG@,$PKG_CFG,;t t 5809 s,@PKG_CFG@,$PKG_CFG,;t t
5391 s,@GLIB_CONFIG@,$GLIB_CONFIG,;t t 5810 s,@GLIB_CONFIG@,$GLIB_CONFIG,;t t
5392 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t 5811 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
5393 s,@GLIB_LIBS@,$GLIB_LIBS,;t t 5812 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
5394 s,@GTK_CONFIG@,$GTK_CONFIG,;t t 5813 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
5401 s,@RM@,$RM,;t t 5820 s,@RM@,$RM,;t t
5402 s,@LN@,$LN,;t t 5821 s,@LN@,$LN,;t t
5403 s,@CP@,$CP,;t t 5822 s,@CP@,$CP,;t t
5404 s,@MV@,$MV,;t t 5823 s,@MV@,$MV,;t t
5405 s,@MKDIR@,$MKDIR,;t t 5824 s,@MKDIR@,$MKDIR,;t t
5825 s,@SHAREDFLAG@,$SHAREDFLAG,;t t
5406 s,@DW_SRC@,$DW_SRC,;t t 5826 s,@DW_SRC@,$DW_SRC,;t t
5407 s,@DW_DEFINE@,$DW_DEFINE,;t t 5827 s,@DW_DEFINE@,$DW_DEFINE,;t t
5828 s,@LIBOBJS@,$LIBOBJS,;t t
5829 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5408 CEOF 5830 CEOF
5409 5831
5410 _ACEOF 5832 _ACEOF
5411 5833
5412 cat >>$CONFIG_STATUS <<\_ACEOF 5834 cat >>$CONFIG_STATUS <<\_ACEOF
5473 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 5895 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5474 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 5896 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5475 /^X\(\/\/\)$/{ s//\1/; q; } 5897 /^X\(\/\/\)$/{ s//\1/; q; }
5476 /^X\(\/\).*/{ s//\1/; q; } 5898 /^X\(\/\).*/{ s//\1/; q; }
5477 s/.*/./; q'` 5899 s/.*/./; q'`
5478 { case "$ac_dir" in 5900 { if $as_mkdir_p; then
5479 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 5901 mkdir -p "$ac_dir"
5480 *) as_incr_dir=.;; 5902 else
5481 esac 5903 as_dir="$ac_dir"
5482 as_dummy="$ac_dir" 5904 as_dirs=
5483 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 5905 while test ! -d "$as_dir"; do
5484 case $as_mkdir_dir in 5906 as_dirs="$as_dir $as_dirs"
5485 # Skip DOS drivespec 5907 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5486 ?:) as_incr_dir=$as_mkdir_dir ;; 5908 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5487 *) 5909 X"$as_dir" : 'X\(//\)[^/]' \| \
5488 as_incr_dir=$as_incr_dir/$as_mkdir_dir 5910 X"$as_dir" : 'X\(//\)$' \| \
5489 test -d "$as_incr_dir" || 5911 X"$as_dir" : 'X\(/\)' \| \
5490 mkdir "$as_incr_dir" || 5912 . : '\(.\)' 2>/dev/null ||
5491 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 5913 echo X"$as_dir" |
5492 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} 5914 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5493 { (exit 1); exit 1; }; } 5915 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5494 ;; 5916 /^X\(\/\/\)$/{ s//\1/; q; }
5495 esac 5917 /^X\(\/\).*/{ s//\1/; q; }
5496 done; } 5918 s/.*/./; q'`
5919 done
5920 test ! -n "$as_dirs" || mkdir $as_dirs
5921 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5922 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5923 { (exit 1); exit 1; }; }; }
5497 5924
5498 ac_builddir=. 5925 ac_builddir=.
5499 5926
5500 if test "$ac_dir" != .; then 5927 if test "$ac_dir" != .; then
5501 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 5928 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5521 ac_top_srcdir=$ac_top_builddir$srcdir ;; 5948 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5522 esac 5949 esac
5523 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 5950 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5524 # absolute. 5951 # absolute.
5525 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 5952 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5526 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` 5953 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5527 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 5954 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5528 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 5955 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5529 5956
5530 5957
5531 case $INSTALL in 5958 case $INSTALL in
5711 _ACEOF 6138 _ACEOF
5712 6139
5713 # Break up conftest.defines because some shells have a limit on the size 6140 # Break up conftest.defines because some shells have a limit on the size
5714 # of here documents, and old seds have small limits too (100 cmds). 6141 # of here documents, and old seds have small limits too (100 cmds).
5715 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 6142 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5716 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 6143 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5717 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 6144 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5718 echo ' :' >>$CONFIG_STATUS 6145 echo ' :' >>$CONFIG_STATUS
5719 rm -f conftest.tail 6146 rm -f conftest.tail
5720 while grep . conftest.defines >/dev/null 6147 while grep . conftest.defines >/dev/null
5721 do 6148 do
5735 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 6162 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
5736 rm -f conftest.defines 6163 rm -f conftest.defines
5737 mv conftest.tail conftest.defines 6164 mv conftest.tail conftest.defines
5738 done 6165 done
5739 rm -f conftest.defines 6166 rm -f conftest.defines
5740 echo ' fi # egrep' >>$CONFIG_STATUS 6167 echo ' fi # grep' >>$CONFIG_STATUS
5741 echo >>$CONFIG_STATUS 6168 echo >>$CONFIG_STATUS
5742 6169
5743 # Break up conftest.undefs because some shells have a limit on the size 6170 # Break up conftest.undefs because some shells have a limit on the size
5744 # of here documents, and old seds have small limits too (100 cmds). 6171 # of here documents, and old seds have small limits too (100 cmds).
5745 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 6172 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5775 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 6202 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
5776 fi 6203 fi
5777 cat $tmp/in >>$tmp/config.h 6204 cat $tmp/in >>$tmp/config.h
5778 rm -f $tmp/in 6205 rm -f $tmp/in
5779 if test x"$ac_file" != x-; then 6206 if test x"$ac_file" != x-; then
5780 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then 6207 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
5781 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 6208 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5782 echo "$as_me: $ac_file is unchanged" >&6;} 6209 echo "$as_me: $ac_file is unchanged" >&6;}
5783 else 6210 else
5784 ac_dir=`(dirname "$ac_file") 2>/dev/null || 6211 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5785 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6212 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5791 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6218 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5792 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6219 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5793 /^X\(\/\/\)$/{ s//\1/; q; } 6220 /^X\(\/\/\)$/{ s//\1/; q; }
5794 /^X\(\/\).*/{ s//\1/; q; } 6221 /^X\(\/\).*/{ s//\1/; q; }
5795 s/.*/./; q'` 6222 s/.*/./; q'`
5796 { case "$ac_dir" in 6223 { if $as_mkdir_p; then
5797 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 6224 mkdir -p "$ac_dir"
5798 *) as_incr_dir=.;; 6225 else
5799 esac 6226 as_dir="$ac_dir"
5800 as_dummy="$ac_dir" 6227 as_dirs=
5801 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 6228 while test ! -d "$as_dir"; do
5802 case $as_mkdir_dir in 6229 as_dirs="$as_dir $as_dirs"
5803 # Skip DOS drivespec 6230 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5804 ?:) as_incr_dir=$as_mkdir_dir ;; 6231 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5805 *) 6232 X"$as_dir" : 'X\(//\)[^/]' \| \
5806 as_incr_dir=$as_incr_dir/$as_mkdir_dir 6233 X"$as_dir" : 'X\(//\)$' \| \
5807 test -d "$as_incr_dir" || 6234 X"$as_dir" : 'X\(/\)' \| \
5808 mkdir "$as_incr_dir" || 6235 . : '\(.\)' 2>/dev/null ||
5809 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 6236 echo X"$as_dir" |
5810 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} 6237 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5811 { (exit 1); exit 1; }; } 6238 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5812 ;; 6239 /^X\(\/\/\)$/{ s//\1/; q; }
5813 esac 6240 /^X\(\/\).*/{ s//\1/; q; }
5814 done; } 6241 s/.*/./; q'`
6242 done
6243 test ! -n "$as_dirs" || mkdir $as_dirs
6244 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6245 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6246 { (exit 1); exit 1; }; }; }
5815 6247
5816 rm -f $ac_file 6248 rm -f $ac_file
5817 mv $tmp/config.h $ac_file 6249 mv $tmp/config.h $ac_file
5818 fi 6250 fi
5819 else 6251 else
5839 # effectively closing config.log, so it can be properly (re)opened and 6271 # effectively closing config.log, so it can be properly (re)opened and
5840 # appended to by config.status. When coming back to configure, we 6272 # appended to by config.status. When coming back to configure, we
5841 # need to make the FD available again. 6273 # need to make the FD available again.
5842 if test "$no_create" != yes; then 6274 if test "$no_create" != yes; then
5843 ac_cs_success=: 6275 ac_cs_success=:
6276 ac_config_status_args=
6277 test "$silent" = yes &&
6278 ac_config_status_args="$ac_config_status_args --quiet"
5844 exec 5>/dev/null 6279 exec 5>/dev/null
5845 $SHELL $CONFIG_STATUS || ac_cs_success=false 6280 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5846 exec 5>>config.log 6281 exec 5>>config.log
5847 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6282 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5848 # would make configure fail if this is the last instruction. 6283 # would make configure fail if this is the last instruction.
5849 $ac_cs_success || { (exit 1); exit 1; } 6284 $ac_cs_success || { (exit 1); exit 1; }
5850 fi 6285 fi