|
Lines 1-19
Link Here
|
| 1 |
#! /bin/sh |
1 |
#! /bin/sh |
| 2 |
# Guess values for system-dependent variables and create Makefiles. |
2 |
# Guess values for system-dependent variables and create Makefiles. |
| 3 |
# Generated by GNU Autoconf 2.53 for sodipodi 0.31. |
3 |
# Generated by GNU Autoconf 2.57 for sodipodi 0.31. |
| 4 |
# |
4 |
# |
| 5 |
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
5 |
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
| 6 |
# Free Software Foundation, Inc. |
6 |
# Free Software Foundation, Inc. |
| 7 |
# This configure script is free software; the Free Software Foundation |
7 |
# This configure script is free software; the Free Software Foundation |
| 8 |
# gives unlimited permission to copy, distribute and modify it. |
8 |
# gives unlimited permission to copy, distribute and modify it. |
| 9 |
|
|
|
| 10 |
if expr a : '\(a\)' >/dev/null 2>&1; then |
| 11 |
as_expr=expr |
| 12 |
else |
| 13 |
as_expr=false |
| 14 |
fi |
| 15 |
|
| 16 |
|
| 17 |
## --------------------- ## |
9 |
## --------------------- ## |
| 18 |
## M4sh Initialization. ## |
10 |
## M4sh Initialization. ## |
| 19 |
## --------------------- ## |
11 |
## --------------------- ## |
|
Lines 22-32
Link Here
|
| 22 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
14 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 23 |
emulate sh |
15 |
emulate sh |
| 24 |
NULLCMD=: |
16 |
NULLCMD=: |
|
|
17 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
| 18 |
# is contrary to our usage. Disable this feature. |
| 19 |
alias -g '${1+"$@"}'='"$@"' |
| 25 |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
20 |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
| 26 |
set -o posix |
21 |
set -o posix |
| 27 |
fi |
22 |
fi |
| 28 |
|
23 |
|
| 29 |
# NLS nuisances. |
|
|
| 30 |
# Support unset when possible. |
24 |
# Support unset when possible. |
| 31 |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
25 |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
| 32 |
as_unset=unset |
26 |
as_unset=unset |
|
Lines 34-67
Link Here
|
| 34 |
as_unset=false |
28 |
as_unset=false |
| 35 |
fi |
29 |
fi |
| 36 |
|
30 |
|
| 37 |
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") && |
31 |
|
| 38 |
{ $as_unset LANG || test "${LANG+set}" != set; } || |
32 |
# Work around bugs in pre-3.0 UWIN ksh. |
| 39 |
{ LANG=C; export LANG; } |
33 |
$as_unset ENV MAIL MAILPATH |
| 40 |
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && |
34 |
PS1='$ ' |
| 41 |
{ $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || |
35 |
PS2='> ' |
| 42 |
{ LC_ALL=C; export LC_ALL; } |
36 |
PS4='+ ' |
| 43 |
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && |
37 |
|
| 44 |
{ $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || |
38 |
# NLS nuisances. |
| 45 |
{ LC_TIME=C; export LC_TIME; } |
39 |
for as_var in \ |
| 46 |
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && |
40 |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
| 47 |
{ $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || |
41 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
| 48 |
{ LC_CTYPE=C; export LC_CTYPE; } |
42 |
LC_TELEPHONE LC_TIME |
| 49 |
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && |
43 |
do |
| 50 |
{ $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || |
44 |
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
| 51 |
{ LANGUAGE=C; export LANGUAGE; } |
45 |
eval $as_var=C; export $as_var |
| 52 |
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && |
46 |
else |
| 53 |
{ $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || |
47 |
$as_unset $as_var |
| 54 |
{ LC_COLLATE=C; export LC_COLLATE; } |
48 |
fi |
| 55 |
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && |
49 |
done |
| 56 |
{ $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || |
50 |
|
| 57 |
{ LC_NUMERIC=C; export LC_NUMERIC; } |
51 |
# Required to use basename. |
| 58 |
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && |
52 |
if expr a : '\(a\)' >/dev/null 2>&1; then |
| 59 |
{ $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || |
53 |
as_expr=expr |
| 60 |
{ LC_MESSAGES=C; export LC_MESSAGES; } |
54 |
else |
|
|
55 |
as_expr=false |
| 56 |
fi |
| 57 |
|
| 58 |
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
| 59 |
as_basename=basename |
| 60 |
else |
| 61 |
as_basename=false |
| 62 |
fi |
| 61 |
|
63 |
|
| 62 |
|
64 |
|
| 63 |
# Name of the executable. |
65 |
# Name of the executable. |
| 64 |
as_me=`(basename "$0") 2>/dev/null || |
66 |
as_me=`$as_basename "$0" || |
| 65 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
67 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 66 |
X"$0" : 'X\(//\)$' \| \ |
68 |
X"$0" : 'X\(//\)$' \| \ |
| 67 |
X"$0" : 'X\(/\)$' \| \ |
69 |
X"$0" : 'X\(/\)$' \| \ |
|
Lines 72-77
Link Here
|
| 72 |
/^X\/\(\/\).*/{ s//\1/; q; } |
74 |
/^X\/\(\/\).*/{ s//\1/; q; } |
| 73 |
s/.*/./; q'` |
75 |
s/.*/./; q'` |
| 74 |
|
76 |
|
|
|
77 |
|
| 75 |
# PATH needs CR, and LINENO needs CR and PATH. |
78 |
# PATH needs CR, and LINENO needs CR and PATH. |
| 76 |
# Avoid depending upon Character Ranges. |
79 |
# Avoid depending upon Character Ranges. |
| 77 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
80 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
Lines 82-96
Link Here
|
| 82 |
|
85 |
|
| 83 |
# The user is always right. |
86 |
# The user is always right. |
| 84 |
if test "${PATH_SEPARATOR+set}" != set; then |
87 |
if test "${PATH_SEPARATOR+set}" != set; then |
| 85 |
echo "#! /bin/sh" >conftest.sh |
88 |
echo "#! /bin/sh" >conf$$.sh |
| 86 |
echo "exit 0" >>conftest.sh |
89 |
echo "exit 0" >>conf$$.sh |
| 87 |
chmod +x conftest.sh |
90 |
chmod +x conf$$.sh |
| 88 |
if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then |
91 |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
| 89 |
PATH_SEPARATOR=';' |
92 |
PATH_SEPARATOR=';' |
| 90 |
else |
93 |
else |
| 91 |
PATH_SEPARATOR=: |
94 |
PATH_SEPARATOR=: |
| 92 |
fi |
95 |
fi |
| 93 |
rm -f conftest.sh |
96 |
rm -f conf$$.sh |
| 94 |
fi |
97 |
fi |
| 95 |
|
98 |
|
| 96 |
|
99 |
|
|
Lines 138-143
Link Here
|
| 138 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
141 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
| 139 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
142 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
| 140 |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
143 |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
|
|
144 |
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
| 145 |
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
| 141 |
CONFIG_SHELL=$as_dir/$as_base |
146 |
CONFIG_SHELL=$as_dir/$as_base |
| 142 |
export CONFIG_SHELL |
147 |
export CONFIG_SHELL |
| 143 |
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
148 |
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
|
Lines 210-215
Link Here
|
| 210 |
fi |
215 |
fi |
| 211 |
rm -f conf$$ conf$$.exe conf$$.file |
216 |
rm -f conf$$ conf$$.exe conf$$.file |
| 212 |
|
217 |
|
|
|
218 |
if mkdir -p . 2>/dev/null; then |
| 219 |
as_mkdir_p=: |
| 220 |
else |
| 221 |
as_mkdir_p=false |
| 222 |
fi |
| 223 |
|
| 213 |
as_executable_p="test -f" |
224 |
as_executable_p="test -f" |
| 214 |
|
225 |
|
| 215 |
# Sed expression to map a string onto a valid CPP name. |
226 |
# Sed expression to map a string onto a valid CPP name. |
|
Lines 226-232
Link Here
|
| 226 |
IFS=" $as_nl" |
237 |
IFS=" $as_nl" |
| 227 |
|
238 |
|
| 228 |
# CDPATH. |
239 |
# CDPATH. |
| 229 |
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } |
240 |
$as_unset CDPATH |
| 230 |
|
241 |
|
| 231 |
|
242 |
|
| 232 |
# Name of the host. |
243 |
# Name of the host. |
|
Lines 240-245
Link Here
|
| 240 |
# Initializations. |
251 |
# Initializations. |
| 241 |
# |
252 |
# |
| 242 |
ac_default_prefix=/usr/local |
253 |
ac_default_prefix=/usr/local |
|
|
254 |
ac_config_libobj_dir=. |
| 243 |
cross_compiling=no |
255 |
cross_compiling=no |
| 244 |
subdirs= |
256 |
subdirs= |
| 245 |
MFLAGS= |
257 |
MFLAGS= |
|
Lines 296-301
Link Here
|
| 296 |
# include <unistd.h> |
308 |
# include <unistd.h> |
| 297 |
#endif" |
309 |
#endif" |
| 298 |
|
310 |
|
|
|
311 |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE INTLTOOL_DESKTOP_RULE INTLTOOL_DIRECTORY_RULE INTLTOOL_KEYS_RULE INTLTOOL_PROP_RULE INTLTOOL_OAF_RULE INTLTOOL_PONG_RULE INTLTOOL_SERVER_RULE INTLTOOL_SHEET_RULE INTLTOOL_SOUNDLIST_RULE INTLTOOL_UI_RULE INTLTOOL_XML_RULE INTLTOOL_CAVES_RULE INTLTOOL_SCHEMAS_RULE INTLTOOL_THEME_RULE INTLTOOL_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE INTLTOOL_PERL build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE CCAS CCASFLAGS RANLIB ac_ct_RANLIB CPP EGREP GETTEXT_PACKAGE USE_NLS MSGFMT GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS PKG_CONFIG USE_POPT_TRUE USE_POPT_FALSE FONTCONFIG_CFLAGS FONTCONFIG_LIBS USE_FONTCONFIG_TRUE USE_FONTCONFIG_FALSE USE_XFT_TRUE USE_XFT_FALSE GNOME_PRINT_CFLAGS GNOME_PRINT_LIBS USE_GNOME_PRINT_TRUE USE_GNOME_PRINT_FALSE SODIPODI_CFLAGS SODIPODI_LIBS USE_MMX_TRUE USE_MMX_FALSE LIBOBJS LTLIBOBJS' |
| 312 |
ac_subst_files='' |
| 299 |
|
313 |
|
| 300 |
# Initialize some variables set by options. |
314 |
# Initialize some variables set by options. |
| 301 |
ac_init_help= |
315 |
ac_init_help= |
|
Lines 719-724
Link Here
|
| 719 |
{ (exit 1); exit 1; }; } |
733 |
{ (exit 1); exit 1; }; } |
| 720 |
fi |
734 |
fi |
| 721 |
fi |
735 |
fi |
|
|
736 |
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
| 737 |
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
| 738 |
{ (exit 1); exit 1; }; } |
| 722 |
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
739 |
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
| 723 |
ac_env_build_alias_set=${build_alias+set} |
740 |
ac_env_build_alias_set=${build_alias+set} |
| 724 |
ac_env_build_alias_value=$build_alias |
741 |
ac_env_build_alias_value=$build_alias |
|
Lines 894-900
Link Here
|
| 894 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
911 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
| 895 |
# absolute. |
912 |
# absolute. |
| 896 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
913 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
| 897 |
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` |
914 |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
| 898 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
915 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
| 899 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
916 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
| 900 |
|
917 |
|
|
Lines 921-927
Link Here
|
| 921 |
if $ac_init_version; then |
938 |
if $ac_init_version; then |
| 922 |
cat <<\_ACEOF |
939 |
cat <<\_ACEOF |
| 923 |
sodipodi configure 0.31 |
940 |
sodipodi configure 0.31 |
| 924 |
generated by GNU Autoconf 2.53 |
941 |
generated by GNU Autoconf 2.57 |
| 925 |
|
942 |
|
| 926 |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
943 |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
| 927 |
Free Software Foundation, Inc. |
944 |
Free Software Foundation, Inc. |
|
Lines 936-942
Link Here
|
| 936 |
running configure, to aid debugging if configure makes a mistake. |
953 |
running configure, to aid debugging if configure makes a mistake. |
| 937 |
|
954 |
|
| 938 |
It was created by sodipodi $as_me 0.31, which was |
955 |
It was created by sodipodi $as_me 0.31, which was |
| 939 |
generated by GNU Autoconf 2.53. Invocation command line was |
956 |
generated by GNU Autoconf 2.57. Invocation command line was |
| 940 |
|
957 |
|
| 941 |
$ $0 $@ |
958 |
$ $0 $@ |
| 942 |
|
959 |
|
|
Lines 988-1014
Link Here
|
| 988 |
|
1005 |
|
| 989 |
# Keep a trace of the command line. |
1006 |
# Keep a trace of the command line. |
| 990 |
# Strip out --no-create and --no-recursion so they do not pile up. |
1007 |
# Strip out --no-create and --no-recursion so they do not pile up. |
|
|
1008 |
# Strip out --silent because we don't want to record it for future runs. |
| 991 |
# Also quote any args containing shell meta-characters. |
1009 |
# Also quote any args containing shell meta-characters. |
|
|
1010 |
# Make two passes to allow for proper duplicate-argument suppression. |
| 992 |
ac_configure_args= |
1011 |
ac_configure_args= |
|
|
1012 |
ac_configure_args0= |
| 1013 |
ac_configure_args1= |
| 993 |
ac_sep= |
1014 |
ac_sep= |
| 994 |
for ac_arg |
1015 |
ac_must_keep_next=false |
|
|
1016 |
for ac_pass in 1 2 |
| 995 |
do |
1017 |
do |
| 996 |
case $ac_arg in |
1018 |
for ac_arg |
| 997 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
1019 |
do |
| 998 |
| --no-cr | --no-c | -n ) continue ;; |
1020 |
case $ac_arg in |
| 999 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
1021 |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
| 1000 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
1022 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 1001 |
continue ;; |
1023 |
| -silent | --silent | --silen | --sile | --sil) |
| 1002 |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
1024 |
continue ;; |
| 1003 |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1025 |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
| 1004 |
esac |
1026 |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1005 |
case " $ac_configure_args " in |
1027 |
esac |
| 1006 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1028 |
case $ac_pass in |
| 1007 |
*) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1029 |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
| 1008 |
ac_sep=" " ;; |
1030 |
2) |
| 1009 |
esac |
1031 |
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
| 1010 |
# Get rid of the leading space. |
1032 |
if test $ac_must_keep_next = true; then |
|
|
1033 |
ac_must_keep_next=false # Got value, back to normal. |
| 1034 |
else |
| 1035 |
case $ac_arg in |
| 1036 |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
| 1037 |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
| 1038 |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
| 1039 |
| -with-* | --with-* | -without-* | --without-* | --x) |
| 1040 |
case "$ac_configure_args0 " in |
| 1041 |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
| 1042 |
esac |
| 1043 |
;; |
| 1044 |
-* ) ac_must_keep_next=true ;; |
| 1045 |
esac |
| 1046 |
fi |
| 1047 |
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
| 1048 |
# Get rid of the leading space. |
| 1049 |
ac_sep=" " |
| 1050 |
;; |
| 1051 |
esac |
| 1052 |
done |
| 1011 |
done |
1053 |
done |
|
|
1054 |
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
| 1055 |
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
| 1012 |
|
1056 |
|
| 1013 |
# When interrupted or exit'd, cleanup temporary files, and complete |
1057 |
# When interrupted or exit'd, cleanup temporary files, and complete |
| 1014 |
# config.log. We remove comments because anyway the quotes in there |
1058 |
# config.log. We remove comments because anyway the quotes in there |
|
Lines 1019-1024
Link Here
|
| 1019 |
# Save into config.log some information that might help in debugging. |
1063 |
# Save into config.log some information that might help in debugging. |
| 1020 |
{ |
1064 |
{ |
| 1021 |
echo |
1065 |
echo |
|
|
1066 |
|
| 1022 |
cat <<\_ASBOX |
1067 |
cat <<\_ASBOX |
| 1023 |
## ---------------- ## |
1068 |
## ---------------- ## |
| 1024 |
## Cache variables. ## |
1069 |
## Cache variables. ## |
|
Lines 1041-1046
Link Here
|
| 1041 |
esac; |
1086 |
esac; |
| 1042 |
} |
1087 |
} |
| 1043 |
echo |
1088 |
echo |
|
|
1089 |
|
| 1090 |
cat <<\_ASBOX |
| 1091 |
## ----------------- ## |
| 1092 |
## Output variables. ## |
| 1093 |
## ----------------- ## |
| 1094 |
_ASBOX |
| 1095 |
echo |
| 1096 |
for ac_var in $ac_subst_vars |
| 1097 |
do |
| 1098 |
eval ac_val=$`echo $ac_var` |
| 1099 |
echo "$ac_var='"'"'$ac_val'"'"'" |
| 1100 |
done | sort |
| 1101 |
echo |
| 1102 |
|
| 1103 |
if test -n "$ac_subst_files"; then |
| 1104 |
cat <<\_ASBOX |
| 1105 |
## ------------- ## |
| 1106 |
## Output files. ## |
| 1107 |
## ------------- ## |
| 1108 |
_ASBOX |
| 1109 |
echo |
| 1110 |
for ac_var in $ac_subst_files |
| 1111 |
do |
| 1112 |
eval ac_val=$`echo $ac_var` |
| 1113 |
echo "$ac_var='"'"'$ac_val'"'"'" |
| 1114 |
done | sort |
| 1115 |
echo |
| 1116 |
fi |
| 1117 |
|
| 1044 |
if test -s confdefs.h; then |
1118 |
if test -s confdefs.h; then |
| 1045 |
cat <<\_ASBOX |
1119 |
cat <<\_ASBOX |
| 1046 |
## ----------- ## |
1120 |
## ----------- ## |
|
Lines 1048-1054
Link Here
|
| 1048 |
## ----------- ## |
1122 |
## ----------- ## |
| 1049 |
_ASBOX |
1123 |
_ASBOX |
| 1050 |
echo |
1124 |
echo |
| 1051 |
sed "/^$/d" confdefs.h |
1125 |
sed "/^$/d" confdefs.h | sort |
| 1052 |
echo |
1126 |
echo |
| 1053 |
fi |
1127 |
fi |
| 1054 |
test "$ac_signal" != 0 && |
1128 |
test "$ac_signal" != 0 && |
|
Lines 1214-1219
Link Here
|
| 1214 |
|
1288 |
|
| 1215 |
|
1289 |
|
| 1216 |
|
1290 |
|
|
|
1291 |
|
| 1217 |
am__api_version="1.6" |
1292 |
am__api_version="1.6" |
| 1218 |
ac_aux_dir= |
1293 |
ac_aux_dir= |
| 1219 |
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
1294 |
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
|
Lines 1429-1443
Link Here
|
| 1429 |
test -n "$AWK" && break |
1504 |
test -n "$AWK" && break |
| 1430 |
done |
1505 |
done |
| 1431 |
|
1506 |
|
| 1432 |
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
1507 |
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| 1433 |
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 |
1508 |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
| 1434 |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
1509 |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
| 1435 |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
1510 |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
| 1436 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1511 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1437 |
else |
1512 |
else |
| 1438 |
cat >conftest.make <<\_ACEOF |
1513 |
cat >conftest.make <<\_ACEOF |
| 1439 |
all: |
1514 |
all: |
| 1440 |
@echo 'ac_maketemp="${MAKE}"' |
1515 |
@echo 'ac_maketemp="$(MAKE)"' |
| 1441 |
_ACEOF |
1516 |
_ACEOF |
| 1442 |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
1517 |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
| 1443 |
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
1518 |
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
|
Lines 1597-1603
Link Here
|
| 1597 |
|
1672 |
|
| 1598 |
# Add the stamp file to the list of files AC keeps track of, |
1673 |
# Add the stamp file to the list of files AC keeps track of, |
| 1599 |
# along with our hook. |
1674 |
# along with our hook. |
| 1600 |
ac_config_headers="$ac_config_headers config.h" |
1675 |
ac_config_headers="$ac_config_headers config.h" |
| 1601 |
|
1676 |
|
| 1602 |
|
1677 |
|
| 1603 |
|
1678 |
|
|
Lines 1627-1632
Link Here
|
| 1627 |
INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache' |
1702 |
INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache' |
| 1628 |
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache' |
1703 |
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache' |
| 1629 |
INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -k -u -c $(top_builddir)/po/.intltool-merge-cache' |
1704 |
INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -k -u -c $(top_builddir)/po/.intltool-merge-cache' |
|
|
1705 |
INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache' |
| 1630 |
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -o -p' |
1706 |
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -o -p' |
| 1631 |
INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -x -u -c $(top_builddir)/po/.intltool-merge-cache' |
1707 |
INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -x -u -c $(top_builddir)/po/.intltool-merge-cache' |
| 1632 |
INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -o -u -c $(top_builddir)/po/.intltool-merge-cache' |
1708 |
INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -o -u -c $(top_builddir)/po/.intltool-merge-cache' |
|
Lines 1635-1641
Link Here
|
| 1635 |
INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -x -u -c $(top_builddir)/po/.intltool-merge-cache' |
1711 |
INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -x -u -c $(top_builddir)/po/.intltool-merge-cache' |
| 1636 |
INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -x -u -c $(top_builddir)/po/.intltool-merge-cache' |
1712 |
INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -x -u -c $(top_builddir)/po/.intltool-merge-cache' |
| 1637 |
INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache' |
1713 |
INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache' |
| 1638 |
INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -s -u -c $(top_builddir)/po/.intltool-merge-cache' |
1714 |
INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -s -u -c $(top_builddir)/po/.intltool-merge-cache' |
|
|
1715 |
INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache' |
| 1716 |
|
| 1717 |
|
| 1639 |
|
1718 |
|
| 1640 |
|
1719 |
|
| 1641 |
|
1720 |
|
|
Lines 1720-1726
Link Here
|
| 1720 |
|
1799 |
|
| 1721 |
# Manually sed perl in so people don't have to put the intltool scripts in AC_OUTPUT. |
1800 |
# Manually sed perl in so people don't have to put the intltool scripts in AC_OUTPUT. |
| 1722 |
|
1801 |
|
| 1723 |
ac_config_commands="$ac_config_commands default-1" |
1802 |
ac_config_commands="$ac_config_commands default-1" |
| 1724 |
|
1803 |
|
| 1725 |
|
1804 |
|
| 1726 |
|
1805 |
|
|
Lines 1790-1796
Link Here
|
| 1790 |
rmdir .deps 2>/dev/null |
1869 |
rmdir .deps 2>/dev/null |
| 1791 |
|
1870 |
|
| 1792 |
|
1871 |
|
| 1793 |
ac_config_commands="$ac_config_commands depfiles" |
1872 |
ac_config_commands="$ac_config_commands depfiles" |
| 1794 |
|
1873 |
|
| 1795 |
|
1874 |
|
| 1796 |
am_make=${MAKE-make} |
1875 |
am_make=${MAKE-make} |
|
Lines 2056-2064
Link Here
|
| 2056 |
# However, it has the same basename, so the bogon will be chosen |
2135 |
# However, it has the same basename, so the bogon will be chosen |
| 2057 |
# first if we set CC to just the basename; use the full file name. |
2136 |
# first if we set CC to just the basename; use the full file name. |
| 2058 |
shift |
2137 |
shift |
| 2059 |
set dummy "$as_dir/$ac_word" ${1+"$@"} |
2138 |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
| 2060 |
shift |
|
|
| 2061 |
ac_cv_prog_CC="$@" |
| 2062 |
fi |
2139 |
fi |
| 2063 |
fi |
2140 |
fi |
| 2064 |
fi |
2141 |
fi |
|
Lines 2163-2170
Link Here
|
| 2163 |
fi |
2240 |
fi |
| 2164 |
|
2241 |
|
| 2165 |
|
2242 |
|
| 2166 |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5 |
2243 |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
| 2167 |
echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;} |
2244 |
See \`config.log' for more details." >&5 |
|
|
2245 |
echo "$as_me: error: no acceptable C compiler found in \$PATH |
| 2246 |
See \`config.log' for more details." >&2;} |
| 2168 |
{ (exit 1); exit 1; }; } |
2247 |
{ (exit 1); exit 1; }; } |
| 2169 |
|
2248 |
|
| 2170 |
# Provide some information about the compiler. |
2249 |
# Provide some information about the compiler. |
|
Lines 2189-2202
Link Here
|
| 2189 |
|
2268 |
|
| 2190 |
cat >conftest.$ac_ext <<_ACEOF |
2269 |
cat >conftest.$ac_ext <<_ACEOF |
| 2191 |
#line $LINENO "configure" |
2270 |
#line $LINENO "configure" |
| 2192 |
#include "confdefs.h" |
2271 |
/* confdefs.h. */ |
|
|
2272 |
_ACEOF |
| 2273 |
cat confdefs.h >>conftest.$ac_ext |
| 2274 |
cat >>conftest.$ac_ext <<_ACEOF |
| 2275 |
/* end confdefs.h. */ |
| 2193 |
|
2276 |
|
| 2194 |
#ifdef F77_DUMMY_MAIN |
|
|
| 2195 |
# ifdef __cplusplus |
| 2196 |
extern "C" |
| 2197 |
# endif |
| 2198 |
int F77_DUMMY_MAIN() { return 1; } |
| 2199 |
#endif |
| 2200 |
int |
2277 |
int |
| 2201 |
main () |
2278 |
main () |
| 2202 |
{ |
2279 |
{ |
|
Lines 2206-2212
Link Here
|
| 2206 |
} |
2283 |
} |
| 2207 |
_ACEOF |
2284 |
_ACEOF |
| 2208 |
ac_clean_files_save=$ac_clean_files |
2285 |
ac_clean_files_save=$ac_clean_files |
| 2209 |
ac_clean_files="$ac_clean_files a.out a.exe" |
2286 |
ac_clean_files="$ac_clean_files a.out a.exe b.out" |
| 2210 |
# Try to create an executable without -o first, disregard a.out. |
2287 |
# Try to create an executable without -o first, disregard a.out. |
| 2211 |
# It will help us diagnose broken compilers, and finding out an intuition |
2288 |
# It will help us diagnose broken compilers, and finding out an intuition |
| 2212 |
# of exeext. |
2289 |
# of exeext. |
|
Lines 2225-2250
Link Here
|
| 2225 |
# Be careful to initialize this variable, since it used to be cached. |
2302 |
# Be careful to initialize this variable, since it used to be cached. |
| 2226 |
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
2303 |
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
| 2227 |
ac_cv_exeext= |
2304 |
ac_cv_exeext= |
| 2228 |
for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null; |
2305 |
# b.out is created by i960 compilers. |
| 2229 |
ls a.out conftest 2>/dev/null; |
2306 |
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
| 2230 |
ls a.* conftest.* 2>/dev/null`; do |
2307 |
do |
|
|
2308 |
test -f "$ac_file" || continue |
| 2231 |
case $ac_file in |
2309 |
case $ac_file in |
| 2232 |
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;; |
2310 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
| 2233 |
a.out ) # We found the default executable, but exeext='' is most |
2311 |
;; |
| 2234 |
# certainly right. |
2312 |
conftest.$ac_ext ) |
| 2235 |
break;; |
2313 |
# This is the source file. |
| 2236 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2314 |
;; |
| 2237 |
# FIXME: I believe we export ac_cv_exeext for Libtool --akim. |
2315 |
[ab].out ) |
| 2238 |
export ac_cv_exeext |
2316 |
# We found the default executable, but exeext='' is most |
| 2239 |
break;; |
2317 |
# certainly right. |
| 2240 |
* ) break;; |
2318 |
break;; |
|
|
2319 |
*.* ) |
| 2320 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 2321 |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
| 2322 |
# but it would be cool to find out if it's true. Does anybody |
| 2323 |
# maintain Libtool? --akim. |
| 2324 |
export ac_cv_exeext |
| 2325 |
break;; |
| 2326 |
* ) |
| 2327 |
break;; |
| 2241 |
esac |
2328 |
esac |
| 2242 |
done |
2329 |
done |
| 2243 |
else |
2330 |
else |
| 2244 |
echo "$as_me: failed program was:" >&5 |
2331 |
echo "$as_me: failed program was:" >&5 |
| 2245 |
cat conftest.$ac_ext >&5 |
2332 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2246 |
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5 |
2333 |
|
| 2247 |
echo "$as_me: error: C compiler cannot create executables" >&2;} |
2334 |
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables |
|
|
2335 |
See \`config.log' for more details." >&5 |
| 2336 |
echo "$as_me: error: C compiler cannot create executables |
| 2337 |
See \`config.log' for more details." >&2;} |
| 2248 |
{ (exit 77); exit 77; }; } |
2338 |
{ (exit 77); exit 77; }; } |
| 2249 |
fi |
2339 |
fi |
| 2250 |
|
2340 |
|
|
Lines 2271-2279
Link Here
|
| 2271 |
cross_compiling=yes |
2361 |
cross_compiling=yes |
| 2272 |
else |
2362 |
else |
| 2273 |
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
2363 |
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
| 2274 |
If you meant to cross compile, use \`--host'." >&5 |
2364 |
If you meant to cross compile, use \`--host'. |
|
|
2365 |
See \`config.log' for more details." >&5 |
| 2275 |
echo "$as_me: error: cannot run C compiled programs. |
2366 |
echo "$as_me: error: cannot run C compiled programs. |
| 2276 |
If you meant to cross compile, use \`--host'." >&2;} |
2367 |
If you meant to cross compile, use \`--host'. |
|
|
2368 |
See \`config.log' for more details." >&2;} |
| 2277 |
{ (exit 1); exit 1; }; } |
2369 |
{ (exit 1); exit 1; }; } |
| 2278 |
fi |
2370 |
fi |
| 2279 |
fi |
2371 |
fi |
|
Lines 2281-2287
Link Here
|
| 2281 |
echo "$as_me:$LINENO: result: yes" >&5 |
2373 |
echo "$as_me:$LINENO: result: yes" >&5 |
| 2282 |
echo "${ECHO_T}yes" >&6 |
2374 |
echo "${ECHO_T}yes" >&6 |
| 2283 |
|
2375 |
|
| 2284 |
rm -f a.out a.exe conftest$ac_cv_exeext |
2376 |
rm -f a.out a.exe conftest$ac_cv_exeext b.out |
| 2285 |
ac_clean_files=$ac_clean_files_save |
2377 |
ac_clean_files=$ac_clean_files_save |
| 2286 |
# Check the compiler produces executables we can run. If not, either |
2378 |
# Check the compiler produces executables we can run. If not, either |
| 2287 |
# the compiler is broken, or we cross compile. |
2379 |
# the compiler is broken, or we cross compile. |
|
Lines 2301-2309
Link Here
|
| 2301 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
2393 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
| 2302 |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
2394 |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
| 2303 |
# `rm'. |
2395 |
# `rm'. |
| 2304 |
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do |
2396 |
for ac_file in conftest.exe conftest conftest.*; do |
|
|
2397 |
test -f "$ac_file" || continue |
| 2305 |
case $ac_file in |
2398 |
case $ac_file in |
| 2306 |
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; |
2399 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
| 2307 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2400 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 2308 |
export ac_cv_exeext |
2401 |
export ac_cv_exeext |
| 2309 |
break;; |
2402 |
break;; |
|
Lines 2311-2318
Link Here
|
| 2311 |
esac |
2404 |
esac |
| 2312 |
done |
2405 |
done |
| 2313 |
else |
2406 |
else |
| 2314 |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5 |
2407 |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
| 2315 |
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;} |
2408 |
See \`config.log' for more details." >&5 |
|
|
2409 |
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
| 2410 |
See \`config.log' for more details." >&2;} |
| 2316 |
{ (exit 1); exit 1; }; } |
2411 |
{ (exit 1); exit 1; }; } |
| 2317 |
fi |
2412 |
fi |
| 2318 |
|
2413 |
|
|
Lines 2330-2343
Link Here
|
| 2330 |
else |
2425 |
else |
| 2331 |
cat >conftest.$ac_ext <<_ACEOF |
2426 |
cat >conftest.$ac_ext <<_ACEOF |
| 2332 |
#line $LINENO "configure" |
2427 |
#line $LINENO "configure" |
| 2333 |
#include "confdefs.h" |
2428 |
/* confdefs.h. */ |
|
|
2429 |
_ACEOF |
| 2430 |
cat confdefs.h >>conftest.$ac_ext |
| 2431 |
cat >>conftest.$ac_ext <<_ACEOF |
| 2432 |
/* end confdefs.h. */ |
| 2334 |
|
2433 |
|
| 2335 |
#ifdef F77_DUMMY_MAIN |
|
|
| 2336 |
# ifdef __cplusplus |
| 2337 |
extern "C" |
| 2338 |
# endif |
| 2339 |
int F77_DUMMY_MAIN() { return 1; } |
| 2340 |
#endif |
| 2341 |
int |
2434 |
int |
| 2342 |
main () |
2435 |
main () |
| 2343 |
{ |
2436 |
{ |
|
Lines 2354-2369
Link Here
|
| 2354 |
(exit $ac_status); }; then |
2447 |
(exit $ac_status); }; then |
| 2355 |
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
2448 |
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
| 2356 |
case $ac_file in |
2449 |
case $ac_file in |
| 2357 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; |
2450 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
| 2358 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2451 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
| 2359 |
break;; |
2452 |
break;; |
| 2360 |
esac |
2453 |
esac |
| 2361 |
done |
2454 |
done |
| 2362 |
else |
2455 |
else |
| 2363 |
echo "$as_me: failed program was:" >&5 |
2456 |
echo "$as_me: failed program was:" >&5 |
| 2364 |
cat conftest.$ac_ext >&5 |
2457 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2365 |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5 |
2458 |
|
| 2366 |
echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;} |
2459 |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
|
|
2460 |
See \`config.log' for more details." >&5 |
| 2461 |
echo "$as_me: error: cannot compute suffix of object files: cannot compile |
| 2462 |
See \`config.log' for more details." >&2;} |
| 2367 |
{ (exit 1); exit 1; }; } |
2463 |
{ (exit 1); exit 1; }; } |
| 2368 |
fi |
2464 |
fi |
| 2369 |
|
2465 |
|
|
Lines 2380-2393
Link Here
|
| 2380 |
else |
2476 |
else |
| 2381 |
cat >conftest.$ac_ext <<_ACEOF |
2477 |
cat >conftest.$ac_ext <<_ACEOF |
| 2382 |
#line $LINENO "configure" |
2478 |
#line $LINENO "configure" |
| 2383 |
#include "confdefs.h" |
2479 |
/* confdefs.h. */ |
|
|
2480 |
_ACEOF |
| 2481 |
cat confdefs.h >>conftest.$ac_ext |
| 2482 |
cat >>conftest.$ac_ext <<_ACEOF |
| 2483 |
/* end confdefs.h. */ |
| 2384 |
|
2484 |
|
| 2385 |
#ifdef F77_DUMMY_MAIN |
|
|
| 2386 |
# ifdef __cplusplus |
| 2387 |
extern "C" |
| 2388 |
# endif |
| 2389 |
int F77_DUMMY_MAIN() { return 1; } |
| 2390 |
#endif |
| 2391 |
int |
2485 |
int |
| 2392 |
main () |
2486 |
main () |
| 2393 |
{ |
2487 |
{ |
|
Lines 2414-2420
Link Here
|
| 2414 |
ac_compiler_gnu=yes |
2508 |
ac_compiler_gnu=yes |
| 2415 |
else |
2509 |
else |
| 2416 |
echo "$as_me: failed program was:" >&5 |
2510 |
echo "$as_me: failed program was:" >&5 |
| 2417 |
cat conftest.$ac_ext >&5 |
2511 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2512 |
|
| 2418 |
ac_compiler_gnu=no |
2513 |
ac_compiler_gnu=no |
| 2419 |
fi |
2514 |
fi |
| 2420 |
rm -f conftest.$ac_objext conftest.$ac_ext |
2515 |
rm -f conftest.$ac_objext conftest.$ac_ext |
|
Lines 2434-2447
Link Here
|
| 2434 |
else |
2529 |
else |
| 2435 |
cat >conftest.$ac_ext <<_ACEOF |
2530 |
cat >conftest.$ac_ext <<_ACEOF |
| 2436 |
#line $LINENO "configure" |
2531 |
#line $LINENO "configure" |
| 2437 |
#include "confdefs.h" |
2532 |
/* confdefs.h. */ |
|
|
2533 |
_ACEOF |
| 2534 |
cat confdefs.h >>conftest.$ac_ext |
| 2535 |
cat >>conftest.$ac_ext <<_ACEOF |
| 2536 |
/* end confdefs.h. */ |
| 2438 |
|
2537 |
|
| 2439 |
#ifdef F77_DUMMY_MAIN |
|
|
| 2440 |
# ifdef __cplusplus |
| 2441 |
extern "C" |
| 2442 |
# endif |
| 2443 |
int F77_DUMMY_MAIN() { return 1; } |
| 2444 |
#endif |
| 2445 |
int |
2538 |
int |
| 2446 |
main () |
2539 |
main () |
| 2447 |
{ |
2540 |
{ |
|
Lines 2465-2471
Link Here
|
| 2465 |
ac_cv_prog_cc_g=yes |
2558 |
ac_cv_prog_cc_g=yes |
| 2466 |
else |
2559 |
else |
| 2467 |
echo "$as_me: failed program was:" >&5 |
2560 |
echo "$as_me: failed program was:" >&5 |
| 2468 |
cat conftest.$ac_ext >&5 |
2561 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2562 |
|
| 2469 |
ac_cv_prog_cc_g=no |
2563 |
ac_cv_prog_cc_g=no |
| 2470 |
fi |
2564 |
fi |
| 2471 |
rm -f conftest.$ac_objext conftest.$ac_ext |
2565 |
rm -f conftest.$ac_objext conftest.$ac_ext |
|
Lines 2487-2492
Link Here
|
| 2487 |
CFLAGS= |
2581 |
CFLAGS= |
| 2488 |
fi |
2582 |
fi |
| 2489 |
fi |
2583 |
fi |
|
|
2584 |
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
| 2585 |
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
| 2586 |
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
| 2587 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2588 |
else |
| 2589 |
ac_cv_prog_cc_stdc=no |
| 2590 |
ac_save_CC=$CC |
| 2591 |
cat >conftest.$ac_ext <<_ACEOF |
| 2592 |
#line $LINENO "configure" |
| 2593 |
/* confdefs.h. */ |
| 2594 |
_ACEOF |
| 2595 |
cat confdefs.h >>conftest.$ac_ext |
| 2596 |
cat >>conftest.$ac_ext <<_ACEOF |
| 2597 |
/* end confdefs.h. */ |
| 2598 |
#include <stdarg.h> |
| 2599 |
#include <stdio.h> |
| 2600 |
#include <sys/types.h> |
| 2601 |
#include <sys/stat.h> |
| 2602 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
| 2603 |
struct buf { int x; }; |
| 2604 |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
| 2605 |
static char *e (p, i) |
| 2606 |
char **p; |
| 2607 |
int i; |
| 2608 |
{ |
| 2609 |
return p[i]; |
| 2610 |
} |
| 2611 |
static char *f (char * (*g) (char **, int), char **p, ...) |
| 2612 |
{ |
| 2613 |
char *s; |
| 2614 |
va_list v; |
| 2615 |
va_start (v,p); |
| 2616 |
s = g (p, va_arg (v,int)); |
| 2617 |
va_end (v); |
| 2618 |
return s; |
| 2619 |
} |
| 2620 |
int test (int i, double x); |
| 2621 |
struct s1 {int (*f) (int a);}; |
| 2622 |
struct s2 {int (*f) (double a);}; |
| 2623 |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
| 2624 |
int argc; |
| 2625 |
char **argv; |
| 2626 |
int |
| 2627 |
main () |
| 2628 |
{ |
| 2629 |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
| 2630 |
; |
| 2631 |
return 0; |
| 2632 |
} |
| 2633 |
_ACEOF |
| 2634 |
# Don't try gcc -ansi; that turns off useful extensions and |
| 2635 |
# breaks some systems' header files. |
| 2636 |
# AIX -qlanglvl=ansi |
| 2637 |
# Ultrix and OSF/1 -std1 |
| 2638 |
# HP-UX 10.20 and later -Ae |
| 2639 |
# HP-UX older versions -Aa -D_HPUX_SOURCE |
| 2640 |
# SVR4 -Xc -D__EXTENSIONS__ |
| 2641 |
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 2642 |
do |
| 2643 |
CC="$ac_save_CC $ac_arg" |
| 2644 |
rm -f conftest.$ac_objext |
| 2645 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2646 |
(eval $ac_compile) 2>&5 |
| 2647 |
ac_status=$? |
| 2648 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2649 |
(exit $ac_status); } && |
| 2650 |
{ ac_try='test -s conftest.$ac_objext' |
| 2651 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2652 |
(eval $ac_try) 2>&5 |
| 2653 |
ac_status=$? |
| 2654 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2655 |
(exit $ac_status); }; }; then |
| 2656 |
ac_cv_prog_cc_stdc=$ac_arg |
| 2657 |
break |
| 2658 |
else |
| 2659 |
echo "$as_me: failed program was:" >&5 |
| 2660 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2661 |
|
| 2662 |
fi |
| 2663 |
rm -f conftest.$ac_objext |
| 2664 |
done |
| 2665 |
rm -f conftest.$ac_ext conftest.$ac_objext |
| 2666 |
CC=$ac_save_CC |
| 2667 |
|
| 2668 |
fi |
| 2669 |
|
| 2670 |
case "x$ac_cv_prog_cc_stdc" in |
| 2671 |
x|xno) |
| 2672 |
echo "$as_me:$LINENO: result: none needed" >&5 |
| 2673 |
echo "${ECHO_T}none needed" >&6 ;; |
| 2674 |
*) |
| 2675 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
| 2676 |
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
| 2677 |
CC="$CC $ac_cv_prog_cc_stdc" ;; |
| 2678 |
esac |
| 2679 |
|
| 2490 |
# Some people use a C++ compiler to compile C. Since we use `exit', |
2680 |
# Some people use a C++ compiler to compile C. Since we use `exit', |
| 2491 |
# in C++ we need to declare it. In case someone uses the same compiler |
2681 |
# in C++ we need to declare it. In case someone uses the same compiler |
| 2492 |
# for both compiling C and C++ we need to have the C++ compiler decide |
2682 |
# for both compiling C and C++ we need to have the C++ compiler decide |
|
Lines 2519-2533
Link Here
|
| 2519 |
do |
2709 |
do |
| 2520 |
cat >conftest.$ac_ext <<_ACEOF |
2710 |
cat >conftest.$ac_ext <<_ACEOF |
| 2521 |
#line $LINENO "configure" |
2711 |
#line $LINENO "configure" |
| 2522 |
#include "confdefs.h" |
2712 |
/* confdefs.h. */ |
|
|
2713 |
_ACEOF |
| 2714 |
cat confdefs.h >>conftest.$ac_ext |
| 2715 |
cat >>conftest.$ac_ext <<_ACEOF |
| 2716 |
/* end confdefs.h. */ |
| 2523 |
#include <stdlib.h> |
2717 |
#include <stdlib.h> |
| 2524 |
$ac_declaration |
2718 |
$ac_declaration |
| 2525 |
#ifdef F77_DUMMY_MAIN |
|
|
| 2526 |
# ifdef __cplusplus |
| 2527 |
extern "C" |
| 2528 |
# endif |
| 2529 |
int F77_DUMMY_MAIN() { return 1; } |
| 2530 |
#endif |
| 2531 |
int |
2719 |
int |
| 2532 |
main () |
2720 |
main () |
| 2533 |
{ |
2721 |
{ |
|
Lines 2551-2570
Link Here
|
| 2551 |
: |
2739 |
: |
| 2552 |
else |
2740 |
else |
| 2553 |
echo "$as_me: failed program was:" >&5 |
2741 |
echo "$as_me: failed program was:" >&5 |
| 2554 |
cat conftest.$ac_ext >&5 |
2742 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2743 |
|
| 2555 |
continue |
2744 |
continue |
| 2556 |
fi |
2745 |
fi |
| 2557 |
rm -f conftest.$ac_objext conftest.$ac_ext |
2746 |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 2558 |
cat >conftest.$ac_ext <<_ACEOF |
2747 |
cat >conftest.$ac_ext <<_ACEOF |
| 2559 |
#line $LINENO "configure" |
2748 |
#line $LINENO "configure" |
| 2560 |
#include "confdefs.h" |
2749 |
/* confdefs.h. */ |
|
|
2750 |
_ACEOF |
| 2751 |
cat confdefs.h >>conftest.$ac_ext |
| 2752 |
cat >>conftest.$ac_ext <<_ACEOF |
| 2753 |
/* end confdefs.h. */ |
| 2561 |
$ac_declaration |
2754 |
$ac_declaration |
| 2562 |
#ifdef F77_DUMMY_MAIN |
|
|
| 2563 |
# ifdef __cplusplus |
| 2564 |
extern "C" |
| 2565 |
# endif |
| 2566 |
int F77_DUMMY_MAIN() { return 1; } |
| 2567 |
#endif |
| 2568 |
int |
2755 |
int |
| 2569 |
main () |
2756 |
main () |
| 2570 |
{ |
2757 |
{ |
|
Lines 2588-2594
Link Here
|
| 2588 |
break |
2775 |
break |
| 2589 |
else |
2776 |
else |
| 2590 |
echo "$as_me: failed program was:" >&5 |
2777 |
echo "$as_me: failed program was:" >&5 |
| 2591 |
cat conftest.$ac_ext >&5 |
2778 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2779 |
|
| 2592 |
fi |
2780 |
fi |
| 2593 |
rm -f conftest.$ac_objext conftest.$ac_ext |
2781 |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 2594 |
done |
2782 |
done |
|
Lines 2601-2607
Link Here
|
| 2601 |
|
2789 |
|
| 2602 |
else |
2790 |
else |
| 2603 |
echo "$as_me: failed program was:" >&5 |
2791 |
echo "$as_me: failed program was:" >&5 |
| 2604 |
cat conftest.$ac_ext >&5 |
2792 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2793 |
|
| 2605 |
fi |
2794 |
fi |
| 2606 |
rm -f conftest.$ac_objext conftest.$ac_ext |
2795 |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 2607 |
ac_ext=c |
2796 |
ac_ext=c |
|
Lines 2690-2696
Link Here
|
| 2690 |
LIBS="-lcposix $LIBS" |
2879 |
LIBS="-lcposix $LIBS" |
| 2691 |
cat >conftest.$ac_ext <<_ACEOF |
2880 |
cat >conftest.$ac_ext <<_ACEOF |
| 2692 |
#line $LINENO "configure" |
2881 |
#line $LINENO "configure" |
| 2693 |
#include "confdefs.h" |
2882 |
/* confdefs.h. */ |
|
|
2883 |
_ACEOF |
| 2884 |
cat confdefs.h >>conftest.$ac_ext |
| 2885 |
cat >>conftest.$ac_ext <<_ACEOF |
| 2886 |
/* end confdefs.h. */ |
| 2694 |
|
2887 |
|
| 2695 |
/* Override any gcc2 internal prototype to avoid an error. */ |
2888 |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 2696 |
#ifdef __cplusplus |
2889 |
#ifdef __cplusplus |
|
Lines 2699-2710
Link Here
|
| 2699 |
/* We use char because int might match the return type of a gcc2 |
2892 |
/* We use char because int might match the return type of a gcc2 |
| 2700 |
builtin and then its argument prototype would still apply. */ |
2893 |
builtin and then its argument prototype would still apply. */ |
| 2701 |
char strerror (); |
2894 |
char strerror (); |
| 2702 |
#ifdef F77_DUMMY_MAIN |
|
|
| 2703 |
# ifdef __cplusplus |
| 2704 |
extern "C" |
| 2705 |
# endif |
| 2706 |
int F77_DUMMY_MAIN() { return 1; } |
| 2707 |
#endif |
| 2708 |
int |
2895 |
int |
| 2709 |
main () |
2896 |
main () |
| 2710 |
{ |
2897 |
{ |
|
Lines 2728-2734
Link Here
|
| 2728 |
ac_cv_lib_cposix_strerror=yes |
2915 |
ac_cv_lib_cposix_strerror=yes |
| 2729 |
else |
2916 |
else |
| 2730 |
echo "$as_me: failed program was:" >&5 |
2917 |
echo "$as_me: failed program was:" >&5 |
| 2731 |
cat conftest.$ac_ext >&5 |
2918 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2919 |
|
| 2732 |
ac_cv_lib_cposix_strerror=no |
2920 |
ac_cv_lib_cposix_strerror=no |
| 2733 |
fi |
2921 |
fi |
| 2734 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
2922 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
|
Lines 2946-2954
Link Here
|
| 2946 |
# However, it has the same basename, so the bogon will be chosen |
3134 |
# However, it has the same basename, so the bogon will be chosen |
| 2947 |
# first if we set CC to just the basename; use the full file name. |
3135 |
# first if we set CC to just the basename; use the full file name. |
| 2948 |
shift |
3136 |
shift |
| 2949 |
set dummy "$as_dir/$ac_word" ${1+"$@"} |
3137 |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
| 2950 |
shift |
|
|
| 2951 |
ac_cv_prog_CC="$@" |
| 2952 |
fi |
3138 |
fi |
| 2953 |
fi |
3139 |
fi |
| 2954 |
fi |
3140 |
fi |
|
Lines 3053-3060
Link Here
|
| 3053 |
fi |
3239 |
fi |
| 3054 |
|
3240 |
|
| 3055 |
|
3241 |
|
| 3056 |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5 |
3242 |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
| 3057 |
echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;} |
3243 |
See \`config.log' for more details." >&5 |
|
|
3244 |
echo "$as_me: error: no acceptable C compiler found in \$PATH |
| 3245 |
See \`config.log' for more details." >&2;} |
| 3058 |
{ (exit 1); exit 1; }; } |
3246 |
{ (exit 1); exit 1; }; } |
| 3059 |
|
3247 |
|
| 3060 |
# Provide some information about the compiler. |
3248 |
# Provide some information about the compiler. |
|
Lines 3084-3097
Link Here
|
| 3084 |
else |
3272 |
else |
| 3085 |
cat >conftest.$ac_ext <<_ACEOF |
3273 |
cat >conftest.$ac_ext <<_ACEOF |
| 3086 |
#line $LINENO "configure" |
3274 |
#line $LINENO "configure" |
| 3087 |
#include "confdefs.h" |
3275 |
/* confdefs.h. */ |
|
|
3276 |
_ACEOF |
| 3277 |
cat confdefs.h >>conftest.$ac_ext |
| 3278 |
cat >>conftest.$ac_ext <<_ACEOF |
| 3279 |
/* end confdefs.h. */ |
| 3088 |
|
3280 |
|
| 3089 |
#ifdef F77_DUMMY_MAIN |
|
|
| 3090 |
# ifdef __cplusplus |
| 3091 |
extern "C" |
| 3092 |
# endif |
| 3093 |
int F77_DUMMY_MAIN() { return 1; } |
| 3094 |
#endif |
| 3095 |
int |
3281 |
int |
| 3096 |
main () |
3282 |
main () |
| 3097 |
{ |
3283 |
{ |
|
Lines 3118-3124
Link Here
|
| 3118 |
ac_compiler_gnu=yes |
3304 |
ac_compiler_gnu=yes |
| 3119 |
else |
3305 |
else |
| 3120 |
echo "$as_me: failed program was:" >&5 |
3306 |
echo "$as_me: failed program was:" >&5 |
| 3121 |
cat conftest.$ac_ext >&5 |
3307 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3308 |
|
| 3122 |
ac_compiler_gnu=no |
3309 |
ac_compiler_gnu=no |
| 3123 |
fi |
3310 |
fi |
| 3124 |
rm -f conftest.$ac_objext conftest.$ac_ext |
3311 |
rm -f conftest.$ac_objext conftest.$ac_ext |
|
Lines 3138-3151
Link Here
|
| 3138 |
else |
3325 |
else |
| 3139 |
cat >conftest.$ac_ext <<_ACEOF |
3326 |
cat >conftest.$ac_ext <<_ACEOF |
| 3140 |
#line $LINENO "configure" |
3327 |
#line $LINENO "configure" |
| 3141 |
#include "confdefs.h" |
3328 |
/* confdefs.h. */ |
|
|
3329 |
_ACEOF |
| 3330 |
cat confdefs.h >>conftest.$ac_ext |
| 3331 |
cat >>conftest.$ac_ext <<_ACEOF |
| 3332 |
/* end confdefs.h. */ |
| 3142 |
|
3333 |
|
| 3143 |
#ifdef F77_DUMMY_MAIN |
|
|
| 3144 |
# ifdef __cplusplus |
| 3145 |
extern "C" |
| 3146 |
# endif |
| 3147 |
int F77_DUMMY_MAIN() { return 1; } |
| 3148 |
#endif |
| 3149 |
int |
3334 |
int |
| 3150 |
main () |
3335 |
main () |
| 3151 |
{ |
3336 |
{ |
|
Lines 3169-3175
Link Here
|
| 3169 |
ac_cv_prog_cc_g=yes |
3354 |
ac_cv_prog_cc_g=yes |
| 3170 |
else |
3355 |
else |
| 3171 |
echo "$as_me: failed program was:" >&5 |
3356 |
echo "$as_me: failed program was:" >&5 |
| 3172 |
cat conftest.$ac_ext >&5 |
3357 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3358 |
|
| 3173 |
ac_cv_prog_cc_g=no |
3359 |
ac_cv_prog_cc_g=no |
| 3174 |
fi |
3360 |
fi |
| 3175 |
rm -f conftest.$ac_objext conftest.$ac_ext |
3361 |
rm -f conftest.$ac_objext conftest.$ac_ext |
|
Lines 3191-3206
Link Here
|
| 3191 |
CFLAGS= |
3377 |
CFLAGS= |
| 3192 |
fi |
3378 |
fi |
| 3193 |
fi |
3379 |
fi |
| 3194 |
# Some people use a C++ compiler to compile C. Since we use `exit', |
3380 |
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
| 3195 |
# in C++ we need to declare it. In case someone uses the same compiler |
3381 |
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
| 3196 |
# for both compiling C and C++ we need to have the C++ compiler decide |
3382 |
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
| 3197 |
# the declaration of exit, since it's the most demanding environment. |
3383 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3384 |
else |
| 3385 |
ac_cv_prog_cc_stdc=no |
| 3386 |
ac_save_CC=$CC |
| 3198 |
cat >conftest.$ac_ext <<_ACEOF |
3387 |
cat >conftest.$ac_ext <<_ACEOF |
| 3199 |
#ifndef __cplusplus |
3388 |
#line $LINENO "configure" |
| 3200 |
choke me |
3389 |
/* confdefs.h. */ |
| 3201 |
#endif |
|
|
| 3202 |
_ACEOF |
3390 |
_ACEOF |
| 3203 |
rm -f conftest.$ac_objext |
3391 |
cat confdefs.h >>conftest.$ac_ext |
|
|
3392 |
cat >>conftest.$ac_ext <<_ACEOF |
| 3393 |
/* end confdefs.h. */ |
| 3394 |
#include <stdarg.h> |
| 3395 |
#include <stdio.h> |
| 3396 |
#include <sys/types.h> |
| 3397 |
#include <sys/stat.h> |
| 3398 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
| 3399 |
struct buf { int x; }; |
| 3400 |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
| 3401 |
static char *e (p, i) |
| 3402 |
char **p; |
| 3403 |
int i; |
| 3404 |
{ |
| 3405 |
return p[i]; |
| 3406 |
} |
| 3407 |
static char *f (char * (*g) (char **, int), char **p, ...) |
| 3408 |
{ |
| 3409 |
char *s; |
| 3410 |
va_list v; |
| 3411 |
va_start (v,p); |
| 3412 |
s = g (p, va_arg (v,int)); |
| 3413 |
va_end (v); |
| 3414 |
return s; |
| 3415 |
} |
| 3416 |
int test (int i, double x); |
| 3417 |
struct s1 {int (*f) (int a);}; |
| 3418 |
struct s2 {int (*f) (double a);}; |
| 3419 |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
| 3420 |
int argc; |
| 3421 |
char **argv; |
| 3422 |
int |
| 3423 |
main () |
| 3424 |
{ |
| 3425 |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
| 3426 |
; |
| 3427 |
return 0; |
| 3428 |
} |
| 3429 |
_ACEOF |
| 3430 |
# Don't try gcc -ansi; that turns off useful extensions and |
| 3431 |
# breaks some systems' header files. |
| 3432 |
# AIX -qlanglvl=ansi |
| 3433 |
# Ultrix and OSF/1 -std1 |
| 3434 |
# HP-UX 10.20 and later -Ae |
| 3435 |
# HP-UX older versions -Aa -D_HPUX_SOURCE |
| 3436 |
# SVR4 -Xc -D__EXTENSIONS__ |
| 3437 |
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 3438 |
do |
| 3439 |
CC="$ac_save_CC $ac_arg" |
| 3440 |
rm -f conftest.$ac_objext |
| 3204 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3441 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3205 |
(eval $ac_compile) 2>&5 |
3442 |
(eval $ac_compile) 2>&5 |
| 3206 |
ac_status=$? |
3443 |
ac_status=$? |
|
Lines 3212-3237
Link Here
|
| 3212 |
ac_status=$? |
3449 |
ac_status=$? |
| 3213 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3450 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3214 |
(exit $ac_status); }; }; then |
3451 |
(exit $ac_status); }; }; then |
| 3215 |
for ac_declaration in \ |
3452 |
ac_cv_prog_cc_stdc=$ac_arg |
| 3216 |
''\ |
3453 |
break |
| 3217 |
'#include <stdlib.h>' \ |
3454 |
else |
| 3218 |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
3455 |
echo "$as_me: failed program was:" >&5 |
| 3219 |
'extern "C" void std::exit (int); using std::exit;' \ |
3456 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3220 |
'extern "C" void exit (int) throw ();' \ |
3457 |
|
| 3221 |
'extern "C" void exit (int);' \ |
3458 |
fi |
|
|
3459 |
rm -f conftest.$ac_objext |
| 3460 |
done |
| 3461 |
rm -f conftest.$ac_ext conftest.$ac_objext |
| 3462 |
CC=$ac_save_CC |
| 3463 |
|
| 3464 |
fi |
| 3465 |
|
| 3466 |
case "x$ac_cv_prog_cc_stdc" in |
| 3467 |
x|xno) |
| 3468 |
echo "$as_me:$LINENO: result: none needed" >&5 |
| 3469 |
echo "${ECHO_T}none needed" >&6 ;; |
| 3470 |
*) |
| 3471 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
| 3472 |
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
| 3473 |
CC="$CC $ac_cv_prog_cc_stdc" ;; |
| 3474 |
esac |
| 3475 |
|
| 3476 |
# Some people use a C++ compiler to compile C. Since we use `exit', |
| 3477 |
# in C++ we need to declare it. In case someone uses the same compiler |
| 3478 |
# for both compiling C and C++ we need to have the C++ compiler decide |
| 3479 |
# the declaration of exit, since it's the most demanding environment. |
| 3480 |
cat >conftest.$ac_ext <<_ACEOF |
| 3481 |
#ifndef __cplusplus |
| 3482 |
choke me |
| 3483 |
#endif |
| 3484 |
_ACEOF |
| 3485 |
rm -f conftest.$ac_objext |
| 3486 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3487 |
(eval $ac_compile) 2>&5 |
| 3488 |
ac_status=$? |
| 3489 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3490 |
(exit $ac_status); } && |
| 3491 |
{ ac_try='test -s conftest.$ac_objext' |
| 3492 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3493 |
(eval $ac_try) 2>&5 |
| 3494 |
ac_status=$? |
| 3495 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3496 |
(exit $ac_status); }; }; then |
| 3497 |
for ac_declaration in \ |
| 3498 |
''\ |
| 3499 |
'#include <stdlib.h>' \ |
| 3500 |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
| 3501 |
'extern "C" void std::exit (int); using std::exit;' \ |
| 3502 |
'extern "C" void exit (int) throw ();' \ |
| 3503 |
'extern "C" void exit (int);' \ |
| 3222 |
'void exit (int);' |
3504 |
'void exit (int);' |
| 3223 |
do |
3505 |
do |
| 3224 |
cat >conftest.$ac_ext <<_ACEOF |
3506 |
cat >conftest.$ac_ext <<_ACEOF |
| 3225 |
#line $LINENO "configure" |
3507 |
#line $LINENO "configure" |
| 3226 |
#include "confdefs.h" |
3508 |
/* confdefs.h. */ |
|
|
3509 |
_ACEOF |
| 3510 |
cat confdefs.h >>conftest.$ac_ext |
| 3511 |
cat >>conftest.$ac_ext <<_ACEOF |
| 3512 |
/* end confdefs.h. */ |
| 3227 |
#include <stdlib.h> |
3513 |
#include <stdlib.h> |
| 3228 |
$ac_declaration |
3514 |
$ac_declaration |
| 3229 |
#ifdef F77_DUMMY_MAIN |
|
|
| 3230 |
# ifdef __cplusplus |
| 3231 |
extern "C" |
| 3232 |
# endif |
| 3233 |
int F77_DUMMY_MAIN() { return 1; } |
| 3234 |
#endif |
| 3235 |
int |
3515 |
int |
| 3236 |
main () |
3516 |
main () |
| 3237 |
{ |
3517 |
{ |
|
Lines 3255-3274
Link Here
|
| 3255 |
: |
3535 |
: |
| 3256 |
else |
3536 |
else |
| 3257 |
echo "$as_me: failed program was:" >&5 |
3537 |
echo "$as_me: failed program was:" >&5 |
| 3258 |
cat conftest.$ac_ext >&5 |
3538 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3539 |
|
| 3259 |
continue |
3540 |
continue |
| 3260 |
fi |
3541 |
fi |
| 3261 |
rm -f conftest.$ac_objext conftest.$ac_ext |
3542 |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 3262 |
cat >conftest.$ac_ext <<_ACEOF |
3543 |
cat >conftest.$ac_ext <<_ACEOF |
| 3263 |
#line $LINENO "configure" |
3544 |
#line $LINENO "configure" |
| 3264 |
#include "confdefs.h" |
3545 |
/* confdefs.h. */ |
|
|
3546 |
_ACEOF |
| 3547 |
cat confdefs.h >>conftest.$ac_ext |
| 3548 |
cat >>conftest.$ac_ext <<_ACEOF |
| 3549 |
/* end confdefs.h. */ |
| 3265 |
$ac_declaration |
3550 |
$ac_declaration |
| 3266 |
#ifdef F77_DUMMY_MAIN |
|
|
| 3267 |
# ifdef __cplusplus |
| 3268 |
extern "C" |
| 3269 |
# endif |
| 3270 |
int F77_DUMMY_MAIN() { return 1; } |
| 3271 |
#endif |
| 3272 |
int |
3551 |
int |
| 3273 |
main () |
3552 |
main () |
| 3274 |
{ |
3553 |
{ |
|
Lines 3292-3298
Link Here
|
| 3292 |
break |
3571 |
break |
| 3293 |
else |
3572 |
else |
| 3294 |
echo "$as_me: failed program was:" >&5 |
3573 |
echo "$as_me: failed program was:" >&5 |
| 3295 |
cat conftest.$ac_ext >&5 |
3574 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3575 |
|
| 3296 |
fi |
3576 |
fi |
| 3297 |
rm -f conftest.$ac_objext conftest.$ac_ext |
3577 |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 3298 |
done |
3578 |
done |
|
Lines 3305-3311
Link Here
|
| 3305 |
|
3585 |
|
| 3306 |
else |
3586 |
else |
| 3307 |
echo "$as_me: failed program was:" >&5 |
3587 |
echo "$as_me: failed program was:" >&5 |
| 3308 |
cat conftest.$ac_ext >&5 |
3588 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3589 |
|
| 3309 |
fi |
3590 |
fi |
| 3310 |
rm -f conftest.$ac_objext conftest.$ac_ext |
3591 |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 3311 |
ac_ext=c |
3592 |
ac_ext=c |
|
Lines 3405-3411
Link Here
|
| 3405 |
CC="$ac_save_CC $ac_arg" |
3686 |
CC="$ac_save_CC $ac_arg" |
| 3406 |
cat >conftest.$ac_ext <<_ACEOF |
3687 |
cat >conftest.$ac_ext <<_ACEOF |
| 3407 |
#line $LINENO "configure" |
3688 |
#line $LINENO "configure" |
| 3408 |
#include "confdefs.h" |
3689 |
/* confdefs.h. */ |
|
|
3690 |
_ACEOF |
| 3691 |
cat confdefs.h >>conftest.$ac_ext |
| 3692 |
cat >>conftest.$ac_ext <<_ACEOF |
| 3693 |
/* end confdefs.h. */ |
| 3409 |
#include <stdarg.h> |
3694 |
#include <stdarg.h> |
| 3410 |
#include <stdio.h> |
3695 |
#include <stdio.h> |
| 3411 |
#include <sys/types.h> |
3696 |
#include <sys/types.h> |
|
Lines 3435-3446
Link Here
|
| 3435 |
int argc; |
3720 |
int argc; |
| 3436 |
char **argv; |
3721 |
char **argv; |
| 3437 |
|
3722 |
|
| 3438 |
#ifdef F77_DUMMY_MAIN |
|
|
| 3439 |
# ifdef __cplusplus |
| 3440 |
extern "C" |
| 3441 |
# endif |
| 3442 |
int F77_DUMMY_MAIN() { return 1; } |
| 3443 |
#endif |
| 3444 |
int |
3723 |
int |
| 3445 |
main () |
3724 |
main () |
| 3446 |
{ |
3725 |
{ |
|
Lines 3466-3472
Link Here
|
| 3466 |
am_cv_prog_cc_stdc="$ac_arg"; break |
3745 |
am_cv_prog_cc_stdc="$ac_arg"; break |
| 3467 |
else |
3746 |
else |
| 3468 |
echo "$as_me: failed program was:" >&5 |
3747 |
echo "$as_me: failed program was:" >&5 |
| 3469 |
cat conftest.$ac_ext >&5 |
3748 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3749 |
|
| 3470 |
fi |
3750 |
fi |
| 3471 |
rm -f conftest.$ac_objext conftest.$ac_ext |
3751 |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 3472 |
done |
3752 |
done |
|
Lines 3493-3498
Link Here
|
| 3493 |
: ${CCASFLAGS='$(CFLAGS)'} |
3773 |
: ${CCASFLAGS='$(CFLAGS)'} |
| 3494 |
|
3774 |
|
| 3495 |
|
3775 |
|
|
|
3776 |
if test -n "$ac_tool_prefix"; then |
| 3777 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
| 3778 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
| 3779 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3780 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3781 |
if test "${ac_cv_prog_RANLIB+set}" = set; then |
| 3782 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3783 |
else |
| 3784 |
if test -n "$RANLIB"; then |
| 3785 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 3786 |
else |
| 3787 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3788 |
for as_dir in $PATH |
| 3789 |
do |
| 3790 |
IFS=$as_save_IFS |
| 3791 |
test -z "$as_dir" && as_dir=. |
| 3792 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3793 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3794 |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
| 3795 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3796 |
break 2 |
| 3797 |
fi |
| 3798 |
done |
| 3799 |
done |
| 3800 |
|
| 3801 |
fi |
| 3802 |
fi |
| 3803 |
RANLIB=$ac_cv_prog_RANLIB |
| 3804 |
if test -n "$RANLIB"; then |
| 3805 |
echo "$as_me:$LINENO: result: $RANLIB" >&5 |
| 3806 |
echo "${ECHO_T}$RANLIB" >&6 |
| 3807 |
else |
| 3808 |
echo "$as_me:$LINENO: result: no" >&5 |
| 3809 |
echo "${ECHO_T}no" >&6 |
| 3810 |
fi |
| 3811 |
|
| 3812 |
fi |
| 3813 |
if test -z "$ac_cv_prog_RANLIB"; then |
| 3814 |
ac_ct_RANLIB=$RANLIB |
| 3815 |
# Extract the first word of "ranlib", so it can be a program name with args. |
| 3816 |
set dummy ranlib; ac_word=$2 |
| 3817 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3818 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3819 |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
| 3820 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3821 |
else |
| 3822 |
if test -n "$ac_ct_RANLIB"; then |
| 3823 |
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
| 3824 |
else |
| 3825 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3826 |
for as_dir in $PATH |
| 3827 |
do |
| 3828 |
IFS=$as_save_IFS |
| 3829 |
test -z "$as_dir" && as_dir=. |
| 3830 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3831 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3832 |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
| 3833 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3834 |
break 2 |
| 3835 |
fi |
| 3836 |
done |
| 3837 |
done |
| 3838 |
|
| 3839 |
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" |
| 3840 |
fi |
| 3841 |
fi |
| 3842 |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
| 3843 |
if test -n "$ac_ct_RANLIB"; then |
| 3844 |
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
| 3845 |
echo "${ECHO_T}$ac_ct_RANLIB" >&6 |
| 3846 |
else |
| 3847 |
echo "$as_me:$LINENO: result: no" >&5 |
| 3848 |
echo "${ECHO_T}no" >&6 |
| 3849 |
fi |
| 3850 |
|
| 3851 |
RANLIB=$ac_ct_RANLIB |
| 3852 |
else |
| 3853 |
RANLIB="$ac_cv_prog_RANLIB" |
| 3854 |
fi |
| 3855 |
|
| 3496 |
ac_ext=c |
3856 |
ac_ext=c |
| 3497 |
ac_cpp='$CPP $CPPFLAGS' |
3857 |
ac_cpp='$CPP $CPPFLAGS' |
| 3498 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3858 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
Lines 3516-3533
Link Here
|
| 3516 |
do |
3876 |
do |
| 3517 |
# Use a header file that comes with gcc, so configuring glibc |
3877 |
# Use a header file that comes with gcc, so configuring glibc |
| 3518 |
# with a fresh cross-compiler works. |
3878 |
# with a fresh cross-compiler works. |
|
|
3879 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 3880 |
# <limits.h> exists even on freestanding compilers. |
| 3519 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
3881 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 3520 |
# not just through cpp. "Syntax error" is here to catch this case. |
3882 |
# not just through cpp. "Syntax error" is here to catch this case. |
| 3521 |
cat >conftest.$ac_ext <<_ACEOF |
3883 |
cat >conftest.$ac_ext <<_ACEOF |
| 3522 |
#line $LINENO "configure" |
3884 |
#line $LINENO "configure" |
| 3523 |
#include "confdefs.h" |
3885 |
/* confdefs.h. */ |
| 3524 |
#include <assert.h> |
3886 |
_ACEOF |
|
|
3887 |
cat confdefs.h >>conftest.$ac_ext |
| 3888 |
cat >>conftest.$ac_ext <<_ACEOF |
| 3889 |
/* end confdefs.h. */ |
| 3890 |
#ifdef __STDC__ |
| 3891 |
# include <limits.h> |
| 3892 |
#else |
| 3893 |
# include <assert.h> |
| 3894 |
#endif |
| 3525 |
Syntax error |
3895 |
Syntax error |
| 3526 |
_ACEOF |
3896 |
_ACEOF |
| 3527 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3897 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 3528 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3898 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 3529 |
ac_status=$? |
3899 |
ac_status=$? |
| 3530 |
egrep -v '^ *\+' conftest.er1 >conftest.err |
3900 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3531 |
rm -f conftest.er1 |
3901 |
rm -f conftest.er1 |
| 3532 |
cat conftest.err >&5 |
3902 |
cat conftest.err >&5 |
| 3533 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3903 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
Lines 3544-3550
Link Here
|
| 3544 |
: |
3914 |
: |
| 3545 |
else |
3915 |
else |
| 3546 |
echo "$as_me: failed program was:" >&5 |
3916 |
echo "$as_me: failed program was:" >&5 |
| 3547 |
cat conftest.$ac_ext >&5 |
3917 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3918 |
|
| 3548 |
# Broken: fails on valid input. |
3919 |
# Broken: fails on valid input. |
| 3549 |
continue |
3920 |
continue |
| 3550 |
fi |
3921 |
fi |
|
Lines 3554-3566
Link Here
|
| 3554 |
# can be detected and how. |
3925 |
# can be detected and how. |
| 3555 |
cat >conftest.$ac_ext <<_ACEOF |
3926 |
cat >conftest.$ac_ext <<_ACEOF |
| 3556 |
#line $LINENO "configure" |
3927 |
#line $LINENO "configure" |
| 3557 |
#include "confdefs.h" |
3928 |
/* confdefs.h. */ |
|
|
3929 |
_ACEOF |
| 3930 |
cat confdefs.h >>conftest.$ac_ext |
| 3931 |
cat >>conftest.$ac_ext <<_ACEOF |
| 3932 |
/* end confdefs.h. */ |
| 3558 |
#include <ac_nonexistent.h> |
3933 |
#include <ac_nonexistent.h> |
| 3559 |
_ACEOF |
3934 |
_ACEOF |
| 3560 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3935 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 3561 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3936 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 3562 |
ac_status=$? |
3937 |
ac_status=$? |
| 3563 |
egrep -v '^ *\+' conftest.er1 >conftest.err |
3938 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3564 |
rm -f conftest.er1 |
3939 |
rm -f conftest.er1 |
| 3565 |
cat conftest.err >&5 |
3940 |
cat conftest.err >&5 |
| 3566 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3941 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
Lines 3578-3584
Link Here
|
| 3578 |
continue |
3953 |
continue |
| 3579 |
else |
3954 |
else |
| 3580 |
echo "$as_me: failed program was:" >&5 |
3955 |
echo "$as_me: failed program was:" >&5 |
| 3581 |
cat conftest.$ac_ext >&5 |
3956 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3957 |
|
| 3582 |
# Passes both tests. |
3958 |
# Passes both tests. |
| 3583 |
ac_preproc_ok=: |
3959 |
ac_preproc_ok=: |
| 3584 |
break |
3960 |
break |
|
Lines 3607-3624
Link Here
|
| 3607 |
do |
3983 |
do |
| 3608 |
# Use a header file that comes with gcc, so configuring glibc |
3984 |
# Use a header file that comes with gcc, so configuring glibc |
| 3609 |
# with a fresh cross-compiler works. |
3985 |
# with a fresh cross-compiler works. |
|
|
3986 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 3987 |
# <limits.h> exists even on freestanding compilers. |
| 3610 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
3988 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 3611 |
# not just through cpp. "Syntax error" is here to catch this case. |
3989 |
# not just through cpp. "Syntax error" is here to catch this case. |
| 3612 |
cat >conftest.$ac_ext <<_ACEOF |
3990 |
cat >conftest.$ac_ext <<_ACEOF |
| 3613 |
#line $LINENO "configure" |
3991 |
#line $LINENO "configure" |
| 3614 |
#include "confdefs.h" |
3992 |
/* confdefs.h. */ |
| 3615 |
#include <assert.h> |
3993 |
_ACEOF |
|
|
3994 |
cat confdefs.h >>conftest.$ac_ext |
| 3995 |
cat >>conftest.$ac_ext <<_ACEOF |
| 3996 |
/* end confdefs.h. */ |
| 3997 |
#ifdef __STDC__ |
| 3998 |
# include <limits.h> |
| 3999 |
#else |
| 4000 |
# include <assert.h> |
| 4001 |
#endif |
| 3616 |
Syntax error |
4002 |
Syntax error |
| 3617 |
_ACEOF |
4003 |
_ACEOF |
| 3618 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4004 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 3619 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4005 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 3620 |
ac_status=$? |
4006 |
ac_status=$? |
| 3621 |
egrep -v '^ *\+' conftest.er1 >conftest.err |
4007 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3622 |
rm -f conftest.er1 |
4008 |
rm -f conftest.er1 |
| 3623 |
cat conftest.err >&5 |
4009 |
cat conftest.err >&5 |
| 3624 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4010 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
Lines 3635-3641
Link Here
|
| 3635 |
: |
4021 |
: |
| 3636 |
else |
4022 |
else |
| 3637 |
echo "$as_me: failed program was:" >&5 |
4023 |
echo "$as_me: failed program was:" >&5 |
| 3638 |
cat conftest.$ac_ext >&5 |
4024 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4025 |
|
| 3639 |
# Broken: fails on valid input. |
4026 |
# Broken: fails on valid input. |
| 3640 |
continue |
4027 |
continue |
| 3641 |
fi |
4028 |
fi |
|
Lines 3645-3657
Link Here
|
| 3645 |
# can be detected and how. |
4032 |
# can be detected and how. |
| 3646 |
cat >conftest.$ac_ext <<_ACEOF |
4033 |
cat >conftest.$ac_ext <<_ACEOF |
| 3647 |
#line $LINENO "configure" |
4034 |
#line $LINENO "configure" |
| 3648 |
#include "confdefs.h" |
4035 |
/* confdefs.h. */ |
|
|
4036 |
_ACEOF |
| 4037 |
cat confdefs.h >>conftest.$ac_ext |
| 4038 |
cat >>conftest.$ac_ext <<_ACEOF |
| 4039 |
/* end confdefs.h. */ |
| 3649 |
#include <ac_nonexistent.h> |
4040 |
#include <ac_nonexistent.h> |
| 3650 |
_ACEOF |
4041 |
_ACEOF |
| 3651 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4042 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 3652 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4043 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 3653 |
ac_status=$? |
4044 |
ac_status=$? |
| 3654 |
egrep -v '^ *\+' conftest.er1 >conftest.err |
4045 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3655 |
rm -f conftest.er1 |
4046 |
rm -f conftest.er1 |
| 3656 |
cat conftest.err >&5 |
4047 |
cat conftest.err >&5 |
| 3657 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4048 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
Lines 3669-3675
Link Here
|
| 3669 |
continue |
4060 |
continue |
| 3670 |
else |
4061 |
else |
| 3671 |
echo "$as_me: failed program was:" >&5 |
4062 |
echo "$as_me: failed program was:" >&5 |
| 3672 |
cat conftest.$ac_ext >&5 |
4063 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4064 |
|
| 3673 |
# Passes both tests. |
4065 |
# Passes both tests. |
| 3674 |
ac_preproc_ok=: |
4066 |
ac_preproc_ok=: |
| 3675 |
break |
4067 |
break |
|
Lines 3682-3689
Link Here
|
| 3682 |
if $ac_preproc_ok; then |
4074 |
if $ac_preproc_ok; then |
| 3683 |
: |
4075 |
: |
| 3684 |
else |
4076 |
else |
| 3685 |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5 |
4077 |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
| 3686 |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} |
4078 |
See \`config.log' for more details." >&5 |
|
|
4079 |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
| 4080 |
See \`config.log' for more details." >&2;} |
| 3687 |
{ (exit 1); exit 1; }; } |
4081 |
{ (exit 1); exit 1; }; } |
| 3688 |
fi |
4082 |
fi |
| 3689 |
|
4083 |
|
|
Lines 3694-3699
Link Here
|
| 3694 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4088 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3695 |
|
4089 |
|
| 3696 |
|
4090 |
|
|
|
4091 |
echo "$as_me:$LINENO: checking for egrep" >&5 |
| 4092 |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
| 4093 |
if test "${ac_cv_prog_egrep+set}" = set; then |
| 4094 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4095 |
else |
| 4096 |
if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
| 4097 |
then ac_cv_prog_egrep='grep -E' |
| 4098 |
else ac_cv_prog_egrep='egrep' |
| 4099 |
fi |
| 4100 |
fi |
| 4101 |
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
| 4102 |
echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
| 4103 |
EGREP=$ac_cv_prog_egrep |
| 4104 |
|
| 4105 |
|
| 3697 |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
4106 |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| 3698 |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
4107 |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
| 3699 |
if test "${ac_cv_header_stdc+set}" = set; then |
4108 |
if test "${ac_cv_header_stdc+set}" = set; then |
|
Lines 3701-3748
Link Here
|
| 3701 |
else |
4110 |
else |
| 3702 |
cat >conftest.$ac_ext <<_ACEOF |
4111 |
cat >conftest.$ac_ext <<_ACEOF |
| 3703 |
#line $LINENO "configure" |
4112 |
#line $LINENO "configure" |
| 3704 |
#include "confdefs.h" |
4113 |
/* confdefs.h. */ |
|
|
4114 |
_ACEOF |
| 4115 |
cat confdefs.h >>conftest.$ac_ext |
| 4116 |
cat >>conftest.$ac_ext <<_ACEOF |
| 4117 |
/* end confdefs.h. */ |
| 3705 |
#include <stdlib.h> |
4118 |
#include <stdlib.h> |
| 3706 |
#include <stdarg.h> |
4119 |
#include <stdarg.h> |
| 3707 |
#include <string.h> |
4120 |
#include <string.h> |
| 3708 |
#include <float.h> |
4121 |
#include <float.h> |
| 3709 |
|
4122 |
|
|
|
4123 |
int |
| 4124 |
main () |
| 4125 |
{ |
| 4126 |
|
| 4127 |
; |
| 4128 |
return 0; |
| 4129 |
} |
| 3710 |
_ACEOF |
4130 |
_ACEOF |
| 3711 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4131 |
rm -f conftest.$ac_objext |
| 3712 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4132 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
4133 |
(eval $ac_compile) 2>&5 |
| 3713 |
ac_status=$? |
4134 |
ac_status=$? |
| 3714 |
egrep -v '^ *\+' conftest.er1 >conftest.err |
|
|
| 3715 |
rm -f conftest.er1 |
| 3716 |
cat conftest.err >&5 |
| 3717 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4135 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3718 |
(exit $ac_status); } >/dev/null; then |
4136 |
(exit $ac_status); } && |
| 3719 |
if test -s conftest.err; then |
4137 |
{ ac_try='test -s conftest.$ac_objext' |
| 3720 |
ac_cpp_err=$ac_c_preproc_warn_flag |
4138 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3721 |
else |
4139 |
(eval $ac_try) 2>&5 |
| 3722 |
ac_cpp_err= |
4140 |
ac_status=$? |
| 3723 |
fi |
4141 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3724 |
else |
4142 |
(exit $ac_status); }; }; then |
| 3725 |
ac_cpp_err=yes |
|
|
| 3726 |
fi |
| 3727 |
if test -z "$ac_cpp_err"; then |
| 3728 |
ac_cv_header_stdc=yes |
4143 |
ac_cv_header_stdc=yes |
| 3729 |
else |
4144 |
else |
| 3730 |
echo "$as_me: failed program was:" >&5 |
4145 |
echo "$as_me: failed program was:" >&5 |
| 3731 |
cat conftest.$ac_ext >&5 |
4146 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3732 |
ac_cv_header_stdc=no |
4147 |
|
|
|
4148 |
ac_cv_header_stdc=no |
| 3733 |
fi |
4149 |
fi |
| 3734 |
rm -f conftest.err conftest.$ac_ext |
4150 |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 3735 |
|
4151 |
|
| 3736 |
if test $ac_cv_header_stdc = yes; then |
4152 |
if test $ac_cv_header_stdc = yes; then |
| 3737 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
4153 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 3738 |
cat >conftest.$ac_ext <<_ACEOF |
4154 |
cat >conftest.$ac_ext <<_ACEOF |
| 3739 |
#line $LINENO "configure" |
4155 |
#line $LINENO "configure" |
| 3740 |
#include "confdefs.h" |
4156 |
/* confdefs.h. */ |
|
|
4157 |
_ACEOF |
| 4158 |
cat confdefs.h >>conftest.$ac_ext |
| 4159 |
cat >>conftest.$ac_ext <<_ACEOF |
| 4160 |
/* end confdefs.h. */ |
| 3741 |
#include <string.h> |
4161 |
#include <string.h> |
| 3742 |
|
4162 |
|
| 3743 |
_ACEOF |
4163 |
_ACEOF |
| 3744 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4164 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3745 |
egrep "memchr" >/dev/null 2>&1; then |
4165 |
$EGREP "memchr" >/dev/null 2>&1; then |
| 3746 |
: |
4166 |
: |
| 3747 |
else |
4167 |
else |
| 3748 |
ac_cv_header_stdc=no |
4168 |
ac_cv_header_stdc=no |
|
Lines 3755-3766
Link Here
|
| 3755 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
4175 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 3756 |
cat >conftest.$ac_ext <<_ACEOF |
4176 |
cat >conftest.$ac_ext <<_ACEOF |
| 3757 |
#line $LINENO "configure" |
4177 |
#line $LINENO "configure" |
| 3758 |
#include "confdefs.h" |
4178 |
/* confdefs.h. */ |
|
|
4179 |
_ACEOF |
| 4180 |
cat confdefs.h >>conftest.$ac_ext |
| 4181 |
cat >>conftest.$ac_ext <<_ACEOF |
| 4182 |
/* end confdefs.h. */ |
| 3759 |
#include <stdlib.h> |
4183 |
#include <stdlib.h> |
| 3760 |
|
4184 |
|
| 3761 |
_ACEOF |
4185 |
_ACEOF |
| 3762 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4186 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3763 |
egrep "free" >/dev/null 2>&1; then |
4187 |
$EGREP "free" >/dev/null 2>&1; then |
| 3764 |
: |
4188 |
: |
| 3765 |
else |
4189 |
else |
| 3766 |
ac_cv_header_stdc=no |
4190 |
ac_cv_header_stdc=no |
|
Lines 3776-3788
Link Here
|
| 3776 |
else |
4200 |
else |
| 3777 |
cat >conftest.$ac_ext <<_ACEOF |
4201 |
cat >conftest.$ac_ext <<_ACEOF |
| 3778 |
#line $LINENO "configure" |
4202 |
#line $LINENO "configure" |
| 3779 |
#include "confdefs.h" |
4203 |
/* confdefs.h. */ |
|
|
4204 |
_ACEOF |
| 4205 |
cat confdefs.h >>conftest.$ac_ext |
| 4206 |
cat >>conftest.$ac_ext <<_ACEOF |
| 4207 |
/* end confdefs.h. */ |
| 3780 |
#include <ctype.h> |
4208 |
#include <ctype.h> |
| 3781 |
#if ((' ' & 0x0FF) == 0x020) |
4209 |
#if ((' ' & 0x0FF) == 0x020) |
| 3782 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
4210 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 3783 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
4211 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 3784 |
#else |
4212 |
#else |
| 3785 |
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ |
4213 |
# define ISLOWER(c) \ |
|
|
4214 |
(('a' <= (c) && (c) <= 'i') \ |
| 3786 |
|| ('j' <= (c) && (c) <= 'r') \ |
4215 |
|| ('j' <= (c) && (c) <= 'r') \ |
| 3787 |
|| ('s' <= (c) && (c) <= 'z')) |
4216 |
|| ('s' <= (c) && (c) <= 'z')) |
| 3788 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
4217 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
Lines 3815-3825
Link Here
|
| 3815 |
else |
4244 |
else |
| 3816 |
echo "$as_me: program exited with status $ac_status" >&5 |
4245 |
echo "$as_me: program exited with status $ac_status" >&5 |
| 3817 |
echo "$as_me: failed program was:" >&5 |
4246 |
echo "$as_me: failed program was:" >&5 |
| 3818 |
cat conftest.$ac_ext >&5 |
4247 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4248 |
|
| 3819 |
( exit $ac_status ) |
4249 |
( exit $ac_status ) |
| 3820 |
ac_cv_header_stdc=no |
4250 |
ac_cv_header_stdc=no |
| 3821 |
fi |
4251 |
fi |
| 3822 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4252 |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 3823 |
fi |
4253 |
fi |
| 3824 |
fi |
4254 |
fi |
| 3825 |
fi |
4255 |
fi |
|
Lines 3857-4213
Link Here
|
| 3857 |
_ACEOF |
4287 |
_ACEOF |
| 3858 |
|
4288 |
|
| 3859 |
ALL_LINGUAS="am az ca cs da de el es et fr ga gl hu it ja no ru sk sl sv tr uk pl pt_BR pt zh_CN" |
4289 |
ALL_LINGUAS="am az ca cs da de el es et fr ga gl hu it ja no ru sk sl sv tr uk pl pt_BR pt zh_CN" |
| 3860 |
if test -n "$ac_tool_prefix"; then |
4290 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
| 3861 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
|
|
| 3862 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
| 3863 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3864 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3865 |
if test "${ac_cv_prog_RANLIB+set}" = set; then |
| 3866 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3867 |
else |
| 3868 |
if test -n "$RANLIB"; then |
| 3869 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 3870 |
else |
| 3871 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3872 |
for as_dir in $PATH |
| 3873 |
do |
| 3874 |
IFS=$as_save_IFS |
| 3875 |
test -z "$as_dir" && as_dir=. |
| 3876 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3877 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3878 |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
| 3879 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3880 |
break 2 |
| 3881 |
fi |
| 3882 |
done |
| 3883 |
done |
| 3884 |
|
4291 |
|
| 3885 |
fi |
4292 |
|
| 3886 |
fi |
4293 |
|
| 3887 |
RANLIB=$ac_cv_prog_RANLIB |
4294 |
|
| 3888 |
if test -n "$RANLIB"; then |
4295 |
|
| 3889 |
echo "$as_me:$LINENO: result: $RANLIB" >&5 |
4296 |
|
| 3890 |
echo "${ECHO_T}$RANLIB" >&6 |
4297 |
|
|
|
4298 |
|
| 4299 |
|
| 4300 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
| 4301 |
inttypes.h stdint.h unistd.h |
| 4302 |
do |
| 4303 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 4304 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 4305 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 4306 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 4307 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3891 |
else |
4308 |
else |
| 3892 |
echo "$as_me:$LINENO: result: no" >&5 |
4309 |
cat >conftest.$ac_ext <<_ACEOF |
| 3893 |
echo "${ECHO_T}no" >&6 |
4310 |
#line $LINENO "configure" |
| 3894 |
fi |
4311 |
/* confdefs.h. */ |
| 3895 |
|
4312 |
_ACEOF |
| 3896 |
fi |
4313 |
cat confdefs.h >>conftest.$ac_ext |
| 3897 |
if test -z "$ac_cv_prog_RANLIB"; then |
4314 |
cat >>conftest.$ac_ext <<_ACEOF |
| 3898 |
ac_ct_RANLIB=$RANLIB |
4315 |
/* end confdefs.h. */ |
| 3899 |
# Extract the first word of "ranlib", so it can be a program name with args. |
4316 |
$ac_includes_default |
| 3900 |
set dummy ranlib; ac_word=$2 |
|
|
| 3901 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3902 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3903 |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
| 3904 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3905 |
else |
| 3906 |
if test -n "$ac_ct_RANLIB"; then |
| 3907 |
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
| 3908 |
else |
| 3909 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3910 |
for as_dir in $PATH |
| 3911 |
do |
| 3912 |
IFS=$as_save_IFS |
| 3913 |
test -z "$as_dir" && as_dir=. |
| 3914 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3915 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3916 |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
| 3917 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3918 |
break 2 |
| 3919 |
fi |
| 3920 |
done |
| 3921 |
done |
| 3922 |
|
| 3923 |
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" |
| 3924 |
fi |
| 3925 |
fi |
| 3926 |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
| 3927 |
if test -n "$ac_ct_RANLIB"; then |
| 3928 |
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
| 3929 |
echo "${ECHO_T}$ac_ct_RANLIB" >&6 |
| 3930 |
else |
| 3931 |
echo "$as_me:$LINENO: result: no" >&5 |
| 3932 |
echo "${ECHO_T}no" >&6 |
| 3933 |
fi |
| 3934 |
|
| 3935 |
RANLIB=$ac_ct_RANLIB |
| 3936 |
else |
| 3937 |
RANLIB="$ac_cv_prog_RANLIB" |
| 3938 |
fi |
| 3939 |
|
| 3940 |
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
| 3941 |
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
| 3942 |
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
| 3943 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3944 |
else |
| 3945 |
ac_cv_prog_cc_stdc=no |
| 3946 |
ac_save_CC=$CC |
| 3947 |
cat >conftest.$ac_ext <<_ACEOF |
| 3948 |
#line $LINENO "configure" |
| 3949 |
#include "confdefs.h" |
| 3950 |
#include <stdarg.h> |
| 3951 |
#include <stdio.h> |
| 3952 |
#include <sys/types.h> |
| 3953 |
#include <sys/stat.h> |
| 3954 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
| 3955 |
struct buf { int x; }; |
| 3956 |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
| 3957 |
static char *e (p, i) |
| 3958 |
char **p; |
| 3959 |
int i; |
| 3960 |
{ |
| 3961 |
return p[i]; |
| 3962 |
} |
| 3963 |
static char *f (char * (*g) (char **, int), char **p, ...) |
| 3964 |
{ |
| 3965 |
char *s; |
| 3966 |
va_list v; |
| 3967 |
va_start (v,p); |
| 3968 |
s = g (p, va_arg (v,int)); |
| 3969 |
va_end (v); |
| 3970 |
return s; |
| 3971 |
} |
| 3972 |
int test (int i, double x); |
| 3973 |
struct s1 {int (*f) (int a);}; |
| 3974 |
struct s2 {int (*f) (double a);}; |
| 3975 |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
| 3976 |
int argc; |
| 3977 |
char **argv; |
| 3978 |
#ifdef F77_DUMMY_MAIN |
| 3979 |
# ifdef __cplusplus |
| 3980 |
extern "C" |
| 3981 |
# endif |
| 3982 |
int F77_DUMMY_MAIN() { return 1; } |
| 3983 |
#endif |
| 3984 |
int |
| 3985 |
main () |
| 3986 |
{ |
| 3987 |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
| 3988 |
; |
| 3989 |
return 0; |
| 3990 |
} |
| 3991 |
_ACEOF |
| 3992 |
# Don't try gcc -ansi; that turns off useful extensions and |
| 3993 |
# breaks some systems' header files. |
| 3994 |
# AIX -qlanglvl=ansi |
| 3995 |
# Ultrix and OSF/1 -std1 |
| 3996 |
# HP-UX 10.20 and later -Ae |
| 3997 |
# HP-UX older versions -Aa -D_HPUX_SOURCE |
| 3998 |
# SVR4 -Xc -D__EXTENSIONS__ |
| 3999 |
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 4000 |
do |
| 4001 |
CC="$ac_save_CC $ac_arg" |
| 4002 |
rm -f conftest.$ac_objext |
| 4003 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4004 |
(eval $ac_compile) 2>&5 |
| 4005 |
ac_status=$? |
| 4006 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4007 |
(exit $ac_status); } && |
| 4008 |
{ ac_try='test -s conftest.$ac_objext' |
| 4009 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4010 |
(eval $ac_try) 2>&5 |
| 4011 |
ac_status=$? |
| 4012 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4013 |
(exit $ac_status); }; }; then |
| 4014 |
ac_cv_prog_cc_stdc=$ac_arg |
| 4015 |
break |
| 4016 |
else |
| 4017 |
echo "$as_me: failed program was:" >&5 |
| 4018 |
cat conftest.$ac_ext >&5 |
| 4019 |
fi |
| 4020 |
rm -f conftest.$ac_objext |
| 4021 |
done |
| 4022 |
rm -f conftest.$ac_ext conftest.$ac_objext |
| 4023 |
CC=$ac_save_CC |
| 4024 |
|
| 4025 |
fi |
| 4026 |
|
| 4027 |
case "x$ac_cv_prog_cc_stdc" in |
| 4028 |
x|xno) |
| 4029 |
echo "$as_me:$LINENO: result: none needed" >&5 |
| 4030 |
echo "${ECHO_T}none needed" >&6 ;; |
| 4031 |
*) |
| 4032 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
| 4033 |
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
| 4034 |
CC="$CC $ac_cv_prog_cc_stdc" ;; |
| 4035 |
esac |
| 4036 |
|
| 4037 |
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
| 4038 |
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
| 4039 |
if test "${ac_cv_c_const+set}" = set; then |
| 4040 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4041 |
else |
| 4042 |
cat >conftest.$ac_ext <<_ACEOF |
| 4043 |
#line $LINENO "configure" |
| 4044 |
#include "confdefs.h" |
| 4045 |
|
| 4046 |
#ifdef F77_DUMMY_MAIN |
| 4047 |
# ifdef __cplusplus |
| 4048 |
extern "C" |
| 4049 |
# endif |
| 4050 |
int F77_DUMMY_MAIN() { return 1; } |
| 4051 |
#endif |
| 4052 |
int |
| 4053 |
main () |
| 4054 |
{ |
| 4055 |
/* FIXME: Include the comments suggested by Paul. */ |
| 4056 |
#ifndef __cplusplus |
| 4057 |
/* Ultrix mips cc rejects this. */ |
| 4058 |
typedef int charset[2]; |
| 4059 |
const charset x; |
| 4060 |
/* SunOS 4.1.1 cc rejects this. */ |
| 4061 |
char const *const *ccp; |
| 4062 |
char **p; |
| 4063 |
/* NEC SVR4.0.2 mips cc rejects this. */ |
| 4064 |
struct point {int x, y;}; |
| 4065 |
static struct point const zero = {0,0}; |
| 4066 |
/* AIX XL C 1.02.0.0 rejects this. |
| 4067 |
It does not let you subtract one const X* pointer from another in |
| 4068 |
an arm of an if-expression whose if-part is not a constant |
| 4069 |
expression */ |
| 4070 |
const char *g = "string"; |
| 4071 |
ccp = &g + (g ? g-g : 0); |
| 4072 |
/* HPUX 7.0 cc rejects these. */ |
| 4073 |
++ccp; |
| 4074 |
p = (char**) ccp; |
| 4075 |
ccp = (char const *const *) p; |
| 4076 |
{ /* SCO 3.2v4 cc rejects this. */ |
| 4077 |
char *t; |
| 4078 |
char const *s = 0 ? (char *) 0 : (char const *) 0; |
| 4079 |
|
| 4080 |
*t++ = 0; |
| 4081 |
} |
| 4082 |
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
| 4083 |
int x[] = {25, 17}; |
| 4084 |
const int *foo = &x[0]; |
| 4085 |
++foo; |
| 4086 |
} |
| 4087 |
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
| 4088 |
typedef const int *iptr; |
| 4089 |
iptr p = 0; |
| 4090 |
++p; |
| 4091 |
} |
| 4092 |
{ /* AIX XL C 1.02.0.0 rejects this saying |
| 4093 |
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
| 4094 |
struct s { int j; const int *ap[3]; }; |
| 4095 |
struct s *b; b->j = 5; |
| 4096 |
} |
| 4097 |
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
| 4098 |
const int foo = 10; |
| 4099 |
} |
| 4100 |
#endif |
| 4101 |
|
| 4102 |
; |
| 4103 |
return 0; |
| 4104 |
} |
| 4105 |
_ACEOF |
| 4106 |
rm -f conftest.$ac_objext |
| 4107 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4108 |
(eval $ac_compile) 2>&5 |
| 4109 |
ac_status=$? |
| 4110 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4111 |
(exit $ac_status); } && |
| 4112 |
{ ac_try='test -s conftest.$ac_objext' |
| 4113 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4114 |
(eval $ac_try) 2>&5 |
| 4115 |
ac_status=$? |
| 4116 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4117 |
(exit $ac_status); }; }; then |
| 4118 |
ac_cv_c_const=yes |
| 4119 |
else |
| 4120 |
echo "$as_me: failed program was:" >&5 |
| 4121 |
cat conftest.$ac_ext >&5 |
| 4122 |
ac_cv_c_const=no |
| 4123 |
fi |
| 4124 |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 4125 |
fi |
| 4126 |
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
| 4127 |
echo "${ECHO_T}$ac_cv_c_const" >&6 |
| 4128 |
if test $ac_cv_c_const = no; then |
| 4129 |
|
| 4130 |
cat >>confdefs.h <<\_ACEOF |
| 4131 |
#define const |
| 4132 |
_ACEOF |
| 4133 |
|
| 4134 |
fi |
| 4135 |
|
| 4136 |
echo "$as_me:$LINENO: checking for inline" >&5 |
| 4137 |
echo $ECHO_N "checking for inline... $ECHO_C" >&6 |
| 4138 |
if test "${ac_cv_c_inline+set}" = set; then |
| 4139 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4140 |
else |
| 4141 |
ac_cv_c_inline=no |
| 4142 |
for ac_kw in inline __inline__ __inline; do |
| 4143 |
cat >conftest.$ac_ext <<_ACEOF |
| 4144 |
#line $LINENO "configure" |
| 4145 |
#include "confdefs.h" |
| 4146 |
#ifndef __cplusplus |
| 4147 |
static $ac_kw int static_foo () {return 0; } |
| 4148 |
$ac_kw int foo () {return 0; } |
| 4149 |
#endif |
| 4150 |
|
| 4151 |
_ACEOF |
| 4152 |
rm -f conftest.$ac_objext |
| 4153 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4154 |
(eval $ac_compile) 2>&5 |
| 4155 |
ac_status=$? |
| 4156 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4157 |
(exit $ac_status); } && |
| 4158 |
{ ac_try='test -s conftest.$ac_objext' |
| 4159 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4160 |
(eval $ac_try) 2>&5 |
| 4161 |
ac_status=$? |
| 4162 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4163 |
(exit $ac_status); }; }; then |
| 4164 |
ac_cv_c_inline=$ac_kw; break |
| 4165 |
else |
| 4166 |
echo "$as_me: failed program was:" >&5 |
| 4167 |
cat conftest.$ac_ext >&5 |
| 4168 |
fi |
| 4169 |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 4170 |
done |
| 4171 |
|
| 4172 |
fi |
| 4173 |
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
| 4174 |
echo "${ECHO_T}$ac_cv_c_inline" >&6 |
| 4175 |
case $ac_cv_c_inline in |
| 4176 |
inline | yes) ;; |
| 4177 |
no) |
| 4178 |
cat >>confdefs.h <<\_ACEOF |
| 4179 |
#define inline |
| 4180 |
_ACEOF |
| 4181 |
;; |
| 4182 |
*) cat >>confdefs.h <<_ACEOF |
| 4183 |
#define inline $ac_cv_c_inline |
| 4184 |
_ACEOF |
| 4185 |
;; |
| 4186 |
esac |
| 4187 |
|
| 4188 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
| 4189 |
|
| 4190 |
|
| 4191 |
|
| 4192 |
|
| 4193 |
|
| 4194 |
|
| 4195 |
|
| 4196 |
|
| 4197 |
|
| 4198 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
| 4199 |
inttypes.h stdint.h unistd.h |
| 4200 |
do |
| 4201 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 4202 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 4203 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 4204 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 4205 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4206 |
else |
| 4207 |
cat >conftest.$ac_ext <<_ACEOF |
| 4208 |
#line $LINENO "configure" |
| 4209 |
#include "confdefs.h" |
| 4210 |
$ac_includes_default |
| 4211 |
|
4317 |
|
| 4212 |
#include <$ac_header> |
4318 |
#include <$ac_header> |
| 4213 |
_ACEOF |
4319 |
_ACEOF |
|
Lines 4226-5045
Link Here
|
| 4226 |
eval "$as_ac_Header=yes" |
4332 |
eval "$as_ac_Header=yes" |
| 4227 |
else |
4333 |
else |
| 4228 |
echo "$as_me: failed program was:" >&5 |
4334 |
echo "$as_me: failed program was:" >&5 |
| 4229 |
cat conftest.$ac_ext >&5 |
4335 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4230 |
eval "$as_ac_Header=no" |
|
|
| 4231 |
fi |
| 4232 |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 4233 |
fi |
| 4234 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 4235 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 4236 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 4237 |
cat >>confdefs.h <<_ACEOF |
| 4238 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 4239 |
_ACEOF |
| 4240 |
|
| 4241 |
fi |
| 4242 |
|
4336 |
|
| 4243 |
done |
4337 |
eval "$as_ac_Header=no" |
| 4244 |
|
|
|
| 4245 |
|
| 4246 |
echo "$as_me:$LINENO: checking for off_t" >&5 |
| 4247 |
echo $ECHO_N "checking for off_t... $ECHO_C" >&6 |
| 4248 |
if test "${ac_cv_type_off_t+set}" = set; then |
| 4249 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4250 |
else |
| 4251 |
cat >conftest.$ac_ext <<_ACEOF |
| 4252 |
#line $LINENO "configure" |
| 4253 |
#include "confdefs.h" |
| 4254 |
$ac_includes_default |
| 4255 |
#ifdef F77_DUMMY_MAIN |
| 4256 |
# ifdef __cplusplus |
| 4257 |
extern "C" |
| 4258 |
# endif |
| 4259 |
int F77_DUMMY_MAIN() { return 1; } |
| 4260 |
#endif |
| 4261 |
int |
| 4262 |
main () |
| 4263 |
{ |
| 4264 |
if ((off_t *) 0) |
| 4265 |
return 0; |
| 4266 |
if (sizeof (off_t)) |
| 4267 |
return 0; |
| 4268 |
; |
| 4269 |
return 0; |
| 4270 |
} |
| 4271 |
_ACEOF |
| 4272 |
rm -f conftest.$ac_objext |
| 4273 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4274 |
(eval $ac_compile) 2>&5 |
| 4275 |
ac_status=$? |
| 4276 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4277 |
(exit $ac_status); } && |
| 4278 |
{ ac_try='test -s conftest.$ac_objext' |
| 4279 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4280 |
(eval $ac_try) 2>&5 |
| 4281 |
ac_status=$? |
| 4282 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4283 |
(exit $ac_status); }; }; then |
| 4284 |
ac_cv_type_off_t=yes |
| 4285 |
else |
| 4286 |
echo "$as_me: failed program was:" >&5 |
| 4287 |
cat conftest.$ac_ext >&5 |
| 4288 |
ac_cv_type_off_t=no |
| 4289 |
fi |
| 4290 |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 4291 |
fi |
| 4292 |
echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 |
| 4293 |
echo "${ECHO_T}$ac_cv_type_off_t" >&6 |
| 4294 |
if test $ac_cv_type_off_t = yes; then |
| 4295 |
: |
| 4296 |
else |
| 4297 |
|
| 4298 |
cat >>confdefs.h <<_ACEOF |
| 4299 |
#define off_t long |
| 4300 |
_ACEOF |
| 4301 |
|
| 4302 |
fi |
| 4303 |
|
| 4304 |
echo "$as_me:$LINENO: checking for size_t" >&5 |
| 4305 |
echo $ECHO_N "checking for size_t... $ECHO_C" >&6 |
| 4306 |
if test "${ac_cv_type_size_t+set}" = set; then |
| 4307 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4308 |
else |
| 4309 |
cat >conftest.$ac_ext <<_ACEOF |
| 4310 |
#line $LINENO "configure" |
| 4311 |
#include "confdefs.h" |
| 4312 |
$ac_includes_default |
| 4313 |
#ifdef F77_DUMMY_MAIN |
| 4314 |
# ifdef __cplusplus |
| 4315 |
extern "C" |
| 4316 |
# endif |
| 4317 |
int F77_DUMMY_MAIN() { return 1; } |
| 4318 |
#endif |
| 4319 |
int |
| 4320 |
main () |
| 4321 |
{ |
| 4322 |
if ((size_t *) 0) |
| 4323 |
return 0; |
| 4324 |
if (sizeof (size_t)) |
| 4325 |
return 0; |
| 4326 |
; |
| 4327 |
return 0; |
| 4328 |
} |
| 4329 |
_ACEOF |
| 4330 |
rm -f conftest.$ac_objext |
| 4331 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4332 |
(eval $ac_compile) 2>&5 |
| 4333 |
ac_status=$? |
| 4334 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4335 |
(exit $ac_status); } && |
| 4336 |
{ ac_try='test -s conftest.$ac_objext' |
| 4337 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4338 |
(eval $ac_try) 2>&5 |
| 4339 |
ac_status=$? |
| 4340 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4341 |
(exit $ac_status); }; }; then |
| 4342 |
ac_cv_type_size_t=yes |
| 4343 |
else |
| 4344 |
echo "$as_me: failed program was:" >&5 |
| 4345 |
cat conftest.$ac_ext >&5 |
| 4346 |
ac_cv_type_size_t=no |
| 4347 |
fi |
| 4348 |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 4349 |
fi |
| 4350 |
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 |
| 4351 |
echo "${ECHO_T}$ac_cv_type_size_t" >&6 |
| 4352 |
if test $ac_cv_type_size_t = yes; then |
| 4353 |
: |
| 4354 |
else |
| 4355 |
|
| 4356 |
cat >>confdefs.h <<_ACEOF |
| 4357 |
#define size_t unsigned |
| 4358 |
_ACEOF |
| 4359 |
|
| 4360 |
fi |
| 4361 |
|
| 4362 |
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
| 4363 |
# for constant arguments. Useless! |
| 4364 |
echo "$as_me:$LINENO: checking for working alloca.h" >&5 |
| 4365 |
echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 |
| 4366 |
if test "${ac_cv_working_alloca_h+set}" = set; then |
| 4367 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4368 |
else |
| 4369 |
cat >conftest.$ac_ext <<_ACEOF |
| 4370 |
#line $LINENO "configure" |
| 4371 |
#include "confdefs.h" |
| 4372 |
#include <alloca.h> |
| 4373 |
#ifdef F77_DUMMY_MAIN |
| 4374 |
# ifdef __cplusplus |
| 4375 |
extern "C" |
| 4376 |
# endif |
| 4377 |
int F77_DUMMY_MAIN() { return 1; } |
| 4378 |
#endif |
| 4379 |
int |
| 4380 |
main () |
| 4381 |
{ |
| 4382 |
char *p = (char *) alloca (2 * sizeof (int)); |
| 4383 |
; |
| 4384 |
return 0; |
| 4385 |
} |
| 4386 |
_ACEOF |
| 4387 |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 4388 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 4389 |
(eval $ac_link) 2>&5 |
| 4390 |
ac_status=$? |
| 4391 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4392 |
(exit $ac_status); } && |
| 4393 |
{ ac_try='test -s conftest$ac_exeext' |
| 4394 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4395 |
(eval $ac_try) 2>&5 |
| 4396 |
ac_status=$? |
| 4397 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4398 |
(exit $ac_status); }; }; then |
| 4399 |
ac_cv_working_alloca_h=yes |
| 4400 |
else |
| 4401 |
echo "$as_me: failed program was:" >&5 |
| 4402 |
cat conftest.$ac_ext >&5 |
| 4403 |
ac_cv_working_alloca_h=no |
| 4404 |
fi |
| 4405 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 4406 |
fi |
| 4407 |
echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 |
| 4408 |
echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 |
| 4409 |
if test $ac_cv_working_alloca_h = yes; then |
| 4410 |
|
| 4411 |
cat >>confdefs.h <<\_ACEOF |
| 4412 |
#define HAVE_ALLOCA_H 1 |
| 4413 |
_ACEOF |
| 4414 |
|
| 4415 |
fi |
| 4416 |
|
| 4417 |
echo "$as_me:$LINENO: checking for alloca" >&5 |
| 4418 |
echo $ECHO_N "checking for alloca... $ECHO_C" >&6 |
| 4419 |
if test "${ac_cv_func_alloca_works+set}" = set; then |
| 4420 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4421 |
else |
| 4422 |
cat >conftest.$ac_ext <<_ACEOF |
| 4423 |
#line $LINENO "configure" |
| 4424 |
#include "confdefs.h" |
| 4425 |
#ifdef __GNUC__ |
| 4426 |
# define alloca __builtin_alloca |
| 4427 |
#else |
| 4428 |
# ifdef _MSC_VER |
| 4429 |
# include <malloc.h> |
| 4430 |
# define alloca _alloca |
| 4431 |
# else |
| 4432 |
# if HAVE_ALLOCA_H |
| 4433 |
# include <alloca.h> |
| 4434 |
# else |
| 4435 |
# ifdef _AIX |
| 4436 |
#pragma alloca |
| 4437 |
# else |
| 4438 |
# ifndef alloca /* predefined by HP cc +Olibcalls */ |
| 4439 |
char *alloca (); |
| 4440 |
# endif |
| 4441 |
# endif |
| 4442 |
# endif |
| 4443 |
# endif |
| 4444 |
#endif |
| 4445 |
|
| 4446 |
#ifdef F77_DUMMY_MAIN |
| 4447 |
# ifdef __cplusplus |
| 4448 |
extern "C" |
| 4449 |
# endif |
| 4450 |
int F77_DUMMY_MAIN() { return 1; } |
| 4451 |
#endif |
| 4452 |
int |
| 4453 |
main () |
| 4454 |
{ |
| 4455 |
char *p = (char *) alloca (1); |
| 4456 |
; |
| 4457 |
return 0; |
| 4458 |
} |
| 4459 |
_ACEOF |
| 4460 |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 4461 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 4462 |
(eval $ac_link) 2>&5 |
| 4463 |
ac_status=$? |
| 4464 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4465 |
(exit $ac_status); } && |
| 4466 |
{ ac_try='test -s conftest$ac_exeext' |
| 4467 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4468 |
(eval $ac_try) 2>&5 |
| 4469 |
ac_status=$? |
| 4470 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4471 |
(exit $ac_status); }; }; then |
| 4472 |
ac_cv_func_alloca_works=yes |
| 4473 |
else |
| 4474 |
echo "$as_me: failed program was:" >&5 |
| 4475 |
cat conftest.$ac_ext >&5 |
| 4476 |
ac_cv_func_alloca_works=no |
| 4477 |
fi |
| 4478 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 4479 |
fi |
| 4480 |
echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 |
| 4481 |
echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 |
| 4482 |
|
| 4483 |
if test $ac_cv_func_alloca_works = yes; then |
| 4484 |
|
| 4485 |
cat >>confdefs.h <<\_ACEOF |
| 4486 |
#define HAVE_ALLOCA 1 |
| 4487 |
_ACEOF |
| 4488 |
|
| 4489 |
else |
| 4490 |
# The SVR3 libPW and SVR4 libucb both contain incompatible functions |
| 4491 |
# that cause trouble. Some versions do not even contain alloca or |
| 4492 |
# contain a buggy version. If you still want to use their alloca, |
| 4493 |
# use ar to extract alloca.o from them instead of compiling alloca.c. |
| 4494 |
|
| 4495 |
ALLOCA=alloca.$ac_objext |
| 4496 |
|
| 4497 |
cat >>confdefs.h <<\_ACEOF |
| 4498 |
#define C_ALLOCA 1 |
| 4499 |
_ACEOF |
| 4500 |
|
| 4501 |
|
| 4502 |
echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 |
| 4503 |
echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 |
| 4504 |
if test "${ac_cv_os_cray+set}" = set; then |
| 4505 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4506 |
else |
| 4507 |
cat >conftest.$ac_ext <<_ACEOF |
| 4508 |
#line $LINENO "configure" |
| 4509 |
#include "confdefs.h" |
| 4510 |
#if defined(CRAY) && ! defined(CRAY2) |
| 4511 |
webecray |
| 4512 |
#else |
| 4513 |
wenotbecray |
| 4514 |
#endif |
| 4515 |
|
| 4516 |
_ACEOF |
| 4517 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 4518 |
egrep "webecray" >/dev/null 2>&1; then |
| 4519 |
ac_cv_os_cray=yes |
| 4520 |
else |
| 4521 |
ac_cv_os_cray=no |
| 4522 |
fi |
| 4523 |
rm -f conftest* |
| 4524 |
|
| 4525 |
fi |
| 4526 |
echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 |
| 4527 |
echo "${ECHO_T}$ac_cv_os_cray" >&6 |
| 4528 |
if test $ac_cv_os_cray = yes; then |
| 4529 |
for ac_func in _getb67 GETB67 getb67; do |
| 4530 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 4531 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 4532 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 4533 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 4534 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4535 |
else |
| 4536 |
cat >conftest.$ac_ext <<_ACEOF |
| 4537 |
#line $LINENO "configure" |
| 4538 |
#include "confdefs.h" |
| 4539 |
/* System header to define __stub macros and hopefully few prototypes, |
| 4540 |
which can conflict with char $ac_func (); below. */ |
| 4541 |
#include <assert.h> |
| 4542 |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 4543 |
#ifdef __cplusplus |
| 4544 |
extern "C" |
| 4545 |
#endif |
| 4546 |
/* We use char because int might match the return type of a gcc2 |
| 4547 |
builtin and then its argument prototype would still apply. */ |
| 4548 |
char $ac_func (); |
| 4549 |
char (*f) (); |
| 4550 |
|
| 4551 |
#ifdef F77_DUMMY_MAIN |
| 4552 |
# ifdef __cplusplus |
| 4553 |
extern "C" |
| 4554 |
# endif |
| 4555 |
int F77_DUMMY_MAIN() { return 1; } |
| 4556 |
#endif |
| 4557 |
int |
| 4558 |
main () |
| 4559 |
{ |
| 4560 |
/* The GNU C library defines this for functions which it implements |
| 4561 |
to always fail with ENOSYS. Some functions are actually named |
| 4562 |
something starting with __ and the normal name is an alias. */ |
| 4563 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 4564 |
choke me |
| 4565 |
#else |
| 4566 |
f = $ac_func; |
| 4567 |
#endif |
| 4568 |
|
| 4569 |
; |
| 4570 |
return 0; |
| 4571 |
} |
| 4572 |
_ACEOF |
| 4573 |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 4574 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 4575 |
(eval $ac_link) 2>&5 |
| 4576 |
ac_status=$? |
| 4577 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4578 |
(exit $ac_status); } && |
| 4579 |
{ ac_try='test -s conftest$ac_exeext' |
| 4580 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4581 |
(eval $ac_try) 2>&5 |
| 4582 |
ac_status=$? |
| 4583 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4584 |
(exit $ac_status); }; }; then |
| 4585 |
eval "$as_ac_var=yes" |
| 4586 |
else |
| 4587 |
echo "$as_me: failed program was:" >&5 |
| 4588 |
cat conftest.$ac_ext >&5 |
| 4589 |
eval "$as_ac_var=no" |
| 4590 |
fi |
| 4591 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 4592 |
fi |
| 4593 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 4594 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 4595 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 4596 |
|
| 4597 |
cat >>confdefs.h <<_ACEOF |
| 4598 |
#define CRAY_STACKSEG_END $ac_func |
| 4599 |
_ACEOF |
| 4600 |
|
| 4601 |
break |
| 4602 |
fi |
| 4603 |
|
| 4604 |
done |
| 4605 |
fi |
| 4606 |
|
| 4607 |
echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 |
| 4608 |
echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 |
| 4609 |
if test "${ac_cv_c_stack_direction+set}" = set; then |
| 4610 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4611 |
else |
| 4612 |
if test "$cross_compiling" = yes; then |
| 4613 |
ac_cv_c_stack_direction=0 |
| 4614 |
else |
| 4615 |
cat >conftest.$ac_ext <<_ACEOF |
| 4616 |
#line $LINENO "configure" |
| 4617 |
#include "confdefs.h" |
| 4618 |
int |
| 4619 |
find_stack_direction () |
| 4620 |
{ |
| 4621 |
static char *addr = 0; |
| 4622 |
auto char dummy; |
| 4623 |
if (addr == 0) |
| 4624 |
{ |
| 4625 |
addr = &dummy; |
| 4626 |
return find_stack_direction (); |
| 4627 |
} |
| 4628 |
else |
| 4629 |
return (&dummy > addr) ? 1 : -1; |
| 4630 |
} |
| 4631 |
|
| 4632 |
int |
| 4633 |
main () |
| 4634 |
{ |
| 4635 |
exit (find_stack_direction () < 0); |
| 4636 |
} |
| 4637 |
_ACEOF |
| 4638 |
rm -f conftest$ac_exeext |
| 4639 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 4640 |
(eval $ac_link) 2>&5 |
| 4641 |
ac_status=$? |
| 4642 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4643 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 4644 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4645 |
(eval $ac_try) 2>&5 |
| 4646 |
ac_status=$? |
| 4647 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4648 |
(exit $ac_status); }; }; then |
| 4649 |
ac_cv_c_stack_direction=1 |
| 4650 |
else |
| 4651 |
echo "$as_me: program exited with status $ac_status" >&5 |
| 4652 |
echo "$as_me: failed program was:" >&5 |
| 4653 |
cat conftest.$ac_ext >&5 |
| 4654 |
( exit $ac_status ) |
| 4655 |
ac_cv_c_stack_direction=-1 |
| 4656 |
fi |
| 4657 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 4658 |
fi |
| 4659 |
fi |
| 4660 |
echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 |
| 4661 |
echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 |
| 4662 |
|
| 4663 |
cat >>confdefs.h <<_ACEOF |
| 4664 |
#define STACK_DIRECTION $ac_cv_c_stack_direction |
| 4665 |
_ACEOF |
| 4666 |
|
| 4667 |
|
| 4668 |
fi |
| 4669 |
|
| 4670 |
|
| 4671 |
|
| 4672 |
for ac_header in stdlib.h unistd.h |
| 4673 |
do |
| 4674 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 4675 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 4676 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 4677 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 4678 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 4679 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4680 |
fi |
| 4681 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 4682 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 4683 |
else |
| 4684 |
# Is the header compilable? |
| 4685 |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 4686 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 4687 |
cat >conftest.$ac_ext <<_ACEOF |
| 4688 |
#line $LINENO "configure" |
| 4689 |
#include "confdefs.h" |
| 4690 |
$ac_includes_default |
| 4691 |
#include <$ac_header> |
| 4692 |
_ACEOF |
| 4693 |
rm -f conftest.$ac_objext |
| 4694 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4695 |
(eval $ac_compile) 2>&5 |
| 4696 |
ac_status=$? |
| 4697 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4698 |
(exit $ac_status); } && |
| 4699 |
{ ac_try='test -s conftest.$ac_objext' |
| 4700 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4701 |
(eval $ac_try) 2>&5 |
| 4702 |
ac_status=$? |
| 4703 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4704 |
(exit $ac_status); }; }; then |
| 4705 |
ac_header_compiler=yes |
| 4706 |
else |
| 4707 |
echo "$as_me: failed program was:" >&5 |
| 4708 |
cat conftest.$ac_ext >&5 |
| 4709 |
ac_header_compiler=no |
| 4710 |
fi |
| 4711 |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 4712 |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 4713 |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 4714 |
|
| 4715 |
# Is the header present? |
| 4716 |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 4717 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 4718 |
cat >conftest.$ac_ext <<_ACEOF |
| 4719 |
#line $LINENO "configure" |
| 4720 |
#include "confdefs.h" |
| 4721 |
#include <$ac_header> |
| 4722 |
_ACEOF |
| 4723 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 4724 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 4725 |
ac_status=$? |
| 4726 |
egrep -v '^ *\+' conftest.er1 >conftest.err |
| 4727 |
rm -f conftest.er1 |
| 4728 |
cat conftest.err >&5 |
| 4729 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4730 |
(exit $ac_status); } >/dev/null; then |
| 4731 |
if test -s conftest.err; then |
| 4732 |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 4733 |
else |
| 4734 |
ac_cpp_err= |
| 4735 |
fi |
| 4736 |
else |
| 4737 |
ac_cpp_err=yes |
| 4738 |
fi |
| 4739 |
if test -z "$ac_cpp_err"; then |
| 4740 |
ac_header_preproc=yes |
| 4741 |
else |
| 4742 |
echo "$as_me: failed program was:" >&5 |
| 4743 |
cat conftest.$ac_ext >&5 |
| 4744 |
ac_header_preproc=no |
| 4745 |
fi |
| 4746 |
rm -f conftest.err conftest.$ac_ext |
| 4747 |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 4748 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 4749 |
|
| 4750 |
# So? What about this header? |
| 4751 |
case $ac_header_compiler:$ac_header_preproc in |
| 4752 |
yes:no ) |
| 4753 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 4754 |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 4755 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 4756 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; |
| 4757 |
no:yes ) |
| 4758 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 4759 |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 4760 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 4761 |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 4762 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 4763 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; |
| 4764 |
esac |
| 4765 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 4766 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 4767 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 4768 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4769 |
else |
| 4770 |
eval "$as_ac_Header=$ac_header_preproc" |
| 4771 |
fi |
| 4772 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 4773 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 4774 |
|
| 4775 |
fi |
| 4776 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 4777 |
cat >>confdefs.h <<_ACEOF |
| 4778 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 4779 |
_ACEOF |
| 4780 |
|
| 4781 |
fi |
| 4782 |
|
| 4783 |
done |
| 4784 |
|
| 4785 |
|
| 4786 |
for ac_func in getpagesize |
| 4787 |
do |
| 4788 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 4789 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 4790 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 4791 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 4792 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4793 |
else |
| 4794 |
cat >conftest.$ac_ext <<_ACEOF |
| 4795 |
#line $LINENO "configure" |
| 4796 |
#include "confdefs.h" |
| 4797 |
/* System header to define __stub macros and hopefully few prototypes, |
| 4798 |
which can conflict with char $ac_func (); below. */ |
| 4799 |
#include <assert.h> |
| 4800 |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 4801 |
#ifdef __cplusplus |
| 4802 |
extern "C" |
| 4803 |
#endif |
| 4804 |
/* We use char because int might match the return type of a gcc2 |
| 4805 |
builtin and then its argument prototype would still apply. */ |
| 4806 |
char $ac_func (); |
| 4807 |
char (*f) (); |
| 4808 |
|
| 4809 |
#ifdef F77_DUMMY_MAIN |
| 4810 |
# ifdef __cplusplus |
| 4811 |
extern "C" |
| 4812 |
# endif |
| 4813 |
int F77_DUMMY_MAIN() { return 1; } |
| 4814 |
#endif |
| 4815 |
int |
| 4816 |
main () |
| 4817 |
{ |
| 4818 |
/* The GNU C library defines this for functions which it implements |
| 4819 |
to always fail with ENOSYS. Some functions are actually named |
| 4820 |
something starting with __ and the normal name is an alias. */ |
| 4821 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 4822 |
choke me |
| 4823 |
#else |
| 4824 |
f = $ac_func; |
| 4825 |
#endif |
| 4826 |
|
| 4827 |
; |
| 4828 |
return 0; |
| 4829 |
} |
| 4830 |
_ACEOF |
| 4831 |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 4832 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 4833 |
(eval $ac_link) 2>&5 |
| 4834 |
ac_status=$? |
| 4835 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4836 |
(exit $ac_status); } && |
| 4837 |
{ ac_try='test -s conftest$ac_exeext' |
| 4838 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4839 |
(eval $ac_try) 2>&5 |
| 4840 |
ac_status=$? |
| 4841 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4842 |
(exit $ac_status); }; }; then |
| 4843 |
eval "$as_ac_var=yes" |
| 4844 |
else |
| 4845 |
echo "$as_me: failed program was:" >&5 |
| 4846 |
cat conftest.$ac_ext >&5 |
| 4847 |
eval "$as_ac_var=no" |
| 4848 |
fi |
| 4849 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 4850 |
fi |
| 4851 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 4852 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 4853 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 4854 |
cat >>confdefs.h <<_ACEOF |
| 4855 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 4856 |
_ACEOF |
| 4857 |
|
| 4858 |
fi |
| 4859 |
done |
| 4860 |
|
| 4861 |
echo "$as_me:$LINENO: checking for working mmap" >&5 |
| 4862 |
echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 |
| 4863 |
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then |
| 4864 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4865 |
else |
| 4866 |
if test "$cross_compiling" = yes; then |
| 4867 |
ac_cv_func_mmap_fixed_mapped=no |
| 4868 |
else |
| 4869 |
cat >conftest.$ac_ext <<_ACEOF |
| 4870 |
#line $LINENO "configure" |
| 4871 |
#include "confdefs.h" |
| 4872 |
$ac_includes_default |
| 4873 |
/* malloc might have been renamed as rpl_malloc. */ |
| 4874 |
#undef malloc |
| 4875 |
|
| 4876 |
/* Thanks to Mike Haertel and Jim Avera for this test. |
| 4877 |
Here is a matrix of mmap possibilities: |
| 4878 |
mmap private not fixed |
| 4879 |
mmap private fixed at somewhere currently unmapped |
| 4880 |
mmap private fixed at somewhere already mapped |
| 4881 |
mmap shared not fixed |
| 4882 |
mmap shared fixed at somewhere currently unmapped |
| 4883 |
mmap shared fixed at somewhere already mapped |
| 4884 |
For private mappings, we should verify that changes cannot be read() |
| 4885 |
back from the file, nor mmap's back from the file at a different |
| 4886 |
address. (There have been systems where private was not correctly |
| 4887 |
implemented like the infamous i386 svr4.0, and systems where the |
| 4888 |
VM page cache was not coherent with the file system buffer cache |
| 4889 |
like early versions of FreeBSD and possibly contemporary NetBSD.) |
| 4890 |
For shared mappings, we should conversely verify that changes get |
| 4891 |
propagated back to all the places they're supposed to be. |
| 4892 |
|
| 4893 |
Grep wants private fixed already mapped. |
| 4894 |
The main things grep needs to know about mmap are: |
| 4895 |
* does it exist and is it safe to write into the mmap'd area |
| 4896 |
* how to use it (BSD variants) */ |
| 4897 |
|
| 4898 |
#include <fcntl.h> |
| 4899 |
#include <sys/mman.h> |
| 4900 |
|
| 4901 |
#if !STDC_HEADERS && !HAVE_STDLIB_H |
| 4902 |
char *malloc (); |
| 4903 |
#endif |
| 4904 |
|
| 4905 |
/* This mess was copied from the GNU getpagesize.h. */ |
| 4906 |
#if !HAVE_GETPAGESIZE |
| 4907 |
/* Assume that all systems that can run configure have sys/param.h. */ |
| 4908 |
# if !HAVE_SYS_PARAM_H |
| 4909 |
# define HAVE_SYS_PARAM_H 1 |
| 4910 |
# endif |
| 4911 |
|
| 4912 |
# ifdef _SC_PAGESIZE |
| 4913 |
# define getpagesize() sysconf(_SC_PAGESIZE) |
| 4914 |
# else /* no _SC_PAGESIZE */ |
| 4915 |
# if HAVE_SYS_PARAM_H |
| 4916 |
# include <sys/param.h> |
| 4917 |
# ifdef EXEC_PAGESIZE |
| 4918 |
# define getpagesize() EXEC_PAGESIZE |
| 4919 |
# else /* no EXEC_PAGESIZE */ |
| 4920 |
# ifdef NBPG |
| 4921 |
# define getpagesize() NBPG * CLSIZE |
| 4922 |
# ifndef CLSIZE |
| 4923 |
# define CLSIZE 1 |
| 4924 |
# endif /* no CLSIZE */ |
| 4925 |
# else /* no NBPG */ |
| 4926 |
# ifdef NBPC |
| 4927 |
# define getpagesize() NBPC |
| 4928 |
# else /* no NBPC */ |
| 4929 |
# ifdef PAGESIZE |
| 4930 |
# define getpagesize() PAGESIZE |
| 4931 |
# endif /* PAGESIZE */ |
| 4932 |
# endif /* no NBPC */ |
| 4933 |
# endif /* no NBPG */ |
| 4934 |
# endif /* no EXEC_PAGESIZE */ |
| 4935 |
# else /* no HAVE_SYS_PARAM_H */ |
| 4936 |
# define getpagesize() 8192 /* punt totally */ |
| 4937 |
# endif /* no HAVE_SYS_PARAM_H */ |
| 4938 |
# endif /* no _SC_PAGESIZE */ |
| 4939 |
|
| 4940 |
#endif /* no HAVE_GETPAGESIZE */ |
| 4941 |
|
| 4942 |
int |
| 4943 |
main () |
| 4944 |
{ |
| 4945 |
char *data, *data2, *data3; |
| 4946 |
int i, pagesize; |
| 4947 |
int fd; |
| 4948 |
|
| 4949 |
pagesize = getpagesize (); |
| 4950 |
|
| 4951 |
/* First, make a file with some known garbage in it. */ |
| 4952 |
data = (char *) malloc (pagesize); |
| 4953 |
if (!data) |
| 4954 |
exit (1); |
| 4955 |
for (i = 0; i < pagesize; ++i) |
| 4956 |
*(data + i) = rand (); |
| 4957 |
umask (0); |
| 4958 |
fd = creat ("conftest.mmap", 0600); |
| 4959 |
if (fd < 0) |
| 4960 |
exit (1); |
| 4961 |
if (write (fd, data, pagesize) != pagesize) |
| 4962 |
exit (1); |
| 4963 |
close (fd); |
| 4964 |
|
| 4965 |
/* Next, try to mmap the file at a fixed address which already has |
| 4966 |
something else allocated at it. If we can, also make sure that |
| 4967 |
we see the same garbage. */ |
| 4968 |
fd = open ("conftest.mmap", O_RDWR); |
| 4969 |
if (fd < 0) |
| 4970 |
exit (1); |
| 4971 |
data2 = (char *) malloc (2 * pagesize); |
| 4972 |
if (!data2) |
| 4973 |
exit (1); |
| 4974 |
data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); |
| 4975 |
if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, |
| 4976 |
MAP_PRIVATE | MAP_FIXED, fd, 0L)) |
| 4977 |
exit (1); |
| 4978 |
for (i = 0; i < pagesize; ++i) |
| 4979 |
if (*(data + i) != *(data2 + i)) |
| 4980 |
exit (1); |
| 4981 |
|
| 4982 |
/* Finally, make sure that changes to the mapped area do not |
| 4983 |
percolate back to the file as seen by read(). (This is a bug on |
| 4984 |
some variants of i386 svr4.0.) */ |
| 4985 |
for (i = 0; i < pagesize; ++i) |
| 4986 |
*(data2 + i) = *(data2 + i) + 1; |
| 4987 |
data3 = (char *) malloc (pagesize); |
| 4988 |
if (!data3) |
| 4989 |
exit (1); |
| 4990 |
if (read (fd, data3, pagesize) != pagesize) |
| 4991 |
exit (1); |
| 4992 |
for (i = 0; i < pagesize; ++i) |
| 4993 |
if (*(data + i) != *(data3 + i)) |
| 4994 |
exit (1); |
| 4995 |
close (fd); |
| 4996 |
exit (0); |
| 4997 |
} |
| 4998 |
_ACEOF |
| 4999 |
rm -f conftest$ac_exeext |
| 5000 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 5001 |
(eval $ac_link) 2>&5 |
| 5002 |
ac_status=$? |
| 5003 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5004 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 5005 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5006 |
(eval $ac_try) 2>&5 |
| 5007 |
ac_status=$? |
| 5008 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5009 |
(exit $ac_status); }; }; then |
| 5010 |
ac_cv_func_mmap_fixed_mapped=yes |
| 5011 |
else |
| 5012 |
echo "$as_me: program exited with status $ac_status" >&5 |
| 5013 |
echo "$as_me: failed program was:" >&5 |
| 5014 |
cat conftest.$ac_ext >&5 |
| 5015 |
( exit $ac_status ) |
| 5016 |
ac_cv_func_mmap_fixed_mapped=no |
| 5017 |
fi |
| 5018 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 5019 |
fi |
4338 |
fi |
|
|
4339 |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 5020 |
fi |
4340 |
fi |
| 5021 |
echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 |
4341 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 5022 |
echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 |
4342 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 5023 |
if test $ac_cv_func_mmap_fixed_mapped = yes; then |
4343 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 5024 |
|
4344 |
cat >>confdefs.h <<_ACEOF |
| 5025 |
cat >>confdefs.h <<\_ACEOF |
4345 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 5026 |
#define HAVE_MMAP 1 |
|
|
| 5027 |
_ACEOF |
4346 |
_ACEOF |
| 5028 |
|
4347 |
|
| 5029 |
fi |
4348 |
fi |
| 5030 |
rm -f conftest.mmap |
|
|
| 5031 |
|
| 5032 |
|
| 5033 |
|
| 5034 |
|
| 5035 |
|
| 5036 |
|
4349 |
|
|
|
4350 |
done |
| 5037 |
|
4351 |
|
| 5038 |
|
4352 |
|
| 5039 |
|
4353 |
|
| 5040 |
|
4354 |
|
| 5041 |
for ac_header in argz.h limits.h locale.h nl_types.h malloc.h string.h \ |
4355 |
for ac_header in locale.h |
| 5042 |
unistd.h sys/param.h |
|
|
| 5043 |
do |
4356 |
do |
| 5044 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4357 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 5045 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
4358 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
Lines 5056-5062
Link Here
|
| 5056 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
4369 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 5057 |
cat >conftest.$ac_ext <<_ACEOF |
4370 |
cat >conftest.$ac_ext <<_ACEOF |
| 5058 |
#line $LINENO "configure" |
4371 |
#line $LINENO "configure" |
| 5059 |
#include "confdefs.h" |
4372 |
/* confdefs.h. */ |
|
|
4373 |
_ACEOF |
| 4374 |
cat confdefs.h >>conftest.$ac_ext |
| 4375 |
cat >>conftest.$ac_ext <<_ACEOF |
| 4376 |
/* end confdefs.h. */ |
| 5060 |
$ac_includes_default |
4377 |
$ac_includes_default |
| 5061 |
#include <$ac_header> |
4378 |
#include <$ac_header> |
| 5062 |
_ACEOF |
4379 |
_ACEOF |
|
Lines 5075-5081
Link Here
|
| 5075 |
ac_header_compiler=yes |
4392 |
ac_header_compiler=yes |
| 5076 |
else |
4393 |
else |
| 5077 |
echo "$as_me: failed program was:" >&5 |
4394 |
echo "$as_me: failed program was:" >&5 |
| 5078 |
cat conftest.$ac_ext >&5 |
4395 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4396 |
|
| 5079 |
ac_header_compiler=no |
4397 |
ac_header_compiler=no |
| 5080 |
fi |
4398 |
fi |
| 5081 |
rm -f conftest.$ac_objext conftest.$ac_ext |
4399 |
rm -f conftest.$ac_objext conftest.$ac_ext |
|
Lines 5087-5099
Link Here
|
| 5087 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
4405 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 5088 |
cat >conftest.$ac_ext <<_ACEOF |
4406 |
cat >conftest.$ac_ext <<_ACEOF |
| 5089 |
#line $LINENO "configure" |
4407 |
#line $LINENO "configure" |
| 5090 |
#include "confdefs.h" |
4408 |
/* confdefs.h. */ |
|
|
4409 |
_ACEOF |
| 4410 |
cat confdefs.h >>conftest.$ac_ext |
| 4411 |
cat >>conftest.$ac_ext <<_ACEOF |
| 4412 |
/* end confdefs.h. */ |
| 5091 |
#include <$ac_header> |
4413 |
#include <$ac_header> |
| 5092 |
_ACEOF |
4414 |
_ACEOF |
| 5093 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4415 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 5094 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4416 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 5095 |
ac_status=$? |
4417 |
ac_status=$? |
| 5096 |
egrep -v '^ *\+' conftest.er1 >conftest.err |
4418 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5097 |
rm -f conftest.er1 |
4419 |
rm -f conftest.er1 |
| 5098 |
cat conftest.err >&5 |
4420 |
cat conftest.err >&5 |
| 5099 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4421 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
Lines 5110-5116
Link Here
|
| 5110 |
ac_header_preproc=yes |
4432 |
ac_header_preproc=yes |
| 5111 |
else |
4433 |
else |
| 5112 |
echo "$as_me: failed program was:" >&5 |
4434 |
echo "$as_me: failed program was:" >&5 |
| 5113 |
cat conftest.$ac_ext >&5 |
4435 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4436 |
|
| 5114 |
ac_header_preproc=no |
4437 |
ac_header_preproc=no |
| 5115 |
fi |
4438 |
fi |
| 5116 |
rm -f conftest.err conftest.$ac_ext |
4439 |
rm -f conftest.err conftest.$ac_ext |
|
Lines 5123-5136
Link Here
|
| 5123 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
4446 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 5124 |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
4447 |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 5125 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
4448 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 5126 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; |
4449 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
4450 |
( |
| 4451 |
cat <<\_ASBOX |
| 4452 |
## ------------------------------------ ## |
| 4453 |
## Report this to bug-autoconf@gnu.org. ## |
| 4454 |
## ------------------------------------ ## |
| 4455 |
_ASBOX |
| 4456 |
) | |
| 4457 |
sed "s/^/$as_me: WARNING: /" >&2 |
| 4458 |
;; |
| 5127 |
no:yes ) |
4459 |
no:yes ) |
| 5128 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
4460 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 5129 |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
4461 |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 5130 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
4462 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 5131 |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
4463 |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 5132 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
4464 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 5133 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; |
4465 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
4466 |
( |
| 4467 |
cat <<\_ASBOX |
| 4468 |
## ------------------------------------ ## |
| 4469 |
## Report this to bug-autoconf@gnu.org. ## |
| 4470 |
## ------------------------------------ ## |
| 4471 |
_ASBOX |
| 4472 |
) | |
| 4473 |
sed "s/^/$as_me: WARNING: /" >&2 |
| 4474 |
;; |
| 5134 |
esac |
4475 |
esac |
| 5135 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4476 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5136 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
4477 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
Lines 5152-5246
Link Here
|
| 5152 |
|
4493 |
|
| 5153 |
done |
4494 |
done |
| 5154 |
|
4495 |
|
| 5155 |
|
4496 |
if test $ac_cv_header_locale_h = yes; then |
| 5156 |
|
|
|
| 5157 |
|
| 5158 |
|
| 5159 |
|
| 5160 |
|
| 5161 |
|
| 5162 |
|
| 5163 |
|
| 5164 |
|
| 5165 |
|
| 5166 |
for ac_func in getcwd munmap putenv setenv setlocale strchr strcasecmp \ |
| 5167 |
strdup __argz_count __argz_stringify __argz_next |
| 5168 |
do |
| 5169 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 5170 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 5171 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 5172 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 5173 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5174 |
else |
| 5175 |
cat >conftest.$ac_ext <<_ACEOF |
| 5176 |
#line $LINENO "configure" |
| 5177 |
#include "confdefs.h" |
| 5178 |
/* System header to define __stub macros and hopefully few prototypes, |
| 5179 |
which can conflict with char $ac_func (); below. */ |
| 5180 |
#include <assert.h> |
| 5181 |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 5182 |
#ifdef __cplusplus |
| 5183 |
extern "C" |
| 5184 |
#endif |
| 5185 |
/* We use char because int might match the return type of a gcc2 |
| 5186 |
builtin and then its argument prototype would still apply. */ |
| 5187 |
char $ac_func (); |
| 5188 |
char (*f) (); |
| 5189 |
|
| 5190 |
#ifdef F77_DUMMY_MAIN |
| 5191 |
# ifdef __cplusplus |
| 5192 |
extern "C" |
| 5193 |
# endif |
| 5194 |
int F77_DUMMY_MAIN() { return 1; } |
| 5195 |
#endif |
| 5196 |
int |
| 5197 |
main () |
| 5198 |
{ |
| 5199 |
/* The GNU C library defines this for functions which it implements |
| 5200 |
to always fail with ENOSYS. Some functions are actually named |
| 5201 |
something starting with __ and the normal name is an alias. */ |
| 5202 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 5203 |
choke me |
| 5204 |
#else |
| 5205 |
f = $ac_func; |
| 5206 |
#endif |
| 5207 |
|
| 5208 |
; |
| 5209 |
return 0; |
| 5210 |
} |
| 5211 |
_ACEOF |
| 5212 |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 5213 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 5214 |
(eval $ac_link) 2>&5 |
| 5215 |
ac_status=$? |
| 5216 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5217 |
(exit $ac_status); } && |
| 5218 |
{ ac_try='test -s conftest$ac_exeext' |
| 5219 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5220 |
(eval $ac_try) 2>&5 |
| 5221 |
ac_status=$? |
| 5222 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5223 |
(exit $ac_status); }; }; then |
| 5224 |
eval "$as_ac_var=yes" |
| 5225 |
else |
| 5226 |
echo "$as_me: failed program was:" >&5 |
| 5227 |
cat conftest.$ac_ext >&5 |
| 5228 |
eval "$as_ac_var=no" |
| 5229 |
fi |
| 5230 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 5231 |
fi |
| 5232 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 5233 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 5234 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 5235 |
cat >>confdefs.h <<_ACEOF |
| 5236 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 5237 |
_ACEOF |
| 5238 |
|
| 5239 |
fi |
| 5240 |
done |
| 5241 |
|
| 5242 |
|
| 5243 |
if test $ac_cv_header_locale_h = yes; then |
| 5244 |
echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5 |
4497 |
echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5 |
| 5245 |
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6 |
4498 |
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6 |
| 5246 |
if test "${am_cv_val_LC_MESSAGES+set}" = set; then |
4499 |
if test "${am_cv_val_LC_MESSAGES+set}" = set; then |
|
Lines 5248-5261
Link Here
|
| 5248 |
else |
4501 |
else |
| 5249 |
cat >conftest.$ac_ext <<_ACEOF |
4502 |
cat >conftest.$ac_ext <<_ACEOF |
| 5250 |
#line $LINENO "configure" |
4503 |
#line $LINENO "configure" |
| 5251 |
#include "confdefs.h" |
4504 |
/* confdefs.h. */ |
|
|
4505 |
_ACEOF |
| 4506 |
cat confdefs.h >>conftest.$ac_ext |
| 4507 |
cat >>conftest.$ac_ext <<_ACEOF |
| 4508 |
/* end confdefs.h. */ |
| 5252 |
#include <locale.h> |
4509 |
#include <locale.h> |
| 5253 |
#ifdef F77_DUMMY_MAIN |
|
|
| 5254 |
# ifdef __cplusplus |
| 5255 |
extern "C" |
| 5256 |
# endif |
| 5257 |
int F77_DUMMY_MAIN() { return 1; } |
| 5258 |
#endif |
| 5259 |
int |
4510 |
int |
| 5260 |
main () |
4511 |
main () |
| 5261 |
{ |
4512 |
{ |
|
Lines 5279-5285
Link Here
|
| 5279 |
am_cv_val_LC_MESSAGES=yes |
4530 |
am_cv_val_LC_MESSAGES=yes |
| 5280 |
else |
4531 |
else |
| 5281 |
echo "$as_me: failed program was:" >&5 |
4532 |
echo "$as_me: failed program was:" >&5 |
| 5282 |
cat conftest.$ac_ext >&5 |
4533 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4534 |
|
| 5283 |
am_cv_val_LC_MESSAGES=no |
4535 |
am_cv_val_LC_MESSAGES=no |
| 5284 |
fi |
4536 |
fi |
| 5285 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4537 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
|
Lines 5297-5312
Link Here
|
| 5297 |
USE_NLS=yes |
4549 |
USE_NLS=yes |
| 5298 |
|
4550 |
|
| 5299 |
|
4551 |
|
| 5300 |
nls_cv_force_use_gnu_gettext="no" |
4552 |
gt_cv_have_gettext=no |
| 5301 |
|
4553 |
|
| 5302 |
nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" |
4554 |
CATOBJEXT=NONE |
| 5303 |
if test "$nls_cv_force_use_gnu_gettext" != "yes"; then |
4555 |
XGETTEXT=: |
| 5304 |
nls_cv_header_intl= |
4556 |
INTLLIBS= |
| 5305 |
nls_cv_header_libgt= |
|
|
| 5306 |
CATOBJEXT=NONE |
| 5307 |
XGETTEXT=: |
| 5308 |
|
4557 |
|
| 5309 |
if test "${ac_cv_header_libintl_h+set}" = set; then |
4558 |
if test "${ac_cv_header_libintl_h+set}" = set; then |
| 5310 |
echo "$as_me:$LINENO: checking for libintl.h" >&5 |
4559 |
echo "$as_me:$LINENO: checking for libintl.h" >&5 |
| 5311 |
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6 |
4560 |
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6 |
| 5312 |
if test "${ac_cv_header_libintl_h+set}" = set; then |
4561 |
if test "${ac_cv_header_libintl_h+set}" = set; then |
|
Lines 5320-5326
Link Here
|
| 5320 |
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6 |
4569 |
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6 |
| 5321 |
cat >conftest.$ac_ext <<_ACEOF |
4570 |
cat >conftest.$ac_ext <<_ACEOF |
| 5322 |
#line $LINENO "configure" |
4571 |
#line $LINENO "configure" |
| 5323 |
#include "confdefs.h" |
4572 |
/* confdefs.h. */ |
|
|
4573 |
_ACEOF |
| 4574 |
cat confdefs.h >>conftest.$ac_ext |
| 4575 |
cat >>conftest.$ac_ext <<_ACEOF |
| 4576 |
/* end confdefs.h. */ |
| 5324 |
$ac_includes_default |
4577 |
$ac_includes_default |
| 5325 |
#include <libintl.h> |
4578 |
#include <libintl.h> |
| 5326 |
_ACEOF |
4579 |
_ACEOF |
|
Lines 5339-5345
Link Here
|
| 5339 |
ac_header_compiler=yes |
4592 |
ac_header_compiler=yes |
| 5340 |
else |
4593 |
else |
| 5341 |
echo "$as_me: failed program was:" >&5 |
4594 |
echo "$as_me: failed program was:" >&5 |
| 5342 |
cat conftest.$ac_ext >&5 |
4595 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4596 |
|
| 5343 |
ac_header_compiler=no |
4597 |
ac_header_compiler=no |
| 5344 |
fi |
4598 |
fi |
| 5345 |
rm -f conftest.$ac_objext conftest.$ac_ext |
4599 |
rm -f conftest.$ac_objext conftest.$ac_ext |
|
Lines 5351-5363
Link Here
|
| 5351 |
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6 |
4605 |
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6 |
| 5352 |
cat >conftest.$ac_ext <<_ACEOF |
4606 |
cat >conftest.$ac_ext <<_ACEOF |
| 5353 |
#line $LINENO "configure" |
4607 |
#line $LINENO "configure" |
| 5354 |
#include "confdefs.h" |
4608 |
/* confdefs.h. */ |
|
|
4609 |
_ACEOF |
| 4610 |
cat confdefs.h >>conftest.$ac_ext |
| 4611 |
cat >>conftest.$ac_ext <<_ACEOF |
| 4612 |
/* end confdefs.h. */ |
| 5355 |
#include <libintl.h> |
4613 |
#include <libintl.h> |
| 5356 |
_ACEOF |
4614 |
_ACEOF |
| 5357 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4615 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 5358 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4616 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 5359 |
ac_status=$? |
4617 |
ac_status=$? |
| 5360 |
egrep -v '^ *\+' conftest.er1 >conftest.err |
4618 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5361 |
rm -f conftest.er1 |
4619 |
rm -f conftest.er1 |
| 5362 |
cat conftest.err >&5 |
4620 |
cat conftest.err >&5 |
| 5363 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4621 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
Lines 5374-5380
Link Here
|
| 5374 |
ac_header_preproc=yes |
4632 |
ac_header_preproc=yes |
| 5375 |
else |
4633 |
else |
| 5376 |
echo "$as_me: failed program was:" >&5 |
4634 |
echo "$as_me: failed program was:" >&5 |
| 5377 |
cat conftest.$ac_ext >&5 |
4635 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4636 |
|
| 5378 |
ac_header_preproc=no |
4637 |
ac_header_preproc=no |
| 5379 |
fi |
4638 |
fi |
| 5380 |
rm -f conftest.err conftest.$ac_ext |
4639 |
rm -f conftest.err conftest.$ac_ext |
|
Lines 5387-5400
Link Here
|
| 5387 |
{ echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
4646 |
{ echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 5388 |
echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
4647 |
echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 5389 |
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5 |
4648 |
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5 |
| 5390 |
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};; |
4649 |
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;} |
|
|
4650 |
( |
| 4651 |
cat <<\_ASBOX |
| 4652 |
## ------------------------------------ ## |
| 4653 |
## Report this to bug-autoconf@gnu.org. ## |
| 4654 |
## ------------------------------------ ## |
| 4655 |
_ASBOX |
| 4656 |
) | |
| 4657 |
sed "s/^/$as_me: WARNING: /" >&2 |
| 4658 |
;; |
| 5391 |
no:yes ) |
4659 |
no:yes ) |
| 5392 |
{ echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5 |
4660 |
{ echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5 |
| 5393 |
echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;} |
4661 |
echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;} |
| 5394 |
{ echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5 |
4662 |
{ echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5 |
| 5395 |
echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;} |
4663 |
echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;} |
| 5396 |
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5 |
4664 |
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5 |
| 5397 |
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};; |
4665 |
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;} |
|
|
4666 |
( |
| 4667 |
cat <<\_ASBOX |
| 4668 |
## ------------------------------------ ## |
| 4669 |
## Report this to bug-autoconf@gnu.org. ## |
| 4670 |
## ------------------------------------ ## |
| 4671 |
_ASBOX |
| 4672 |
) | |
| 4673 |
sed "s/^/$as_me: WARNING: /" >&2 |
| 4674 |
;; |
| 5398 |
esac |
4675 |
esac |
| 5399 |
echo "$as_me:$LINENO: checking for libintl.h" >&5 |
4676 |
echo "$as_me:$LINENO: checking for libintl.h" >&5 |
| 5400 |
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6 |
4677 |
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6 |
|
Lines 5408-5428
Link Here
|
| 5408 |
|
4685 |
|
| 5409 |
fi |
4686 |
fi |
| 5410 |
if test $ac_cv_header_libintl_h = yes; then |
4687 |
if test $ac_cv_header_libintl_h = yes; then |
| 5411 |
echo "$as_me:$LINENO: checking for dgettext in libc" >&5 |
4688 |
gt_cv_func_dgettext_libintl="no" |
|
|
4689 |
libintl_extra_libs="" |
| 4690 |
|
| 4691 |
# |
| 4692 |
# First check in libc |
| 4693 |
# |
| 4694 |
echo "$as_me:$LINENO: checking for dgettext in libc" >&5 |
| 5412 |
echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6 |
4695 |
echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6 |
| 5413 |
if test "${gt_cv_func_dgettext_libc+set}" = set; then |
4696 |
if test "${gt_cv_func_dgettext_libc+set}" = set; then |
| 5414 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4697 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5415 |
else |
4698 |
else |
| 5416 |
cat >conftest.$ac_ext <<_ACEOF |
4699 |
cat >conftest.$ac_ext <<_ACEOF |
| 5417 |
#line $LINENO "configure" |
4700 |
#line $LINENO "configure" |
| 5418 |
#include "confdefs.h" |
4701 |
/* confdefs.h. */ |
|
|
4702 |
_ACEOF |
| 4703 |
cat confdefs.h >>conftest.$ac_ext |
| 4704 |
cat >>conftest.$ac_ext <<_ACEOF |
| 4705 |
/* end confdefs.h. */ |
| 4706 |
|
| 5419 |
#include <libintl.h> |
4707 |
#include <libintl.h> |
| 5420 |
#ifdef F77_DUMMY_MAIN |
4708 |
|
| 5421 |
# ifdef __cplusplus |
|
|
| 5422 |
extern "C" |
| 5423 |
# endif |
| 5424 |
int F77_DUMMY_MAIN() { return 1; } |
| 5425 |
#endif |
| 5426 |
int |
4709 |
int |
| 5427 |
main () |
4710 |
main () |
| 5428 |
{ |
4711 |
{ |
|
Lines 5446-5464
Link Here
|
| 5446 |
gt_cv_func_dgettext_libc=yes |
4729 |
gt_cv_func_dgettext_libc=yes |
| 5447 |
else |
4730 |
else |
| 5448 |
echo "$as_me: failed program was:" >&5 |
4731 |
echo "$as_me: failed program was:" >&5 |
| 5449 |
cat conftest.$ac_ext >&5 |
4732 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4733 |
|
| 5450 |
gt_cv_func_dgettext_libc=no |
4734 |
gt_cv_func_dgettext_libc=no |
| 5451 |
fi |
4735 |
fi |
| 5452 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4736 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
|
|
4737 |
|
| 5453 |
fi |
4738 |
fi |
| 5454 |
echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5 |
4739 |
echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5 |
| 5455 |
echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6 |
4740 |
echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6 |
| 5456 |
|
4741 |
|
| 5457 |
gt_cv_func_dgettext_libintl="no" |
4742 |
if test "$gt_cv_func_dgettext_libc" = "yes" ; then |
| 5458 |
libintl_extra_libs="" |
4743 |
|
|
|
4744 |
for ac_func in bind_textdomain_codeset |
| 4745 |
do |
| 4746 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 4747 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 4748 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 4749 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 4750 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4751 |
else |
| 4752 |
cat >conftest.$ac_ext <<_ACEOF |
| 4753 |
#line $LINENO "configure" |
| 4754 |
/* confdefs.h. */ |
| 4755 |
_ACEOF |
| 4756 |
cat confdefs.h >>conftest.$ac_ext |
| 4757 |
cat >>conftest.$ac_ext <<_ACEOF |
| 4758 |
/* end confdefs.h. */ |
| 4759 |
/* System header to define __stub macros and hopefully few prototypes, |
| 4760 |
which can conflict with char $ac_func (); below. |
| 4761 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 4762 |
<limits.h> exists even on freestanding compilers. */ |
| 4763 |
#ifdef __STDC__ |
| 4764 |
# include <limits.h> |
| 4765 |
#else |
| 4766 |
# include <assert.h> |
| 4767 |
#endif |
| 4768 |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 4769 |
#ifdef __cplusplus |
| 4770 |
extern "C" |
| 4771 |
{ |
| 4772 |
#endif |
| 4773 |
/* We use char because int might match the return type of a gcc2 |
| 4774 |
builtin and then its argument prototype would still apply. */ |
| 4775 |
char $ac_func (); |
| 4776 |
/* The GNU C library defines this for functions which it implements |
| 4777 |
to always fail with ENOSYS. Some functions are actually named |
| 4778 |
something starting with __ and the normal name is an alias. */ |
| 4779 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 4780 |
choke me |
| 4781 |
#else |
| 4782 |
char (*f) () = $ac_func; |
| 4783 |
#endif |
| 4784 |
#ifdef __cplusplus |
| 4785 |
} |
| 4786 |
#endif |
| 4787 |
|
| 4788 |
int |
| 4789 |
main () |
| 4790 |
{ |
| 4791 |
return f != $ac_func; |
| 4792 |
; |
| 4793 |
return 0; |
| 4794 |
} |
| 4795 |
_ACEOF |
| 4796 |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 4797 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 4798 |
(eval $ac_link) 2>&5 |
| 4799 |
ac_status=$? |
| 4800 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4801 |
(exit $ac_status); } && |
| 4802 |
{ ac_try='test -s conftest$ac_exeext' |
| 4803 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4804 |
(eval $ac_try) 2>&5 |
| 4805 |
ac_status=$? |
| 4806 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4807 |
(exit $ac_status); }; }; then |
| 4808 |
eval "$as_ac_var=yes" |
| 4809 |
else |
| 4810 |
echo "$as_me: failed program was:" >&5 |
| 4811 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4812 |
|
| 4813 |
eval "$as_ac_var=no" |
| 4814 |
fi |
| 4815 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 4816 |
fi |
| 4817 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 4818 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 4819 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 4820 |
cat >>confdefs.h <<_ACEOF |
| 4821 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 4822 |
_ACEOF |
| 4823 |
|
| 4824 |
fi |
| 4825 |
done |
| 4826 |
|
| 4827 |
fi |
| 4828 |
|
| 4829 |
# |
| 4830 |
# If we don't have everything we want, check in libintl |
| 4831 |
# |
| 4832 |
if test "$gt_cv_func_dgettext_libc" != "yes" \ |
| 4833 |
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then |
| 5459 |
|
4834 |
|
| 5460 |
if test "$gt_cv_func_dgettext_libc" != "yes" ; then |
4835 |
echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5 |
| 5461 |
echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5 |
|
|
| 5462 |
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6 |
4836 |
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6 |
| 5463 |
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then |
4837 |
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then |
| 5464 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4838 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
Lines 5467-5473
Link Here
|
| 5467 |
LIBS="-lintl $LIBS" |
4841 |
LIBS="-lintl $LIBS" |
| 5468 |
cat >conftest.$ac_ext <<_ACEOF |
4842 |
cat >conftest.$ac_ext <<_ACEOF |
| 5469 |
#line $LINENO "configure" |
4843 |
#line $LINENO "configure" |
| 5470 |
#include "confdefs.h" |
4844 |
/* confdefs.h. */ |
|
|
4845 |
_ACEOF |
| 4846 |
cat confdefs.h >>conftest.$ac_ext |
| 4847 |
cat >>conftest.$ac_ext <<_ACEOF |
| 4848 |
/* end confdefs.h. */ |
| 5471 |
|
4849 |
|
| 5472 |
/* Override any gcc2 internal prototype to avoid an error. */ |
4850 |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 5473 |
#ifdef __cplusplus |
4851 |
#ifdef __cplusplus |
|
Lines 5476-5487
Link Here
|
| 5476 |
/* We use char because int might match the return type of a gcc2 |
4854 |
/* We use char because int might match the return type of a gcc2 |
| 5477 |
builtin and then its argument prototype would still apply. */ |
4855 |
builtin and then its argument prototype would still apply. */ |
| 5478 |
char bindtextdomain (); |
4856 |
char bindtextdomain (); |
| 5479 |
#ifdef F77_DUMMY_MAIN |
|
|
| 5480 |
# ifdef __cplusplus |
| 5481 |
extern "C" |
| 5482 |
# endif |
| 5483 |
int F77_DUMMY_MAIN() { return 1; } |
| 5484 |
#endif |
| 5485 |
int |
4857 |
int |
| 5486 |
main () |
4858 |
main () |
| 5487 |
{ |
4859 |
{ |
|
Lines 5505-5511
Link Here
|
| 5505 |
ac_cv_lib_intl_bindtextdomain=yes |
4877 |
ac_cv_lib_intl_bindtextdomain=yes |
| 5506 |
else |
4878 |
else |
| 5507 |
echo "$as_me: failed program was:" >&5 |
4879 |
echo "$as_me: failed program was:" >&5 |
| 5508 |
cat conftest.$ac_ext >&5 |
4880 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4881 |
|
| 5509 |
ac_cv_lib_intl_bindtextdomain=no |
4882 |
ac_cv_lib_intl_bindtextdomain=no |
| 5510 |
fi |
4883 |
fi |
| 5511 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4884 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
|
Lines 5523-5529
Link Here
|
| 5523 |
LIBS="-lintl $LIBS" |
4896 |
LIBS="-lintl $LIBS" |
| 5524 |
cat >conftest.$ac_ext <<_ACEOF |
4897 |
cat >conftest.$ac_ext <<_ACEOF |
| 5525 |
#line $LINENO "configure" |
4898 |
#line $LINENO "configure" |
| 5526 |
#include "confdefs.h" |
4899 |
/* confdefs.h. */ |
|
|
4900 |
_ACEOF |
| 4901 |
cat confdefs.h >>conftest.$ac_ext |
| 4902 |
cat >>conftest.$ac_ext <<_ACEOF |
| 4903 |
/* end confdefs.h. */ |
| 5527 |
|
4904 |
|
| 5528 |
/* Override any gcc2 internal prototype to avoid an error. */ |
4905 |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 5529 |
#ifdef __cplusplus |
4906 |
#ifdef __cplusplus |
|
Lines 5532-5543
Link Here
|
| 5532 |
/* We use char because int might match the return type of a gcc2 |
4909 |
/* We use char because int might match the return type of a gcc2 |
| 5533 |
builtin and then its argument prototype would still apply. */ |
4910 |
builtin and then its argument prototype would still apply. */ |
| 5534 |
char dgettext (); |
4911 |
char dgettext (); |
| 5535 |
#ifdef F77_DUMMY_MAIN |
|
|
| 5536 |
# ifdef __cplusplus |
| 5537 |
extern "C" |
| 5538 |
# endif |
| 5539 |
int F77_DUMMY_MAIN() { return 1; } |
| 5540 |
#endif |
| 5541 |
int |
4912 |
int |
| 5542 |
main () |
4913 |
main () |
| 5543 |
{ |
4914 |
{ |
|
Lines 5561-5567
Link Here
|
| 5561 |
ac_cv_lib_intl_dgettext=yes |
4932 |
ac_cv_lib_intl_dgettext=yes |
| 5562 |
else |
4933 |
else |
| 5563 |
echo "$as_me: failed program was:" >&5 |
4934 |
echo "$as_me: failed program was:" >&5 |
| 5564 |
cat conftest.$ac_ext >&5 |
4935 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4936 |
|
| 5565 |
ac_cv_lib_intl_dgettext=no |
4937 |
ac_cv_lib_intl_dgettext=no |
| 5566 |
fi |
4938 |
fi |
| 5567 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4939 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
|
Lines 5576-5587
Link Here
|
| 5576 |
fi |
4948 |
fi |
| 5577 |
|
4949 |
|
| 5578 |
|
4950 |
|
| 5579 |
if test "$gt_cv_func_dgettext_libc" != "yes" ; then |
4951 |
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then |
| 5580 |
echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5 |
4952 |
echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5 |
| 5581 |
echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6 |
4953 |
echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6 |
| 5582 |
echo "$as_me:$LINENO: result: " >&5 |
4954 |
echo "$as_me:$LINENO: result: " >&5 |
| 5583 |
echo "${ECHO_T}" >&6 |
4955 |
echo "${ECHO_T}" >&6 |
| 5584 |
echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5 |
4956 |
echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5 |
| 5585 |
echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6 |
4957 |
echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6 |
| 5586 |
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then |
4958 |
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then |
| 5587 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4959 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
Lines 5590-5614
Link Here
|
| 5590 |
LIBS="-lintl -liconv $LIBS" |
4962 |
LIBS="-lintl -liconv $LIBS" |
| 5591 |
cat >conftest.$ac_ext <<_ACEOF |
4963 |
cat >conftest.$ac_ext <<_ACEOF |
| 5592 |
#line $LINENO "configure" |
4964 |
#line $LINENO "configure" |
| 5593 |
#include "confdefs.h" |
4965 |
/* confdefs.h. */ |
|
|
4966 |
_ACEOF |
| 4967 |
cat confdefs.h >>conftest.$ac_ext |
| 4968 |
cat >>conftest.$ac_ext <<_ACEOF |
| 4969 |
/* end confdefs.h. */ |
| 4970 |
|
| 4971 |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 4972 |
#ifdef __cplusplus |
| 4973 |
extern "C" |
| 4974 |
#endif |
| 4975 |
/* We use char because int might match the return type of a gcc2 |
| 4976 |
builtin and then its argument prototype would still apply. */ |
| 4977 |
char dcgettext (); |
| 4978 |
int |
| 4979 |
main () |
| 4980 |
{ |
| 4981 |
dcgettext (); |
| 4982 |
; |
| 4983 |
return 0; |
| 4984 |
} |
| 4985 |
_ACEOF |
| 4986 |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 4987 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 4988 |
(eval $ac_link) 2>&5 |
| 4989 |
ac_status=$? |
| 4990 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4991 |
(exit $ac_status); } && |
| 4992 |
{ ac_try='test -s conftest$ac_exeext' |
| 4993 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4994 |
(eval $ac_try) 2>&5 |
| 4995 |
ac_status=$? |
| 4996 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4997 |
(exit $ac_status); }; }; then |
| 4998 |
ac_cv_lib_intl_dcgettext=yes |
| 4999 |
else |
| 5000 |
echo "$as_me: failed program was:" >&5 |
| 5001 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5002 |
|
| 5003 |
ac_cv_lib_intl_dcgettext=no |
| 5004 |
fi |
| 5005 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 5006 |
LIBS=$ac_check_lib_save_LIBS |
| 5007 |
fi |
| 5008 |
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5 |
| 5009 |
echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6 |
| 5010 |
if test $ac_cv_lib_intl_dcgettext = yes; then |
| 5011 |
gt_cv_func_dgettext_libintl=yes |
| 5012 |
libintl_extra_libs=-liconv |
| 5013 |
else |
| 5014 |
: |
| 5015 |
fi |
| 5016 |
|
| 5017 |
fi |
| 5018 |
|
| 5019 |
# |
| 5020 |
# If we found libintl, then check in it for bind_textdomain_codeset(); |
| 5021 |
# we'll prefer libc if neither have bind_textdomain_codeset(), |
| 5022 |
# and both have dgettext |
| 5023 |
# |
| 5024 |
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then |
| 5025 |
glib_save_LIBS="$LIBS" |
| 5026 |
LIBS="$LIBS -lintl $libintl_extra_libs" |
| 5027 |
unset ac_cv_func_bind_textdomain_codeset |
| 5594 |
|
5028 |
|
|
|
5029 |
for ac_func in bind_textdomain_codeset |
| 5030 |
do |
| 5031 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 5032 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 5033 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 5034 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 5035 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5036 |
else |
| 5037 |
cat >conftest.$ac_ext <<_ACEOF |
| 5038 |
#line $LINENO "configure" |
| 5039 |
/* confdefs.h. */ |
| 5040 |
_ACEOF |
| 5041 |
cat confdefs.h >>conftest.$ac_ext |
| 5042 |
cat >>conftest.$ac_ext <<_ACEOF |
| 5043 |
/* end confdefs.h. */ |
| 5044 |
/* System header to define __stub macros and hopefully few prototypes, |
| 5045 |
which can conflict with char $ac_func (); below. |
| 5046 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 5047 |
<limits.h> exists even on freestanding compilers. */ |
| 5048 |
#ifdef __STDC__ |
| 5049 |
# include <limits.h> |
| 5050 |
#else |
| 5051 |
# include <assert.h> |
| 5052 |
#endif |
| 5595 |
/* Override any gcc2 internal prototype to avoid an error. */ |
5053 |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 5596 |
#ifdef __cplusplus |
5054 |
#ifdef __cplusplus |
| 5597 |
extern "C" |
5055 |
extern "C" |
|
|
5056 |
{ |
| 5598 |
#endif |
5057 |
#endif |
| 5599 |
/* We use char because int might match the return type of a gcc2 |
5058 |
/* We use char because int might match the return type of a gcc2 |
| 5600 |
builtin and then its argument prototype would still apply. */ |
5059 |
builtin and then its argument prototype would still apply. */ |
| 5601 |
char dcgettext (); |
5060 |
char $ac_func (); |
| 5602 |
#ifdef F77_DUMMY_MAIN |
5061 |
/* The GNU C library defines this for functions which it implements |
| 5603 |
# ifdef __cplusplus |
5062 |
to always fail with ENOSYS. Some functions are actually named |
| 5604 |
extern "C" |
5063 |
something starting with __ and the normal name is an alias. */ |
| 5605 |
# endif |
5064 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 5606 |
int F77_DUMMY_MAIN() { return 1; } |
5065 |
choke me |
|
|
5066 |
#else |
| 5067 |
char (*f) () = $ac_func; |
| 5607 |
#endif |
5068 |
#endif |
|
|
5069 |
#ifdef __cplusplus |
| 5070 |
} |
| 5071 |
#endif |
| 5072 |
|
| 5608 |
int |
5073 |
int |
| 5609 |
main () |
5074 |
main () |
| 5610 |
{ |
5075 |
{ |
| 5611 |
dcgettext (); |
5076 |
return f != $ac_func; |
| 5612 |
; |
5077 |
; |
| 5613 |
return 0; |
5078 |
return 0; |
| 5614 |
} |
5079 |
} |
|
Lines 5625-5663
Link Here
|
| 5625 |
ac_status=$? |
5090 |
ac_status=$? |
| 5626 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5091 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5627 |
(exit $ac_status); }; }; then |
5092 |
(exit $ac_status); }; }; then |
| 5628 |
ac_cv_lib_intl_dcgettext=yes |
5093 |
eval "$as_ac_var=yes" |
| 5629 |
else |
5094 |
else |
| 5630 |
echo "$as_me: failed program was:" >&5 |
5095 |
echo "$as_me: failed program was:" >&5 |
| 5631 |
cat conftest.$ac_ext >&5 |
5096 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5632 |
ac_cv_lib_intl_dcgettext=no |
5097 |
|
|
|
5098 |
eval "$as_ac_var=no" |
| 5633 |
fi |
5099 |
fi |
| 5634 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5100 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 5635 |
LIBS=$ac_check_lib_save_LIBS |
|
|
| 5636 |
fi |
5101 |
fi |
| 5637 |
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5 |
5102 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 5638 |
echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6 |
5103 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 5639 |
if test $ac_cv_lib_intl_dcgettext = yes; then |
5104 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 5640 |
gt_cv_func_dgettext_libintl=yes |
5105 |
cat >>confdefs.h <<_ACEOF |
| 5641 |
libintl_extra_libs=-liconv |
5106 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 5642 |
else |
5107 |
_ACEOF |
| 5643 |
: |
5108 |
|
| 5644 |
fi |
5109 |
fi |
|
|
5110 |
done |
| 5111 |
|
| 5112 |
LIBS="$glib_save_LIBS" |
| 5645 |
|
5113 |
|
|
|
5114 |
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then |
| 5115 |
gt_cv_func_dgettext_libc=no |
| 5116 |
else |
| 5117 |
if test "$gt_cv_func_dgettext_libc" = "yes"; then |
| 5118 |
gt_cv_func_dgettext_libintl=no |
| 5646 |
fi |
5119 |
fi |
| 5647 |
fi |
5120 |
fi |
|
|
5121 |
fi |
| 5122 |
fi |
| 5648 |
|
5123 |
|
| 5649 |
if test "$gt_cv_func_dgettext_libintl" = "yes"; then |
5124 |
if test "$gt_cv_func_dgettext_libc" = "yes" \ |
| 5650 |
LIBS="$LIBS -lintl $libintl_extra_libs"; |
5125 |
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then |
| 5651 |
fi |
5126 |
gt_cv_have_gettext=yes |
|
|
5127 |
fi |
| 5128 |
|
| 5129 |
if test "$gt_cv_func_dgettext_libintl" = "yes"; then |
| 5130 |
INTLLIBS="-lintl $libintl_extra_libs" |
| 5131 |
fi |
| 5652 |
|
5132 |
|
| 5653 |
if test "$gt_cv_func_dgettext_libc" = "yes" \ |
5133 |
if test "$gt_cv_have_gettext" = "yes"; then |
| 5654 |
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then |
|
|
| 5655 |
|
5134 |
|
| 5656 |
cat >>confdefs.h <<\_ACEOF |
5135 |
cat >>confdefs.h <<\_ACEOF |
| 5657 |
#define HAVE_GETTEXT 1 |
5136 |
#define HAVE_GETTEXT 1 |
| 5658 |
_ACEOF |
5137 |
_ACEOF |
| 5659 |
|
5138 |
|
| 5660 |
# Extract the first word of "msgfmt", so it can be a program name with args. |
5139 |
# Extract the first word of "msgfmt", so it can be a program name with args. |
| 5661 |
set dummy msgfmt; ac_word=$2 |
5140 |
set dummy msgfmt; ac_word=$2 |
| 5662 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5141 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5663 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5142 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
Lines 5692-5698
Link Here
|
| 5692 |
echo "$as_me:$LINENO: result: no" >&5 |
5171 |
echo "$as_me:$LINENO: result: no" >&5 |
| 5693 |
echo "${ECHO_T}no" >&6 |
5172 |
echo "${ECHO_T}no" >&6 |
| 5694 |
fi |
5173 |
fi |
| 5695 |
if test "$MSGFMT" != "no"; then |
5174 |
if test "$MSGFMT" != "no"; then |
| 5696 |
|
5175 |
|
| 5697 |
for ac_func in dcgettext |
5176 |
for ac_func in dcgettext |
| 5698 |
do |
5177 |
do |
|
Lines 5704-5740
Link Here
|
| 5704 |
else |
5183 |
else |
| 5705 |
cat >conftest.$ac_ext <<_ACEOF |
5184 |
cat >conftest.$ac_ext <<_ACEOF |
| 5706 |
#line $LINENO "configure" |
5185 |
#line $LINENO "configure" |
| 5707 |
#include "confdefs.h" |
5186 |
/* confdefs.h. */ |
|
|
5187 |
_ACEOF |
| 5188 |
cat confdefs.h >>conftest.$ac_ext |
| 5189 |
cat >>conftest.$ac_ext <<_ACEOF |
| 5190 |
/* end confdefs.h. */ |
| 5708 |
/* System header to define __stub macros and hopefully few prototypes, |
5191 |
/* System header to define __stub macros and hopefully few prototypes, |
| 5709 |
which can conflict with char $ac_func (); below. */ |
5192 |
which can conflict with char $ac_func (); below. |
| 5710 |
#include <assert.h> |
5193 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5194 |
<limits.h> exists even on freestanding compilers. */ |
| 5195 |
#ifdef __STDC__ |
| 5196 |
# include <limits.h> |
| 5197 |
#else |
| 5198 |
# include <assert.h> |
| 5199 |
#endif |
| 5711 |
/* Override any gcc2 internal prototype to avoid an error. */ |
5200 |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 5712 |
#ifdef __cplusplus |
5201 |
#ifdef __cplusplus |
| 5713 |
extern "C" |
5202 |
extern "C" |
|
|
5203 |
{ |
| 5714 |
#endif |
5204 |
#endif |
| 5715 |
/* We use char because int might match the return type of a gcc2 |
5205 |
/* We use char because int might match the return type of a gcc2 |
| 5716 |
builtin and then its argument prototype would still apply. */ |
5206 |
builtin and then its argument prototype would still apply. */ |
| 5717 |
char $ac_func (); |
5207 |
char $ac_func (); |
| 5718 |
char (*f) (); |
|
|
| 5719 |
|
| 5720 |
#ifdef F77_DUMMY_MAIN |
| 5721 |
# ifdef __cplusplus |
| 5722 |
extern "C" |
| 5723 |
# endif |
| 5724 |
int F77_DUMMY_MAIN() { return 1; } |
| 5725 |
#endif |
| 5726 |
int |
| 5727 |
main () |
| 5728 |
{ |
| 5729 |
/* The GNU C library defines this for functions which it implements |
5208 |
/* The GNU C library defines this for functions which it implements |
| 5730 |
to always fail with ENOSYS. Some functions are actually named |
5209 |
to always fail with ENOSYS. Some functions are actually named |
| 5731 |
something starting with __ and the normal name is an alias. */ |
5210 |
something starting with __ and the normal name is an alias. */ |
| 5732 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
5211 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 5733 |
choke me |
5212 |
choke me |
| 5734 |
#else |
5213 |
#else |
| 5735 |
f = $ac_func; |
5214 |
char (*f) () = $ac_func; |
|
|
5215 |
#endif |
| 5216 |
#ifdef __cplusplus |
| 5217 |
} |
| 5736 |
#endif |
5218 |
#endif |
| 5737 |
|
5219 |
|
|
|
5220 |
int |
| 5221 |
main () |
| 5222 |
{ |
| 5223 |
return f != $ac_func; |
| 5738 |
; |
5224 |
; |
| 5739 |
return 0; |
5225 |
return 0; |
| 5740 |
} |
5226 |
} |
|
Lines 5754-5760
Link Here
|
| 5754 |
eval "$as_ac_var=yes" |
5240 |
eval "$as_ac_var=yes" |
| 5755 |
else |
5241 |
else |
| 5756 |
echo "$as_me: failed program was:" >&5 |
5242 |
echo "$as_me: failed program was:" >&5 |
| 5757 |
cat conftest.$ac_ext >&5 |
5243 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5244 |
|
| 5758 |
eval "$as_ac_var=no" |
5245 |
eval "$as_ac_var=no" |
| 5759 |
fi |
5246 |
fi |
| 5760 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5247 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
|
Lines 5769-5775
Link Here
|
| 5769 |
fi |
5256 |
fi |
| 5770 |
done |
5257 |
done |
| 5771 |
|
5258 |
|
| 5772 |
# Extract the first word of "gmsgfmt", so it can be a program name with args. |
5259 |
# Extract the first word of "gmsgfmt", so it can be a program name with args. |
| 5773 |
set dummy gmsgfmt; ac_word=$2 |
5260 |
set dummy gmsgfmt; ac_word=$2 |
| 5774 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5261 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5775 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5262 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
Lines 5809-5815
Link Here
|
| 5809 |
echo "${ECHO_T}no" >&6 |
5296 |
echo "${ECHO_T}no" >&6 |
| 5810 |
fi |
5297 |
fi |
| 5811 |
|
5298 |
|
| 5812 |
# Extract the first word of "xgettext", so it can be a program name with args. |
5299 |
# Extract the first word of "xgettext", so it can be a program name with args. |
| 5813 |
set dummy xgettext; ac_word=$2 |
5300 |
set dummy xgettext; ac_word=$2 |
| 5814 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5301 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5815 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5302 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
Lines 5845-5865
Link Here
|
| 5845 |
echo "${ECHO_T}no" >&6 |
5332 |
echo "${ECHO_T}no" >&6 |
| 5846 |
fi |
5333 |
fi |
| 5847 |
|
5334 |
|
| 5848 |
cat >conftest.$ac_ext <<_ACEOF |
5335 |
cat >conftest.$ac_ext <<_ACEOF |
| 5849 |
#line $LINENO "configure" |
5336 |
#line $LINENO "configure" |
| 5850 |
#include "confdefs.h" |
5337 |
/* confdefs.h. */ |
|
|
5338 |
_ACEOF |
| 5339 |
cat confdefs.h >>conftest.$ac_ext |
| 5340 |
cat >>conftest.$ac_ext <<_ACEOF |
| 5341 |
/* end confdefs.h. */ |
| 5851 |
|
5342 |
|
| 5852 |
#ifdef F77_DUMMY_MAIN |
|
|
| 5853 |
# ifdef __cplusplus |
| 5854 |
extern "C" |
| 5855 |
# endif |
| 5856 |
int F77_DUMMY_MAIN() { return 1; } |
| 5857 |
#endif |
| 5858 |
int |
5343 |
int |
| 5859 |
main () |
5344 |
main () |
| 5860 |
{ |
5345 |
{ |
| 5861 |
extern int _nl_msg_cat_cntr; |
5346 |
extern int _nl_msg_cat_cntr; |
| 5862 |
return _nl_msg_cat_cntr |
5347 |
return _nl_msg_cat_cntr |
| 5863 |
; |
5348 |
; |
| 5864 |
return 0; |
5349 |
return 0; |
| 5865 |
} |
5350 |
} |
|
Lines 5877-5918
Link Here
|
| 5877 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5362 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5878 |
(exit $ac_status); }; }; then |
5363 |
(exit $ac_status); }; }; then |
| 5879 |
CATOBJEXT=.gmo |
5364 |
CATOBJEXT=.gmo |
| 5880 |
DATADIRNAME=share |
5365 |
DATADIRNAME=share |
| 5881 |
else |
5366 |
else |
| 5882 |
echo "$as_me: failed program was:" >&5 |
5367 |
echo "$as_me: failed program was:" >&5 |
| 5883 |
cat conftest.$ac_ext >&5 |
5368 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5369 |
|
| 5884 |
CATOBJEXT=.mo |
5370 |
CATOBJEXT=.mo |
| 5885 |
DATADIRNAME=lib |
5371 |
DATADIRNAME=lib |
| 5886 |
fi |
5372 |
fi |
| 5887 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5373 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 5888 |
INSTOBJEXT=.mo |
5374 |
INSTOBJEXT=.mo |
| 5889 |
fi |
5375 |
else |
| 5890 |
fi |
5376 |
gt_cv_have_gettext=no |
| 5891 |
|
5377 |
fi |
| 5892 |
# Added by Martin Baulig 12/15/98 for libc5 systems |
5378 |
fi |
| 5893 |
if test "$gt_cv_func_dgettext_libc" != "yes" \ |
|
|
| 5894 |
&& test "$gt_cv_func_dgettext_libintl" = "yes"; then |
| 5895 |
INTLLIBS="-lintl $libintl_extra_libs" |
| 5896 |
LIBS=`echo $LIBS | sed -e 's/-lintl//'` |
| 5897 |
fi |
| 5898 |
|
5379 |
|
| 5899 |
fi |
5380 |
fi |
| 5900 |
|
5381 |
|
| 5901 |
|
5382 |
|
| 5902 |
|
5383 |
|
| 5903 |
if test "$CATOBJEXT" = "NONE"; then |
5384 |
if test "$gt_cv_have_gettext" = "yes" ; then |
| 5904 |
nls_cv_use_gnu_gettext=yes |
|
|
| 5905 |
fi |
| 5906 |
fi |
| 5907 |
|
| 5908 |
if test "$nls_cv_use_gnu_gettext" != "yes"; then |
| 5909 |
|
5385 |
|
| 5910 |
cat >>confdefs.h <<\_ACEOF |
5386 |
cat >>confdefs.h <<\_ACEOF |
| 5911 |
#define ENABLE_NLS 1 |
5387 |
#define ENABLE_NLS 1 |
| 5912 |
_ACEOF |
5388 |
_ACEOF |
| 5913 |
|
5389 |
|
| 5914 |
else |
|
|
| 5915 |
CATOBJEXT= |
| 5916 |
fi |
5390 |
fi |
| 5917 |
|
5391 |
|
| 5918 |
if test "$XGETTEXT" != ":"; then |
5392 |
if test "$XGETTEXT" != ":"; then |
|
Lines 5928-5934
Link Here
|
| 5928 |
# We need to process the po/ directory. |
5402 |
# We need to process the po/ directory. |
| 5929 |
POSUB=po |
5403 |
POSUB=po |
| 5930 |
|
5404 |
|
| 5931 |
ac_config_commands="$ac_config_commands default-2" |
5405 |
ac_config_commands="$ac_config_commands default-2" |
| 5932 |
|
5406 |
|
| 5933 |
|
5407 |
|
| 5934 |
for lang in $ALL_LINGUAS; do |
5408 |
for lang in $ALL_LINGUAS; do |
|
Lines 5948-5954
Link Here
|
| 5948 |
|
5422 |
|
| 5949 |
|
5423 |
|
| 5950 |
|
5424 |
|
| 5951 |
if test "x$CATOBJEXT" != "x"; then |
5425 |
if test "$gt_cv_have_gettext" = "yes"; then |
| 5952 |
if test "x$ALL_LINGUAS" = "x"; then |
5426 |
if test "x$ALL_LINGUAS" = "x"; then |
| 5953 |
LINGUAS= |
5427 |
LINGUAS= |
| 5954 |
else |
5428 |
else |
|
Lines 5970-6089
Link Here
|
| 5970 |
fi |
5444 |
fi |
| 5971 |
fi |
5445 |
fi |
| 5972 |
|
5446 |
|
| 5973 |
test -d po || mkdir po |
|
|
| 5974 |
if test "$CATOBJEXT" = ".cat"; then |
| 5975 |
if test "${ac_cv_header_linux_version_h+set}" = set; then |
| 5976 |
echo "$as_me:$LINENO: checking for linux/version.h" >&5 |
| 5977 |
echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6 |
| 5978 |
if test "${ac_cv_header_linux_version_h+set}" = set; then |
| 5979 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5980 |
fi |
| 5981 |
echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5 |
| 5982 |
echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6 |
| 5983 |
else |
| 5984 |
# Is the header compilable? |
| 5985 |
echo "$as_me:$LINENO: checking linux/version.h usability" >&5 |
| 5986 |
echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6 |
| 5987 |
cat >conftest.$ac_ext <<_ACEOF |
| 5988 |
#line $LINENO "configure" |
| 5989 |
#include "confdefs.h" |
| 5990 |
$ac_includes_default |
| 5991 |
#include <linux/version.h> |
| 5992 |
_ACEOF |
| 5993 |
rm -f conftest.$ac_objext |
| 5994 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5995 |
(eval $ac_compile) 2>&5 |
| 5996 |
ac_status=$? |
| 5997 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5998 |
(exit $ac_status); } && |
| 5999 |
{ ac_try='test -s conftest.$ac_objext' |
| 6000 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6001 |
(eval $ac_try) 2>&5 |
| 6002 |
ac_status=$? |
| 6003 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6004 |
(exit $ac_status); }; }; then |
| 6005 |
ac_header_compiler=yes |
| 6006 |
else |
| 6007 |
echo "$as_me: failed program was:" >&5 |
| 6008 |
cat conftest.$ac_ext >&5 |
| 6009 |
ac_header_compiler=no |
| 6010 |
fi |
| 6011 |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 6012 |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 6013 |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 6014 |
|
| 6015 |
# Is the header present? |
| 6016 |
echo "$as_me:$LINENO: checking linux/version.h presence" >&5 |
| 6017 |
echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6 |
| 6018 |
cat >conftest.$ac_ext <<_ACEOF |
| 6019 |
#line $LINENO "configure" |
| 6020 |
#include "confdefs.h" |
| 6021 |
#include <linux/version.h> |
| 6022 |
_ACEOF |
| 6023 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 6024 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 6025 |
ac_status=$? |
| 6026 |
egrep -v '^ *\+' conftest.er1 >conftest.err |
| 6027 |
rm -f conftest.er1 |
| 6028 |
cat conftest.err >&5 |
| 6029 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6030 |
(exit $ac_status); } >/dev/null; then |
| 6031 |
if test -s conftest.err; then |
| 6032 |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 6033 |
else |
| 6034 |
ac_cpp_err= |
| 6035 |
fi |
| 6036 |
else |
| 6037 |
ac_cpp_err=yes |
| 6038 |
fi |
| 6039 |
if test -z "$ac_cpp_err"; then |
| 6040 |
ac_header_preproc=yes |
| 6041 |
else |
| 6042 |
echo "$as_me: failed program was:" >&5 |
| 6043 |
cat conftest.$ac_ext >&5 |
| 6044 |
ac_header_preproc=no |
| 6045 |
fi |
| 6046 |
rm -f conftest.err conftest.$ac_ext |
| 6047 |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 6048 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 6049 |
|
| 6050 |
# So? What about this header? |
| 6051 |
case $ac_header_compiler:$ac_header_preproc in |
| 6052 |
yes:no ) |
| 6053 |
{ echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 6054 |
echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 6055 |
{ echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5 |
| 6056 |
echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;};; |
| 6057 |
no:yes ) |
| 6058 |
{ echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5 |
| 6059 |
echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;} |
| 6060 |
{ echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5 |
| 6061 |
echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;} |
| 6062 |
{ echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5 |
| 6063 |
echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;};; |
| 6064 |
esac |
| 6065 |
echo "$as_me:$LINENO: checking for linux/version.h" >&5 |
| 6066 |
echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6 |
| 6067 |
if test "${ac_cv_header_linux_version_h+set}" = set; then |
| 6068 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6069 |
else |
| 6070 |
ac_cv_header_linux_version_h=$ac_header_preproc |
| 6071 |
fi |
| 6072 |
echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5 |
| 6073 |
echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6 |
| 6074 |
|
| 6075 |
fi |
| 6076 |
if test $ac_cv_header_linux_version_h = yes; then |
| 6077 |
msgformat=linux |
| 6078 |
else |
| 6079 |
msgformat=xopen |
| 6080 |
fi |
| 6081 |
|
| 6082 |
|
| 6083 |
|
| 6084 |
sed -e '/^#/d' $srcdir/po/$msgformat-msg.sed > po/po2msg.sed |
| 6085 |
fi |
| 6086 |
|
| 6087 |
MKINSTALLDIRS= |
5447 |
MKINSTALLDIRS= |
| 6088 |
if test -n "$ac_aux_dir"; then |
5448 |
if test -n "$ac_aux_dir"; then |
| 6089 |
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" |
5449 |
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" |
|
Lines 6179-6185
Link Here
|
| 6179 |
echo $ECHO_N "checking popt.h usability... $ECHO_C" >&6 |
5539 |
echo $ECHO_N "checking popt.h usability... $ECHO_C" >&6 |
| 6180 |
cat >conftest.$ac_ext <<_ACEOF |
5540 |
cat >conftest.$ac_ext <<_ACEOF |
| 6181 |
#line $LINENO "configure" |
5541 |
#line $LINENO "configure" |
| 6182 |
#include "confdefs.h" |
5542 |
/* confdefs.h. */ |
|
|
5543 |
_ACEOF |
| 5544 |
cat confdefs.h >>conftest.$ac_ext |
| 5545 |
cat >>conftest.$ac_ext <<_ACEOF |
| 5546 |
/* end confdefs.h. */ |
| 6183 |
$ac_includes_default |
5547 |
$ac_includes_default |
| 6184 |
#include <popt.h> |
5548 |
#include <popt.h> |
| 6185 |
_ACEOF |
5549 |
_ACEOF |
|
Lines 6198-6204
Link Here
|
| 6198 |
ac_header_compiler=yes |
5562 |
ac_header_compiler=yes |
| 6199 |
else |
5563 |
else |
| 6200 |
echo "$as_me: failed program was:" >&5 |
5564 |
echo "$as_me: failed program was:" >&5 |
| 6201 |
cat conftest.$ac_ext >&5 |
5565 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5566 |
|
| 6202 |
ac_header_compiler=no |
5567 |
ac_header_compiler=no |
| 6203 |
fi |
5568 |
fi |
| 6204 |
rm -f conftest.$ac_objext conftest.$ac_ext |
5569 |
rm -f conftest.$ac_objext conftest.$ac_ext |
|
Lines 6210-6222
Link Here
|
| 6210 |
echo $ECHO_N "checking popt.h presence... $ECHO_C" >&6 |
5575 |
echo $ECHO_N "checking popt.h presence... $ECHO_C" >&6 |
| 6211 |
cat >conftest.$ac_ext <<_ACEOF |
5576 |
cat >conftest.$ac_ext <<_ACEOF |
| 6212 |
#line $LINENO "configure" |
5577 |
#line $LINENO "configure" |
| 6213 |
#include "confdefs.h" |
5578 |
/* confdefs.h. */ |
|
|
5579 |
_ACEOF |
| 5580 |
cat confdefs.h >>conftest.$ac_ext |
| 5581 |
cat >>conftest.$ac_ext <<_ACEOF |
| 5582 |
/* end confdefs.h. */ |
| 6214 |
#include <popt.h> |
5583 |
#include <popt.h> |
| 6215 |
_ACEOF |
5584 |
_ACEOF |
| 6216 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5585 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 6217 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5586 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 6218 |
ac_status=$? |
5587 |
ac_status=$? |
| 6219 |
egrep -v '^ *\+' conftest.er1 >conftest.err |
5588 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6220 |
rm -f conftest.er1 |
5589 |
rm -f conftest.er1 |
| 6221 |
cat conftest.err >&5 |
5590 |
cat conftest.err >&5 |
| 6222 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5591 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
Lines 6233-6239
Link Here
|
| 6233 |
ac_header_preproc=yes |
5602 |
ac_header_preproc=yes |
| 6234 |
else |
5603 |
else |
| 6235 |
echo "$as_me: failed program was:" >&5 |
5604 |
echo "$as_me: failed program was:" >&5 |
| 6236 |
cat conftest.$ac_ext >&5 |
5605 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5606 |
|
| 6237 |
ac_header_preproc=no |
5607 |
ac_header_preproc=no |
| 6238 |
fi |
5608 |
fi |
| 6239 |
rm -f conftest.err conftest.$ac_ext |
5609 |
rm -f conftest.err conftest.$ac_ext |
|
Lines 6246-6259
Link Here
|
| 6246 |
{ echo "$as_me:$LINENO: WARNING: popt.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
5616 |
{ echo "$as_me:$LINENO: WARNING: popt.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 6247 |
echo "$as_me: WARNING: popt.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
5617 |
echo "$as_me: WARNING: popt.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 6248 |
{ echo "$as_me:$LINENO: WARNING: popt.h: proceeding with the preprocessor's result" >&5 |
5618 |
{ echo "$as_me:$LINENO: WARNING: popt.h: proceeding with the preprocessor's result" >&5 |
| 6249 |
echo "$as_me: WARNING: popt.h: proceeding with the preprocessor's result" >&2;};; |
5619 |
echo "$as_me: WARNING: popt.h: proceeding with the preprocessor's result" >&2;} |
|
|
5620 |
( |
| 5621 |
cat <<\_ASBOX |
| 5622 |
## ------------------------------------ ## |
| 5623 |
## Report this to bug-autoconf@gnu.org. ## |
| 5624 |
## ------------------------------------ ## |
| 5625 |
_ASBOX |
| 5626 |
) | |
| 5627 |
sed "s/^/$as_me: WARNING: /" >&2 |
| 5628 |
;; |
| 6250 |
no:yes ) |
5629 |
no:yes ) |
| 6251 |
{ echo "$as_me:$LINENO: WARNING: popt.h: present but cannot be compiled" >&5 |
5630 |
{ echo "$as_me:$LINENO: WARNING: popt.h: present but cannot be compiled" >&5 |
| 6252 |
echo "$as_me: WARNING: popt.h: present but cannot be compiled" >&2;} |
5631 |
echo "$as_me: WARNING: popt.h: present but cannot be compiled" >&2;} |
| 6253 |
{ echo "$as_me:$LINENO: WARNING: popt.h: check for missing prerequisite headers?" >&5 |
5632 |
{ echo "$as_me:$LINENO: WARNING: popt.h: check for missing prerequisite headers?" >&5 |
| 6254 |
echo "$as_me: WARNING: popt.h: check for missing prerequisite headers?" >&2;} |
5633 |
echo "$as_me: WARNING: popt.h: check for missing prerequisite headers?" >&2;} |
| 6255 |
{ echo "$as_me:$LINENO: WARNING: popt.h: proceeding with the preprocessor's result" >&5 |
5634 |
{ echo "$as_me:$LINENO: WARNING: popt.h: proceeding with the preprocessor's result" >&5 |
| 6256 |
echo "$as_me: WARNING: popt.h: proceeding with the preprocessor's result" >&2;};; |
5635 |
echo "$as_me: WARNING: popt.h: proceeding with the preprocessor's result" >&2;} |
|
|
5636 |
( |
| 5637 |
cat <<\_ASBOX |
| 5638 |
## ------------------------------------ ## |
| 5639 |
## Report this to bug-autoconf@gnu.org. ## |
| 5640 |
## ------------------------------------ ## |
| 5641 |
_ASBOX |
| 5642 |
) | |
| 5643 |
sed "s/^/$as_me: WARNING: /" >&2 |
| 5644 |
;; |
| 6257 |
esac |
5645 |
esac |
| 6258 |
echo "$as_me:$LINENO: checking for popt.h" >&5 |
5646 |
echo "$as_me:$LINENO: checking for popt.h" >&5 |
| 6259 |
echo $ECHO_N "checking for popt.h... $ECHO_C" >&6 |
5647 |
echo $ECHO_N "checking for popt.h... $ECHO_C" >&6 |
|
Lines 6455-6461
Link Here
|
| 6455 |
fi; |
5843 |
fi; |
| 6456 |
|
5844 |
|
| 6457 |
if test "x$with_xft" != "xno"; then |
5845 |
if test "x$with_xft" != "xno"; then |
| 6458 |
if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then |
5846 |
CPPFLAGS="$CPPFLAGS -I /usr/include/freetype2" |
|
|
5847 |
if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then |
| 6459 |
echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5 |
5848 |
echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5 |
| 6460 |
echo $ECHO_N "checking for X11/Xft/Xft.h... $ECHO_C" >&6 |
5849 |
echo $ECHO_N "checking for X11/Xft/Xft.h... $ECHO_C" >&6 |
| 6461 |
if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then |
5850 |
if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then |
|
Lines 6469-6475
Link Here
|
| 6469 |
echo $ECHO_N "checking X11/Xft/Xft.h usability... $ECHO_C" >&6 |
5858 |
echo $ECHO_N "checking X11/Xft/Xft.h usability... $ECHO_C" >&6 |
| 6470 |
cat >conftest.$ac_ext <<_ACEOF |
5859 |
cat >conftest.$ac_ext <<_ACEOF |
| 6471 |
#line $LINENO "configure" |
5860 |
#line $LINENO "configure" |
| 6472 |
#include "confdefs.h" |
5861 |
/* confdefs.h. */ |
|
|
5862 |
_ACEOF |
| 5863 |
cat confdefs.h >>conftest.$ac_ext |
| 5864 |
cat >>conftest.$ac_ext <<_ACEOF |
| 5865 |
/* end confdefs.h. */ |
| 6473 |
$ac_includes_default |
5866 |
$ac_includes_default |
| 6474 |
#include <X11/Xft/Xft.h> |
5867 |
#include <X11/Xft/Xft.h> |
| 6475 |
_ACEOF |
5868 |
_ACEOF |
|
Lines 6488-6494
Link Here
|
| 6488 |
ac_header_compiler=yes |
5881 |
ac_header_compiler=yes |
| 6489 |
else |
5882 |
else |
| 6490 |
echo "$as_me: failed program was:" >&5 |
5883 |
echo "$as_me: failed program was:" >&5 |
| 6491 |
cat conftest.$ac_ext >&5 |
5884 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5885 |
|
| 6492 |
ac_header_compiler=no |
5886 |
ac_header_compiler=no |
| 6493 |
fi |
5887 |
fi |
| 6494 |
rm -f conftest.$ac_objext conftest.$ac_ext |
5888 |
rm -f conftest.$ac_objext conftest.$ac_ext |
|
Lines 6500-6512
Link Here
|
| 6500 |
echo $ECHO_N "checking X11/Xft/Xft.h presence... $ECHO_C" >&6 |
5894 |
echo $ECHO_N "checking X11/Xft/Xft.h presence... $ECHO_C" >&6 |
| 6501 |
cat >conftest.$ac_ext <<_ACEOF |
5895 |
cat >conftest.$ac_ext <<_ACEOF |
| 6502 |
#line $LINENO "configure" |
5896 |
#line $LINENO "configure" |
| 6503 |
#include "confdefs.h" |
5897 |
/* confdefs.h. */ |
|
|
5898 |
_ACEOF |
| 5899 |
cat confdefs.h >>conftest.$ac_ext |
| 5900 |
cat >>conftest.$ac_ext <<_ACEOF |
| 5901 |
/* end confdefs.h. */ |
| 6504 |
#include <X11/Xft/Xft.h> |
5902 |
#include <X11/Xft/Xft.h> |
| 6505 |
_ACEOF |
5903 |
_ACEOF |
| 6506 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5904 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 6507 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5905 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 6508 |
ac_status=$? |
5906 |
ac_status=$? |
| 6509 |
egrep -v '^ *\+' conftest.er1 >conftest.err |
5907 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6510 |
rm -f conftest.er1 |
5908 |
rm -f conftest.er1 |
| 6511 |
cat conftest.err >&5 |
5909 |
cat conftest.err >&5 |
| 6512 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5910 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
Lines 6523-6529
Link Here
|
| 6523 |
ac_header_preproc=yes |
5921 |
ac_header_preproc=yes |
| 6524 |
else |
5922 |
else |
| 6525 |
echo "$as_me: failed program was:" >&5 |
5923 |
echo "$as_me: failed program was:" >&5 |
| 6526 |
cat conftest.$ac_ext >&5 |
5924 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5925 |
|
| 6527 |
ac_header_preproc=no |
5926 |
ac_header_preproc=no |
| 6528 |
fi |
5927 |
fi |
| 6529 |
rm -f conftest.err conftest.$ac_ext |
5928 |
rm -f conftest.err conftest.$ac_ext |
|
Lines 6536-6549
Link Here
|
| 6536 |
{ echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
5935 |
{ echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 6537 |
echo "$as_me: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
5936 |
echo "$as_me: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 6538 |
{ echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&5 |
5937 |
{ echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&5 |
| 6539 |
echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&2;};; |
5938 |
echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&2;} |
|
|
5939 |
( |
| 5940 |
cat <<\_ASBOX |
| 5941 |
## ------------------------------------ ## |
| 5942 |
## Report this to bug-autoconf@gnu.org. ## |
| 5943 |
## ------------------------------------ ## |
| 5944 |
_ASBOX |
| 5945 |
) | |
| 5946 |
sed "s/^/$as_me: WARNING: /" >&2 |
| 5947 |
;; |
| 6540 |
no:yes ) |
5948 |
no:yes ) |
| 6541 |
{ echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&5 |
5949 |
{ echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&5 |
| 6542 |
echo "$as_me: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&2;} |
5950 |
echo "$as_me: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&2;} |
| 6543 |
{ echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&5 |
5951 |
{ echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&5 |
| 6544 |
echo "$as_me: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&2;} |
5952 |
echo "$as_me: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&2;} |
| 6545 |
{ echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&5 |
5953 |
{ echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&5 |
| 6546 |
echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&2;};; |
5954 |
echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&2;} |
|
|
5955 |
( |
| 5956 |
cat <<\_ASBOX |
| 5957 |
## ------------------------------------ ## |
| 5958 |
## Report this to bug-autoconf@gnu.org. ## |
| 5959 |
## ------------------------------------ ## |
| 5960 |
_ASBOX |
| 5961 |
) | |
| 5962 |
sed "s/^/$as_me: WARNING: /" >&2 |
| 5963 |
;; |
| 6547 |
esac |
5964 |
esac |
| 6548 |
echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5 |
5965 |
echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5 |
| 6549 |
echo $ECHO_N "checking for X11/Xft/Xft.h... $ECHO_C" >&6 |
5966 |
echo $ECHO_N "checking for X11/Xft/Xft.h... $ECHO_C" >&6 |
|
Lines 6917-6923
Link Here
|
| 6917 |
fi |
6334 |
fi |
| 6918 |
|
6335 |
|
| 6919 |
|
6336 |
|
| 6920 |
ac_config_files="$ac_config_files Makefile src/Makefile src/libnr/Makefile src/libnrtype/Makefile src/xml/Makefile src/svg/Makefile src/widgets/Makefile src/helper/Makefile src/dialogs/Makefile src/display/Makefile po/Makefile.in glade/Makefile sodipodi.spec sodipodi.1" |
6337 |
ac_config_files="$ac_config_files Makefile src/Makefile src/libnr/Makefile src/libnrtype/Makefile src/xml/Makefile src/svg/Makefile src/widgets/Makefile src/helper/Makefile src/dialogs/Makefile src/display/Makefile po/Makefile.in glade/Makefile sodipodi.spec sodipodi.1" |
| 6921 |
cat >confcache <<\_ACEOF |
6338 |
cat >confcache <<\_ACEOF |
| 6922 |
# This file is a shell script that caches the results of configure |
6339 |
# This file is a shell script that caches the results of configure |
| 6923 |
# tests run on this system so they can be shared between configure |
6340 |
# tests run on this system so they can be shared between configure |
|
Lines 6928-6934
Link Here
|
| 6928 |
# config.status only pays attention to the cache file if you give it |
6345 |
# config.status only pays attention to the cache file if you give it |
| 6929 |
# the --recheck option to rerun configure. |
6346 |
# the --recheck option to rerun configure. |
| 6930 |
# |
6347 |
# |
| 6931 |
# `ac_cv_env_foo' variables (set or unset) will be overriden when |
6348 |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
| 6932 |
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
6349 |
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
| 6933 |
# following values. |
6350 |
# following values. |
| 6934 |
|
6351 |
|
|
Lines 6963-6969
Link Here
|
| 6963 |
t end |
6380 |
t end |
| 6964 |
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
6381 |
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
| 6965 |
: end' >>confcache |
6382 |
: end' >>confcache |
| 6966 |
if cmp -s $cache_file confcache; then :; else |
6383 |
if diff $cache_file confcache >/dev/null 2>&1; then :; else |
| 6967 |
if test -w $cache_file; then |
6384 |
if test -w $cache_file; then |
| 6968 |
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
6385 |
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
| 6969 |
cat confcache >$cache_file |
6386 |
cat confcache >$cache_file |
|
Lines 6994-6999
Link Here
|
| 6994 |
|
6411 |
|
| 6995 |
DEFS=-DHAVE_CONFIG_H |
6412 |
DEFS=-DHAVE_CONFIG_H |
| 6996 |
|
6413 |
|
|
|
6414 |
ac_libobjs= |
| 6415 |
ac_ltlibobjs= |
| 6416 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
| 6417 |
# 1. Remove the extension, and $U if already installed. |
| 6418 |
ac_i=`echo "$ac_i" | |
| 6419 |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
| 6420 |
# 2. Add them. |
| 6421 |
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
| 6422 |
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
| 6423 |
done |
| 6424 |
LIBOBJS=$ac_libobjs |
| 6425 |
|
| 6426 |
LTLIBOBJS=$ac_ltlibobjs |
| 6427 |
|
| 6428 |
|
| 6997 |
|
6429 |
|
| 6998 |
|
6430 |
|
| 6999 |
mv -f po/POTFILES po/POTFILES.tmp |
6431 |
mv -f po/POTFILES po/POTFILES.tmp |
|
Lines 7057-7067
Link Here
|
| 7057 |
# configure, is in config.log if it exists. |
6489 |
# configure, is in config.log if it exists. |
| 7058 |
|
6490 |
|
| 7059 |
debug=false |
6491 |
debug=false |
|
|
6492 |
ac_cs_recheck=false |
| 6493 |
ac_cs_silent=false |
| 7060 |
SHELL=\${CONFIG_SHELL-$SHELL} |
6494 |
SHELL=\${CONFIG_SHELL-$SHELL} |
| 7061 |
_ACEOF |
6495 |
_ACEOF |
| 7062 |
|
6496 |
|
| 7063 |
cat >>$CONFIG_STATUS <<\_ACEOF |
6497 |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 7064 |
|
|
|
| 7065 |
## --------------------- ## |
6498 |
## --------------------- ## |
| 7066 |
## M4sh Initialization. ## |
6499 |
## M4sh Initialization. ## |
| 7067 |
## --------------------- ## |
6500 |
## --------------------- ## |
|
Lines 7070-7080
Link Here
|
| 7070 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
6503 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 7071 |
emulate sh |
6504 |
emulate sh |
| 7072 |
NULLCMD=: |
6505 |
NULLCMD=: |
|
|
6506 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
| 6507 |
# is contrary to our usage. Disable this feature. |
| 6508 |
alias -g '${1+"$@"}'='"$@"' |
| 7073 |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
6509 |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
| 7074 |
set -o posix |
6510 |
set -o posix |
| 7075 |
fi |
6511 |
fi |
| 7076 |
|
6512 |
|
| 7077 |
# NLS nuisances. |
|
|
| 7078 |
# Support unset when possible. |
6513 |
# Support unset when possible. |
| 7079 |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
6514 |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
| 7080 |
as_unset=unset |
6515 |
as_unset=unset |
|
Lines 7082-7115
Link Here
|
| 7082 |
as_unset=false |
6517 |
as_unset=false |
| 7083 |
fi |
6518 |
fi |
| 7084 |
|
6519 |
|
| 7085 |
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") && |
6520 |
|
| 7086 |
{ $as_unset LANG || test "${LANG+set}" != set; } || |
6521 |
# Work around bugs in pre-3.0 UWIN ksh. |
| 7087 |
{ LANG=C; export LANG; } |
6522 |
$as_unset ENV MAIL MAILPATH |
| 7088 |
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && |
6523 |
PS1='$ ' |
| 7089 |
{ $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || |
6524 |
PS2='> ' |
| 7090 |
{ LC_ALL=C; export LC_ALL; } |
6525 |
PS4='+ ' |
| 7091 |
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && |
6526 |
|
| 7092 |
{ $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || |
6527 |
# NLS nuisances. |
| 7093 |
{ LC_TIME=C; export LC_TIME; } |
6528 |
for as_var in \ |
| 7094 |
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && |
6529 |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
| 7095 |
{ $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || |
6530 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
| 7096 |
{ LC_CTYPE=C; export LC_CTYPE; } |
6531 |
LC_TELEPHONE LC_TIME |
| 7097 |
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && |
6532 |
do |
| 7098 |
{ $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || |
6533 |
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
| 7099 |
{ LANGUAGE=C; export LANGUAGE; } |
6534 |
eval $as_var=C; export $as_var |
| 7100 |
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && |
6535 |
else |
| 7101 |
{ $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || |
6536 |
$as_unset $as_var |
| 7102 |
{ LC_COLLATE=C; export LC_COLLATE; } |
6537 |
fi |
| 7103 |
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && |
6538 |
done |
| 7104 |
{ $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || |
6539 |
|
| 7105 |
{ LC_NUMERIC=C; export LC_NUMERIC; } |
6540 |
# Required to use basename. |
| 7106 |
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && |
6541 |
if expr a : '\(a\)' >/dev/null 2>&1; then |
| 7107 |
{ $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || |
6542 |
as_expr=expr |
| 7108 |
{ LC_MESSAGES=C; export LC_MESSAGES; } |
6543 |
else |
|
|
6544 |
as_expr=false |
| 6545 |
fi |
| 6546 |
|
| 6547 |
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
| 6548 |
as_basename=basename |
| 6549 |
else |
| 6550 |
as_basename=false |
| 6551 |
fi |
| 7109 |
|
6552 |
|
| 7110 |
|
6553 |
|
| 7111 |
# Name of the executable. |
6554 |
# Name of the executable. |
| 7112 |
as_me=`(basename "$0") 2>/dev/null || |
6555 |
as_me=`$as_basename "$0" || |
| 7113 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
6556 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 7114 |
X"$0" : 'X\(//\)$' \| \ |
6557 |
X"$0" : 'X\(//\)$' \| \ |
| 7115 |
X"$0" : 'X\(/\)$' \| \ |
6558 |
X"$0" : 'X\(/\)$' \| \ |
|
Lines 7120-7125
Link Here
|
| 7120 |
/^X\/\(\/\).*/{ s//\1/; q; } |
6563 |
/^X\/\(\/\).*/{ s//\1/; q; } |
| 7121 |
s/.*/./; q'` |
6564 |
s/.*/./; q'` |
| 7122 |
|
6565 |
|
|
|
6566 |
|
| 7123 |
# PATH needs CR, and LINENO needs CR and PATH. |
6567 |
# PATH needs CR, and LINENO needs CR and PATH. |
| 7124 |
# Avoid depending upon Character Ranges. |
6568 |
# Avoid depending upon Character Ranges. |
| 7125 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
6569 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
Lines 7130-7144
Link Here
|
| 7130 |
|
6574 |
|
| 7131 |
# The user is always right. |
6575 |
# The user is always right. |
| 7132 |
if test "${PATH_SEPARATOR+set}" != set; then |
6576 |
if test "${PATH_SEPARATOR+set}" != set; then |
| 7133 |
echo "#! /bin/sh" >conftest.sh |
6577 |
echo "#! /bin/sh" >conf$$.sh |
| 7134 |
echo "exit 0" >>conftest.sh |
6578 |
echo "exit 0" >>conf$$.sh |
| 7135 |
chmod +x conftest.sh |
6579 |
chmod +x conf$$.sh |
| 7136 |
if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then |
6580 |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
| 7137 |
PATH_SEPARATOR=';' |
6581 |
PATH_SEPARATOR=';' |
| 7138 |
else |
6582 |
else |
| 7139 |
PATH_SEPARATOR=: |
6583 |
PATH_SEPARATOR=: |
| 7140 |
fi |
6584 |
fi |
| 7141 |
rm -f conftest.sh |
6585 |
rm -f conf$$.sh |
| 7142 |
fi |
6586 |
fi |
| 7143 |
|
6587 |
|
| 7144 |
|
6588 |
|
|
Lines 7187-7192
Link Here
|
| 7187 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
6631 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
| 7188 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
6632 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
| 7189 |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
6633 |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
|
|
6634 |
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
| 6635 |
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
| 7190 |
CONFIG_SHELL=$as_dir/$as_base |
6636 |
CONFIG_SHELL=$as_dir/$as_base |
| 7191 |
export CONFIG_SHELL |
6637 |
export CONFIG_SHELL |
| 7192 |
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
6638 |
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
|
Lines 7260-7265
Link Here
|
| 7260 |
fi |
6706 |
fi |
| 7261 |
rm -f conf$$ conf$$.exe conf$$.file |
6707 |
rm -f conf$$ conf$$.exe conf$$.file |
| 7262 |
|
6708 |
|
|
|
6709 |
if mkdir -p . 2>/dev/null; then |
| 6710 |
as_mkdir_p=: |
| 6711 |
else |
| 6712 |
as_mkdir_p=false |
| 6713 |
fi |
| 6714 |
|
| 7263 |
as_executable_p="test -f" |
6715 |
as_executable_p="test -f" |
| 7264 |
|
6716 |
|
| 7265 |
# Sed expression to map a string onto a valid CPP name. |
6717 |
# Sed expression to map a string onto a valid CPP name. |
|
Lines 7276-7282
Link Here
|
| 7276 |
IFS=" $as_nl" |
6728 |
IFS=" $as_nl" |
| 7277 |
|
6729 |
|
| 7278 |
# CDPATH. |
6730 |
# CDPATH. |
| 7279 |
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } |
6731 |
$as_unset CDPATH |
| 7280 |
|
6732 |
|
| 7281 |
exec 6>&1 |
6733 |
exec 6>&1 |
| 7282 |
|
6734 |
|
|
Lines 7293-7299
Link Here
|
| 7293 |
cat >&5 <<_CSEOF |
6745 |
cat >&5 <<_CSEOF |
| 7294 |
|
6746 |
|
| 7295 |
This file was extended by sodipodi $as_me 0.31, which was |
6747 |
This file was extended by sodipodi $as_me 0.31, which was |
| 7296 |
generated by GNU Autoconf 2.53. Invocation command line was |
6748 |
generated by GNU Autoconf 2.57. Invocation command line was |
| 7297 |
|
6749 |
|
| 7298 |
CONFIG_FILES = $CONFIG_FILES |
6750 |
CONFIG_FILES = $CONFIG_FILES |
| 7299 |
CONFIG_HEADERS = $CONFIG_HEADERS |
6751 |
CONFIG_HEADERS = $CONFIG_HEADERS |
|
Lines 7333-7338
Link Here
|
| 7333 |
|
6785 |
|
| 7334 |
-h, --help print this help, then exit |
6786 |
-h, --help print this help, then exit |
| 7335 |
-V, --version print version number, then exit |
6787 |
-V, --version print version number, then exit |
|
|
6788 |
-q, --quiet do not print progress messages |
| 7336 |
-d, --debug don't remove temporary files |
6789 |
-d, --debug don't remove temporary files |
| 7337 |
--recheck update $as_me by reconfiguring in the same conditions |
6790 |
--recheck update $as_me by reconfiguring in the same conditions |
| 7338 |
--file=FILE[:TEMPLATE] |
6791 |
--file=FILE[:TEMPLATE] |
|
Lines 7355-7361
Link Here
|
| 7355 |
cat >>$CONFIG_STATUS <<_ACEOF |
6808 |
cat >>$CONFIG_STATUS <<_ACEOF |
| 7356 |
ac_cs_version="\\ |
6809 |
ac_cs_version="\\ |
| 7357 |
sodipodi config.status 0.31 |
6810 |
sodipodi config.status 0.31 |
| 7358 |
configured by $0, generated by GNU Autoconf 2.53, |
6811 |
configured by $0, generated by GNU Autoconf 2.57, |
| 7359 |
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
6812 |
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
| 7360 |
|
6813 |
|
| 7361 |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
6814 |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
|
Lines 7376-7400
Link Here
|
| 7376 |
--*=*) |
6829 |
--*=*) |
| 7377 |
ac_option=`expr "x$1" : 'x\([^=]*\)='` |
6830 |
ac_option=`expr "x$1" : 'x\([^=]*\)='` |
| 7378 |
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
6831 |
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
| 7379 |
shift |
6832 |
ac_shift=: |
| 7380 |
set dummy "$ac_option" "$ac_optarg" ${1+"$@"} |
6833 |
;; |
| 7381 |
shift |
6834 |
-*) |
|
|
6835 |
ac_option=$1 |
| 6836 |
ac_optarg=$2 |
| 6837 |
ac_shift=shift |
| 7382 |
;; |
6838 |
;; |
| 7383 |
-*);; |
|
|
| 7384 |
*) # This is not an option, so the user has probably given explicit |
6839 |
*) # This is not an option, so the user has probably given explicit |
| 7385 |
# arguments. |
6840 |
# arguments. |
|
|
6841 |
ac_option=$1 |
| 7386 |
ac_need_defaults=false;; |
6842 |
ac_need_defaults=false;; |
| 7387 |
esac |
6843 |
esac |
| 7388 |
|
6844 |
|
| 7389 |
case $1 in |
6845 |
case $ac_option in |
| 7390 |
# Handling of the options. |
6846 |
# Handling of the options. |
| 7391 |
_ACEOF |
6847 |
_ACEOF |
| 7392 |
cat >>$CONFIG_STATUS <<_ACEOF |
|
|
| 7393 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
| 7394 |
echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" |
| 7395 |
exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; |
| 7396 |
_ACEOF |
| 7397 |
cat >>$CONFIG_STATUS <<\_ACEOF |
6848 |
cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
6849 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
| 6850 |
ac_cs_recheck=: ;; |
| 7398 |
--version | --vers* | -V ) |
6851 |
--version | --vers* | -V ) |
| 7399 |
echo "$ac_cs_version"; exit 0 ;; |
6852 |
echo "$ac_cs_version"; exit 0 ;; |
| 7400 |
--he | --h) |
6853 |
--he | --h) |
|
Lines 7409-7421
Link Here
|
| 7409 |
--debug | --d* | -d ) |
6862 |
--debug | --d* | -d ) |
| 7410 |
debug=: ;; |
6863 |
debug=: ;; |
| 7411 |
--file | --fil | --fi | --f ) |
6864 |
--file | --fil | --fi | --f ) |
| 7412 |
shift |
6865 |
$ac_shift |
| 7413 |
CONFIG_FILES="$CONFIG_FILES $1" |
6866 |
CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
| 7414 |
ac_need_defaults=false;; |
6867 |
ac_need_defaults=false;; |
| 7415 |
--header | --heade | --head | --hea ) |
6868 |
--header | --heade | --head | --hea ) |
| 7416 |
shift |
6869 |
$ac_shift |
| 7417 |
CONFIG_HEADERS="$CONFIG_HEADERS $1" |
6870 |
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
| 7418 |
ac_need_defaults=false;; |
6871 |
ac_need_defaults=false;; |
|
|
6872 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 6873 |
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
| 6874 |
ac_cs_silent=: ;; |
| 7419 |
|
6875 |
|
| 7420 |
# This is an error. |
6876 |
# This is an error. |
| 7421 |
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
6877 |
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
|
Lines 7430-7435
Link Here
|
| 7430 |
shift |
6886 |
shift |
| 7431 |
done |
6887 |
done |
| 7432 |
|
6888 |
|
|
|
6889 |
ac_configure_extra_args= |
| 6890 |
|
| 6891 |
if $ac_cs_silent; then |
| 6892 |
exec 6>/dev/null |
| 6893 |
ac_configure_extra_args="$ac_configure_extra_args --silent" |
| 6894 |
fi |
| 6895 |
|
| 6896 |
_ACEOF |
| 6897 |
cat >>$CONFIG_STATUS <<_ACEOF |
| 6898 |
if \$ac_cs_recheck; then |
| 6899 |
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
| 6900 |
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| 6901 |
fi |
| 6902 |
|
| 7433 |
_ACEOF |
6903 |
_ACEOF |
| 7434 |
|
6904 |
|
| 7435 |
cat >>$CONFIG_STATUS <<_ACEOF |
6905 |
cat >>$CONFIG_STATUS <<_ACEOF |
|
Lines 7484-7489
Link Here
|
| 7484 |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
6954 |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
| 7485 |
fi |
6955 |
fi |
| 7486 |
|
6956 |
|
|
|
6957 |
# Have a temporary directory for convenience. Make it in the build tree |
| 6958 |
# simply because there is no reason to put it here, and in addition, |
| 6959 |
# creating and moving files from /tmp can sometimes cause problems. |
| 7487 |
# Create a temporary directory, and hook for its removal unless debugging. |
6960 |
# Create a temporary directory, and hook for its removal unless debugging. |
| 7488 |
$debug || |
6961 |
$debug || |
| 7489 |
{ |
6962 |
{ |
|
Lines 7492-7508
Link Here
|
| 7492 |
} |
6965 |
} |
| 7493 |
|
6966 |
|
| 7494 |
# Create a (secure) tmp directory for tmp files. |
6967 |
# Create a (secure) tmp directory for tmp files. |
| 7495 |
: ${TMPDIR=/tmp} |
6968 |
|
| 7496 |
{ |
6969 |
{ |
| 7497 |
tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && |
6970 |
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
| 7498 |
test -n "$tmp" && test -d "$tmp" |
6971 |
test -n "$tmp" && test -d "$tmp" |
| 7499 |
} || |
6972 |
} || |
| 7500 |
{ |
6973 |
{ |
| 7501 |
tmp=$TMPDIR/cs$$-$RANDOM |
6974 |
tmp=./confstat$$-$RANDOM |
| 7502 |
(umask 077 && mkdir $tmp) |
6975 |
(umask 077 && mkdir $tmp) |
| 7503 |
} || |
6976 |
} || |
| 7504 |
{ |
6977 |
{ |
| 7505 |
echo "$me: cannot create a temporary directory in $TMPDIR" >&2 |
6978 |
echo "$me: cannot create a temporary directory in ." >&2 |
| 7506 |
{ (exit 1); exit 1; } |
6979 |
{ (exit 1); exit 1; } |
| 7507 |
} |
6980 |
} |
| 7508 |
|
6981 |
|
|
Lines 7570-7575
Link Here
|
| 7570 |
s,@INTLTOOL_DESKTOP_RULE@,$INTLTOOL_DESKTOP_RULE,;t t |
7043 |
s,@INTLTOOL_DESKTOP_RULE@,$INTLTOOL_DESKTOP_RULE,;t t |
| 7571 |
s,@INTLTOOL_DIRECTORY_RULE@,$INTLTOOL_DIRECTORY_RULE,;t t |
7044 |
s,@INTLTOOL_DIRECTORY_RULE@,$INTLTOOL_DIRECTORY_RULE,;t t |
| 7572 |
s,@INTLTOOL_KEYS_RULE@,$INTLTOOL_KEYS_RULE,;t t |
7045 |
s,@INTLTOOL_KEYS_RULE@,$INTLTOOL_KEYS_RULE,;t t |
|
|
7046 |
s,@INTLTOOL_PROP_RULE@,$INTLTOOL_PROP_RULE,;t t |
| 7573 |
s,@INTLTOOL_OAF_RULE@,$INTLTOOL_OAF_RULE,;t t |
7047 |
s,@INTLTOOL_OAF_RULE@,$INTLTOOL_OAF_RULE,;t t |
| 7574 |
s,@INTLTOOL_PONG_RULE@,$INTLTOOL_PONG_RULE,;t t |
7048 |
s,@INTLTOOL_PONG_RULE@,$INTLTOOL_PONG_RULE,;t t |
| 7575 |
s,@INTLTOOL_SERVER_RULE@,$INTLTOOL_SERVER_RULE,;t t |
7049 |
s,@INTLTOOL_SERVER_RULE@,$INTLTOOL_SERVER_RULE,;t t |
|
Lines 7579-7584
Link Here
|
| 7579 |
s,@INTLTOOL_XML_RULE@,$INTLTOOL_XML_RULE,;t t |
7053 |
s,@INTLTOOL_XML_RULE@,$INTLTOOL_XML_RULE,;t t |
| 7580 |
s,@INTLTOOL_CAVES_RULE@,$INTLTOOL_CAVES_RULE,;t t |
7054 |
s,@INTLTOOL_CAVES_RULE@,$INTLTOOL_CAVES_RULE,;t t |
| 7581 |
s,@INTLTOOL_SCHEMAS_RULE@,$INTLTOOL_SCHEMAS_RULE,;t t |
7055 |
s,@INTLTOOL_SCHEMAS_RULE@,$INTLTOOL_SCHEMAS_RULE,;t t |
|
|
7056 |
s,@INTLTOOL_THEME_RULE@,$INTLTOOL_THEME_RULE,;t t |
| 7582 |
s,@INTLTOOL_EXTRACT@,$INTLTOOL_EXTRACT,;t t |
7057 |
s,@INTLTOOL_EXTRACT@,$INTLTOOL_EXTRACT,;t t |
| 7583 |
s,@INTLTOOL_MERGE@,$INTLTOOL_MERGE,;t t |
7058 |
s,@INTLTOOL_MERGE@,$INTLTOOL_MERGE,;t t |
| 7584 |
s,@INTLTOOL_UPDATE@,$INTLTOOL_UPDATE,;t t |
7059 |
s,@INTLTOOL_UPDATE@,$INTLTOOL_UPDATE,;t t |
|
Lines 7607-7617
Link Here
|
| 7607 |
s,@CCDEPMODE@,$CCDEPMODE,;t t |
7082 |
s,@CCDEPMODE@,$CCDEPMODE,;t t |
| 7608 |
s,@CCAS@,$CCAS,;t t |
7083 |
s,@CCAS@,$CCAS,;t t |
| 7609 |
s,@CCASFLAGS@,$CCASFLAGS,;t t |
7084 |
s,@CCASFLAGS@,$CCASFLAGS,;t t |
| 7610 |
s,@CPP@,$CPP,;t t |
|
|
| 7611 |
s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t |
| 7612 |
s,@RANLIB@,$RANLIB,;t t |
7085 |
s,@RANLIB@,$RANLIB,;t t |
| 7613 |
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
7086 |
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
| 7614 |
s,@ALLOCA@,$ALLOCA,;t t |
7087 |
s,@CPP@,$CPP,;t t |
|
|
7088 |
s,@EGREP@,$EGREP,;t t |
| 7089 |
s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t |
| 7615 |
s,@USE_NLS@,$USE_NLS,;t t |
7090 |
s,@USE_NLS@,$USE_NLS,;t t |
| 7616 |
s,@MSGFMT@,$MSGFMT,;t t |
7091 |
s,@MSGFMT@,$MSGFMT,;t t |
| 7617 |
s,@GMSGFMT@,$GMSGFMT,;t t |
7092 |
s,@GMSGFMT@,$GMSGFMT,;t t |
|
Lines 7621-7629
Link Here
|
| 7621 |
s,@DATADIRNAME@,$DATADIRNAME,;t t |
7096 |
s,@DATADIRNAME@,$DATADIRNAME,;t t |
| 7622 |
s,@GMOFILES@,$GMOFILES,;t t |
7097 |
s,@GMOFILES@,$GMOFILES,;t t |
| 7623 |
s,@INSTOBJEXT@,$INSTOBJEXT,;t t |
7098 |
s,@INSTOBJEXT@,$INSTOBJEXT,;t t |
| 7624 |
s,@INTLDEPS@,$INTLDEPS,;t t |
|
|
| 7625 |
s,@INTLLIBS@,$INTLLIBS,;t t |
7099 |
s,@INTLLIBS@,$INTLLIBS,;t t |
| 7626 |
s,@INTLOBJS@,$INTLOBJS,;t t |
7100 |
s,@PO_IN_DATADIR_TRUE@,$PO_IN_DATADIR_TRUE,;t t |
|
|
7101 |
s,@PO_IN_DATADIR_FALSE@,$PO_IN_DATADIR_FALSE,;t t |
| 7627 |
s,@POFILES@,$POFILES,;t t |
7102 |
s,@POFILES@,$POFILES,;t t |
| 7628 |
s,@POSUB@,$POSUB,;t t |
7103 |
s,@POSUB@,$POSUB,;t t |
| 7629 |
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t |
7104 |
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t |
|
Lines 7644-7649
Link Here
|
| 7644 |
s,@SODIPODI_LIBS@,$SODIPODI_LIBS,;t t |
7119 |
s,@SODIPODI_LIBS@,$SODIPODI_LIBS,;t t |
| 7645 |
s,@USE_MMX_TRUE@,$USE_MMX_TRUE,;t t |
7120 |
s,@USE_MMX_TRUE@,$USE_MMX_TRUE,;t t |
| 7646 |
s,@USE_MMX_FALSE@,$USE_MMX_FALSE,;t t |
7121 |
s,@USE_MMX_FALSE@,$USE_MMX_FALSE,;t t |
|
|
7122 |
s,@LIBOBJS@,$LIBOBJS,;t t |
| 7123 |
s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
| 7647 |
CEOF |
7124 |
CEOF |
| 7648 |
|
7125 |
|
| 7649 |
_ACEOF |
7126 |
_ACEOF |
|
Lines 7714-7738
Link Here
|
| 7714 |
/^X\(\/\/\)$/{ s//\1/; q; } |
7191 |
/^X\(\/\/\)$/{ s//\1/; q; } |
| 7715 |
/^X\(\/\).*/{ s//\1/; q; } |
7192 |
/^X\(\/\).*/{ s//\1/; q; } |
| 7716 |
s/.*/./; q'` |
7193 |
s/.*/./; q'` |
| 7717 |
{ case "$ac_dir" in |
7194 |
{ if $as_mkdir_p; then |
| 7718 |
[\\/]* | ?:[\\/]* ) as_incr_dir=;; |
7195 |
mkdir -p "$ac_dir" |
| 7719 |
*) as_incr_dir=.;; |
7196 |
else |
| 7720 |
esac |
7197 |
as_dir="$ac_dir" |
| 7721 |
as_dummy="$ac_dir" |
7198 |
as_dirs= |
| 7722 |
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do |
7199 |
while test ! -d "$as_dir"; do |
| 7723 |
case $as_mkdir_dir in |
7200 |
as_dirs="$as_dir $as_dirs" |
| 7724 |
# Skip DOS drivespec |
7201 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
| 7725 |
?:) as_incr_dir=$as_mkdir_dir ;; |
7202 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 7726 |
*) |
7203 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 7727 |
as_incr_dir=$as_incr_dir/$as_mkdir_dir |
7204 |
X"$as_dir" : 'X\(//\)$' \| \ |
| 7728 |
test -d "$as_incr_dir" || |
7205 |
X"$as_dir" : 'X\(/\)' \| \ |
| 7729 |
mkdir "$as_incr_dir" || |
7206 |
. : '\(.\)' 2>/dev/null || |
| 7730 |
{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 |
7207 |
echo X"$as_dir" | |
| 7731 |
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} |
7208 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 7732 |
{ (exit 1); exit 1; }; } |
7209 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 7733 |
;; |
7210 |
/^X\(\/\/\)$/{ s//\1/; q; } |
| 7734 |
esac |
7211 |
/^X\(\/\).*/{ s//\1/; q; } |
| 7735 |
done; } |
7212 |
s/.*/./; q'` |
|
|
7213 |
done |
| 7214 |
test ! -n "$as_dirs" || mkdir $as_dirs |
| 7215 |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
| 7216 |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
| 7217 |
{ (exit 1); exit 1; }; }; } |
| 7736 |
|
7218 |
|
| 7737 |
ac_builddir=. |
7219 |
ac_builddir=. |
| 7738 |
|
7220 |
|
|
Lines 7762-7768
Link Here
|
| 7762 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
7244 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
| 7763 |
# absolute. |
7245 |
# absolute. |
| 7764 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
7246 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
| 7765 |
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` |
7247 |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
| 7766 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
7248 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
| 7767 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
7249 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
| 7768 |
|
7250 |
|
|
Lines 7952-7958
Link Here
|
| 7952 |
# Break up conftest.defines because some shells have a limit on the size |
7434 |
# Break up conftest.defines because some shells have a limit on the size |
| 7953 |
# of here documents, and old seds have small limits too (100 cmds). |
7435 |
# of here documents, and old seds have small limits too (100 cmds). |
| 7954 |
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
7436 |
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
| 7955 |
echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
7437 |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
| 7956 |
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
7438 |
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
| 7957 |
echo ' :' >>$CONFIG_STATUS |
7439 |
echo ' :' >>$CONFIG_STATUS |
| 7958 |
rm -f conftest.tail |
7440 |
rm -f conftest.tail |
|
Lines 7976-7982
Link Here
|
| 7976 |
mv conftest.tail conftest.defines |
7458 |
mv conftest.tail conftest.defines |
| 7977 |
done |
7459 |
done |
| 7978 |
rm -f conftest.defines |
7460 |
rm -f conftest.defines |
| 7979 |
echo ' fi # egrep' >>$CONFIG_STATUS |
7461 |
echo ' fi # grep' >>$CONFIG_STATUS |
| 7980 |
echo >>$CONFIG_STATUS |
7462 |
echo >>$CONFIG_STATUS |
| 7981 |
|
7463 |
|
| 7982 |
# Break up conftest.undefs because some shells have a limit on the size |
7464 |
# Break up conftest.undefs because some shells have a limit on the size |
|
Lines 8016-8022
Link Here
|
| 8016 |
cat $tmp/in >>$tmp/config.h |
7498 |
cat $tmp/in >>$tmp/config.h |
| 8017 |
rm -f $tmp/in |
7499 |
rm -f $tmp/in |
| 8018 |
if test x"$ac_file" != x-; then |
7500 |
if test x"$ac_file" != x-; then |
| 8019 |
if cmp -s $ac_file $tmp/config.h 2>/dev/null; then |
7501 |
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then |
| 8020 |
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
7502 |
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
| 8021 |
echo "$as_me: $ac_file is unchanged" >&6;} |
7503 |
echo "$as_me: $ac_file is unchanged" >&6;} |
| 8022 |
else |
7504 |
else |
|
Lines 8032-8056
Link Here
|
| 8032 |
/^X\(\/\/\)$/{ s//\1/; q; } |
7514 |
/^X\(\/\/\)$/{ s//\1/; q; } |
| 8033 |
/^X\(\/\).*/{ s//\1/; q; } |
7515 |
/^X\(\/\).*/{ s//\1/; q; } |
| 8034 |
s/.*/./; q'` |
7516 |
s/.*/./; q'` |
| 8035 |
{ case "$ac_dir" in |
7517 |
{ if $as_mkdir_p; then |
| 8036 |
[\\/]* | ?:[\\/]* ) as_incr_dir=;; |
7518 |
mkdir -p "$ac_dir" |
| 8037 |
*) as_incr_dir=.;; |
7519 |
else |
| 8038 |
esac |
7520 |
as_dir="$ac_dir" |
| 8039 |
as_dummy="$ac_dir" |
7521 |
as_dirs= |
| 8040 |
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do |
7522 |
while test ! -d "$as_dir"; do |
| 8041 |
case $as_mkdir_dir in |
7523 |
as_dirs="$as_dir $as_dirs" |
| 8042 |
# Skip DOS drivespec |
7524 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
| 8043 |
?:) as_incr_dir=$as_mkdir_dir ;; |
7525 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 8044 |
*) |
7526 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 8045 |
as_incr_dir=$as_incr_dir/$as_mkdir_dir |
7527 |
X"$as_dir" : 'X\(//\)$' \| \ |
| 8046 |
test -d "$as_incr_dir" || |
7528 |
X"$as_dir" : 'X\(/\)' \| \ |
| 8047 |
mkdir "$as_incr_dir" || |
7529 |
. : '\(.\)' 2>/dev/null || |
| 8048 |
{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 |
7530 |
echo X"$as_dir" | |
| 8049 |
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} |
7531 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 8050 |
{ (exit 1); exit 1; }; } |
7532 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 8051 |
;; |
7533 |
/^X\(\/\/\)$/{ s//\1/; q; } |
| 8052 |
esac |
7534 |
/^X\(\/\).*/{ s//\1/; q; } |
| 8053 |
done; } |
7535 |
s/.*/./; q'` |
|
|
7536 |
done |
| 7537 |
test ! -n "$as_dirs" || mkdir $as_dirs |
| 7538 |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
| 7539 |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
| 7540 |
{ (exit 1); exit 1; }; }; } |
| 8054 |
|
7541 |
|
| 8055 |
rm -f $ac_file |
7542 |
rm -f $ac_file |
| 8056 |
mv $tmp/config.h $ac_file |
7543 |
mv $tmp/config.h $ac_file |
|
Lines 8115-8121
Link Here
|
| 8115 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
7602 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
| 8116 |
# absolute. |
7603 |
# absolute. |
| 8117 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
7604 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
| 8118 |
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` |
7605 |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
| 8119 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
7606 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
| 8120 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
7607 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
| 8121 |
|
7608 |
|
|
Lines 8214-8238
Link Here
|
| 8214 |
/^X\(\/\/\)$/{ s//\1/; q; } |
7701 |
/^X\(\/\/\)$/{ s//\1/; q; } |
| 8215 |
/^X\(\/\).*/{ s//\1/; q; } |
7702 |
/^X\(\/\).*/{ s//\1/; q; } |
| 8216 |
s/.*/./; q'` |
7703 |
s/.*/./; q'` |
| 8217 |
{ case $dirpart/$fdir in |
7704 |
{ if $as_mkdir_p; then |
| 8218 |
[\\/]* | ?:[\\/]* ) as_incr_dir=;; |
7705 |
mkdir -p $dirpart/$fdir |
| 8219 |
*) as_incr_dir=.;; |
7706 |
else |
| 8220 |
esac |
7707 |
as_dir=$dirpart/$fdir |
| 8221 |
as_dummy=$dirpart/$fdir |
7708 |
as_dirs= |
| 8222 |
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do |
7709 |
while test ! -d "$as_dir"; do |
| 8223 |
case $as_mkdir_dir in |
7710 |
as_dirs="$as_dir $as_dirs" |
| 8224 |
# Skip DOS drivespec |
7711 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
| 8225 |
?:) as_incr_dir=$as_mkdir_dir ;; |
7712 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 8226 |
*) |
7713 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 8227 |
as_incr_dir=$as_incr_dir/$as_mkdir_dir |
7714 |
X"$as_dir" : 'X\(//\)$' \| \ |
| 8228 |
test -d "$as_incr_dir" || |
7715 |
X"$as_dir" : 'X\(/\)' \| \ |
| 8229 |
mkdir "$as_incr_dir" || |
7716 |
. : '\(.\)' 2>/dev/null || |
| 8230 |
{ { echo "$as_me:$LINENO: error: cannot create $dirpart/$fdir" >&5 |
7717 |
echo X"$as_dir" | |
| 8231 |
echo "$as_me: error: cannot create $dirpart/$fdir" >&2;} |
7718 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 8232 |
{ (exit 1); exit 1; }; } |
7719 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 8233 |
;; |
7720 |
/^X\(\/\/\)$/{ s//\1/; q; } |
| 8234 |
esac |
7721 |
/^X\(\/\).*/{ s//\1/; q; } |
| 8235 |
done; } |
7722 |
s/.*/./; q'` |
|
|
7723 |
done |
| 7724 |
test ! -n "$as_dirs" || mkdir $as_dirs |
| 7725 |
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 |
| 7726 |
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} |
| 7727 |
{ (exit 1); exit 1; }; }; } |
| 8236 |
|
7728 |
|
| 8237 |
# echo "creating $dirpart/$file" |
7729 |
# echo "creating $dirpart/$file" |
| 8238 |
echo '# dummy' > "$dirpart/$file" |
7730 |
echo '# dummy' > "$dirpart/$file" |
|
Lines 8264-8271
Link Here
|
| 8264 |
# need to make the FD available again. |
7756 |
# need to make the FD available again. |
| 8265 |
if test "$no_create" != yes; then |
7757 |
if test "$no_create" != yes; then |
| 8266 |
ac_cs_success=: |
7758 |
ac_cs_success=: |
|
|
7759 |
ac_config_status_args= |
| 7760 |
test "$silent" = yes && |
| 7761 |
ac_config_status_args="$ac_config_status_args --quiet" |
| 8267 |
exec 5>/dev/null |
7762 |
exec 5>/dev/null |
| 8268 |
$SHELL $CONFIG_STATUS || ac_cs_success=false |
7763 |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
| 8269 |
exec 5>>config.log |
7764 |
exec 5>>config.log |
| 8270 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
7765 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
| 8271 |
# would make configure fail if this is the last instruction. |
7766 |
# would make configure fail if this is the last instruction. |