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