1 |
|
#! /bin/sh |
2 |
|
# Guess values for system-dependent variables and create Makefiles. |
3 |
< |
# Generated by GNU Autoconf 2.61 for OOPSE 4.0. |
3 |
> |
# Generated by GNU Autoconf 2.62 for OOPSE 4.0. |
4 |
|
# |
5 |
|
# Report bugs to <gezelter@nd.edu>. |
6 |
|
# |
7 |
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
8 |
< |
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
8 |
> |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
9 |
|
# This configure script is free software; the Free Software Foundation |
10 |
|
# gives unlimited permission to copy, distribute and modify it. |
11 |
|
## --------------------- ## |
17 |
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
18 |
|
emulate sh |
19 |
|
NULLCMD=: |
20 |
< |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
20 |
> |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
21 |
|
# is contrary to our usage. Disable this feature. |
22 |
|
alias -g '${1+"$@"}'='"$@"' |
23 |
|
setopt NO_GLOB_SUBST |
39 |
|
as_cr_digits='0123456789' |
40 |
|
as_cr_alnum=$as_cr_Letters$as_cr_digits |
41 |
|
|
42 |
< |
# The user is always right. |
43 |
< |
if test "${PATH_SEPARATOR+set}" != set; then |
44 |
< |
echo "#! /bin/sh" >conf$$.sh |
45 |
< |
echo "exit 0" >>conf$$.sh |
46 |
< |
chmod +x conf$$.sh |
47 |
< |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
48 |
< |
PATH_SEPARATOR=';' |
42 |
> |
as_nl=' |
43 |
> |
' |
44 |
> |
export as_nl |
45 |
> |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
46 |
> |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
47 |
> |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
48 |
> |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
49 |
> |
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
50 |
> |
as_echo='printf %s\n' |
51 |
> |
as_echo_n='printf %s' |
52 |
> |
else |
53 |
> |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
54 |
> |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
55 |
> |
as_echo_n='/usr/ucb/echo -n' |
56 |
|
else |
57 |
< |
PATH_SEPARATOR=: |
57 |
> |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
58 |
> |
as_echo_n_body='eval |
59 |
> |
arg=$1; |
60 |
> |
case $arg in |
61 |
> |
*"$as_nl"*) |
62 |
> |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
63 |
> |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
64 |
> |
esac; |
65 |
> |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
66 |
> |
' |
67 |
> |
export as_echo_n_body |
68 |
> |
as_echo_n='sh -c $as_echo_n_body as_echo' |
69 |
|
fi |
70 |
< |
rm -f conf$$.sh |
70 |
> |
export as_echo_body |
71 |
> |
as_echo='sh -c $as_echo_body as_echo' |
72 |
|
fi |
73 |
|
|
74 |
+ |
# The user is always right. |
75 |
+ |
if test "${PATH_SEPARATOR+set}" != set; then |
76 |
+ |
PATH_SEPARATOR=: |
77 |
+ |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
78 |
+ |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
79 |
+ |
PATH_SEPARATOR=';' |
80 |
+ |
} |
81 |
+ |
fi |
82 |
+ |
|
83 |
|
# Support unset when possible. |
84 |
|
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
85 |
|
as_unset=unset |
93 |
|
# there to prevent editors from complaining about space-tab. |
94 |
|
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
95 |
|
# splitting by setting IFS to empty value.) |
68 |
– |
as_nl=' |
69 |
– |
' |
96 |
|
IFS=" "" $as_nl" |
97 |
|
|
98 |
|
# Find who we are. Look in the path if we contain no directory separator. |
115 |
|
as_myself=$0 |
116 |
|
fi |
117 |
|
if test ! -f "$as_myself"; then |
118 |
< |
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
118 |
> |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
119 |
|
{ (exit 1); exit 1; } |
120 |
|
fi |
121 |
|
|
128 |
|
PS4='+ ' |
129 |
|
|
130 |
|
# NLS nuisances. |
131 |
< |
for as_var in \ |
132 |
< |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
133 |
< |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
134 |
< |
LC_TELEPHONE LC_TIME |
109 |
< |
do |
110 |
< |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
111 |
< |
eval $as_var=C; export $as_var |
112 |
< |
else |
113 |
< |
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
114 |
< |
fi |
115 |
< |
done |
131 |
> |
LC_ALL=C |
132 |
> |
export LC_ALL |
133 |
> |
LANGUAGE=C |
134 |
> |
export LANGUAGE |
135 |
|
|
136 |
|
# Required to use basename. |
137 |
|
if expr a : '\(a\)' >/dev/null 2>&1 && |
153 |
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
154 |
|
X"$0" : 'X\(//\)$' \| \ |
155 |
|
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
156 |
< |
echo X/"$0" | |
156 |
> |
$as_echo X/"$0" | |
157 |
|
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
158 |
|
s//\1/ |
159 |
|
q |
179 |
|
as_have_required=no |
180 |
|
fi |
181 |
|
|
182 |
< |
if test $as_have_required = yes && (eval ": |
182 |
> |
if test $as_have_required = yes && (eval ": |
183 |
|
(as_func_return () { |
184 |
|
(exit \$1) |
185 |
|
} |
261 |
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
262 |
|
emulate sh |
263 |
|
NULLCMD=: |
264 |
< |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
264 |
> |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
265 |
|
# is contrary to our usage. Disable this feature. |
266 |
|
alias -g '${1+"$@"}'='"$@"' |
267 |
|
setopt NO_GLOB_SUBST |
282 |
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
283 |
|
emulate sh |
284 |
|
NULLCMD=: |
285 |
< |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
285 |
> |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
286 |
|
# is contrary to our usage. Disable this feature. |
287 |
|
alias -g '${1+"$@"}'='"$@"' |
288 |
|
setopt NO_GLOB_SUBST |
362 |
|
|
363 |
|
if test "x$CONFIG_SHELL" != x; then |
364 |
|
for as_var in BASH_ENV ENV |
365 |
< |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
366 |
< |
done |
367 |
< |
export CONFIG_SHELL |
368 |
< |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
365 |
> |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
366 |
> |
done |
367 |
> |
export CONFIG_SHELL |
368 |
> |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
369 |
|
fi |
370 |
|
|
371 |
|
|
434 |
|
|
435 |
|
test \$exitcode = 0") || { |
436 |
|
echo No shell found that supports shell functions. |
437 |
< |
echo Please tell autoconf@gnu.org about your system, |
438 |
< |
echo including any error possibly output before this |
439 |
< |
echo message |
437 |
> |
echo Please tell bug-autoconf@gnu.org about your system, |
438 |
> |
echo including any error possibly output before this message. |
439 |
> |
echo This can help us improve future autoconf versions. |
440 |
> |
echo Configuration will now proceed without shell functions. |
441 |
|
} |
442 |
|
|
443 |
|
|
473 |
|
s/-\n.*// |
474 |
|
' >$as_me.lineno && |
475 |
|
chmod +x "$as_me.lineno" || |
476 |
< |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
476 |
> |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
477 |
|
{ (exit 1); exit 1; }; } |
478 |
|
|
479 |
|
# Don't try to exec as it changes $[0], causing all sort of problems |
501 |
|
*) |
502 |
|
ECHO_N='-n';; |
503 |
|
esac |
484 |
– |
|
504 |
|
if expr a : '\(a\)' >/dev/null 2>&1 && |
505 |
|
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
506 |
|
as_expr=expr |
513 |
|
rm -f conf$$.dir/conf$$.file |
514 |
|
else |
515 |
|
rm -f conf$$.dir |
516 |
< |
mkdir conf$$.dir |
516 |
> |
mkdir conf$$.dir 2>/dev/null |
517 |
|
fi |
518 |
< |
echo >conf$$.file |
519 |
< |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
520 |
< |
as_ln_s='ln -s' |
521 |
< |
# ... but there are two gotchas: |
522 |
< |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
523 |
< |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
524 |
< |
# In both cases, we have to default to `cp -p'. |
525 |
< |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
518 |
> |
if (echo >conf$$.file) 2>/dev/null; then |
519 |
> |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
520 |
> |
as_ln_s='ln -s' |
521 |
> |
# ... but there are two gotchas: |
522 |
> |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
523 |
> |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
524 |
> |
# In both cases, we have to default to `cp -p'. |
525 |
> |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
526 |
> |
as_ln_s='cp -p' |
527 |
> |
elif ln conf$$.file conf$$ 2>/dev/null; then |
528 |
> |
as_ln_s=ln |
529 |
> |
else |
530 |
|
as_ln_s='cp -p' |
531 |
< |
elif ln conf$$.file conf$$ 2>/dev/null; then |
509 |
< |
as_ln_s=ln |
531 |
> |
fi |
532 |
|
else |
533 |
|
as_ln_s='cp -p' |
534 |
|
fi |
553 |
|
as_test_x=' |
554 |
|
eval sh -c '\'' |
555 |
|
if test -d "$1"; then |
556 |
< |
test -d "$1/."; |
556 |
> |
test -d "$1/."; |
557 |
|
else |
558 |
|
case $1 in |
559 |
< |
-*)set "./$1";; |
559 |
> |
-*)set "./$1";; |
560 |
|
esac; |
561 |
|
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
562 |
|
???[sx]*):;;*)false;;esac;fi |
721 |
|
LN_S |
722 |
|
SET_MAKE |
723 |
|
RANLIB |
702 |
– |
YACC |
703 |
– |
YFLAGS |
704 |
– |
LEX |
705 |
– |
LEX_OUTPUT_ROOT |
706 |
– |
LEXLIB |
724 |
|
PERLINTERP |
725 |
|
PERL_SHEBANG |
726 |
|
INSTALL_PROGRAM |
756 |
|
USE_OPENBABEL |
757 |
|
LIBOBJS |
758 |
|
POW_LIB |
742 |
– |
__func__ |
759 |
|
CGAL_MAKEFILE |
760 |
|
CGAL_CXXFLAGS |
761 |
|
CGAL_CPPFLAGS |
775 |
|
SUBDIRS |
776 |
|
LTLIBOBJS' |
777 |
|
ac_subst_files='' |
778 |
+ |
ac_user_opts=' |
779 |
+ |
enable_option_checking |
780 |
+ |
enable_oopse_home |
781 |
+ |
enable_debug |
782 |
+ |
enable_single |
783 |
+ |
enable_float |
784 |
+ |
with_mpi |
785 |
+ |
with_perl_shebang |
786 |
+ |
with_zlib |
787 |
+ |
with_fftw |
788 |
+ |
with_qhull |
789 |
+ |
with_openbabel |
790 |
+ |
with_cgalmakefile |
791 |
+ |
enable_doxygen |
792 |
+ |
enable_dot |
793 |
+ |
enable_html_docs |
794 |
+ |
enable_latex_docs |
795 |
+ |
' |
796 |
|
ac_precious_vars='build_alias |
797 |
|
host_alias |
798 |
|
target_alias |
807 |
|
FC |
808 |
|
FCFLAGS |
809 |
|
CPP |
776 |
– |
YACC |
777 |
– |
YFLAGS |
810 |
|
CXXCPP' |
811 |
|
|
812 |
|
|
813 |
|
# Initialize some variables set by options. |
814 |
|
ac_init_help= |
815 |
|
ac_init_version=false |
816 |
+ |
ac_unrecognized_opts= |
817 |
+ |
ac_unrecognized_sep= |
818 |
|
# The variables have the same names as the options, with |
819 |
|
# dashes changed to underlines. |
820 |
|
cache_file=/dev/null |
913 |
|
datarootdir=$ac_optarg ;; |
914 |
|
|
915 |
|
-disable-* | --disable-*) |
916 |
< |
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
916 |
> |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
917 |
|
# Reject names that are not valid shell variable names. |
918 |
< |
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
919 |
< |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
918 |
> |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
919 |
> |
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
920 |
|
{ (exit 1); exit 1; }; } |
921 |
< |
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
922 |
< |
eval enable_$ac_feature=no ;; |
921 |
> |
ac_useropt_orig=$ac_useropt |
922 |
> |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
923 |
> |
case $ac_user_opts in |
924 |
> |
*" |
925 |
> |
"enable_$ac_useropt" |
926 |
> |
"*) ;; |
927 |
> |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
928 |
> |
ac_unrecognized_sep=', ';; |
929 |
> |
esac |
930 |
> |
eval enable_$ac_useropt=no ;; |
931 |
|
|
932 |
|
-docdir | --docdir | --docdi | --doc | --do) |
933 |
|
ac_prev=docdir ;; |
940 |
|
dvidir=$ac_optarg ;; |
941 |
|
|
942 |
|
-enable-* | --enable-*) |
943 |
< |
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
943 |
> |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
944 |
|
# Reject names that are not valid shell variable names. |
945 |
< |
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
946 |
< |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
945 |
> |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
946 |
> |
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
947 |
|
{ (exit 1); exit 1; }; } |
948 |
< |
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
949 |
< |
eval enable_$ac_feature=\$ac_optarg ;; |
948 |
> |
ac_useropt_orig=$ac_useropt |
949 |
> |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
950 |
> |
case $ac_user_opts in |
951 |
> |
*" |
952 |
> |
"enable_$ac_useropt" |
953 |
> |
"*) ;; |
954 |
> |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
955 |
> |
ac_unrecognized_sep=', ';; |
956 |
> |
esac |
957 |
> |
eval enable_$ac_useropt=\$ac_optarg ;; |
958 |
|
|
959 |
|
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
960 |
|
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
1145 |
|
ac_init_version=: ;; |
1146 |
|
|
1147 |
|
-with-* | --with-*) |
1148 |
< |
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1148 |
> |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1149 |
|
# Reject names that are not valid shell variable names. |
1150 |
< |
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1151 |
< |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
1150 |
> |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1151 |
> |
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
1152 |
|
{ (exit 1); exit 1; }; } |
1153 |
< |
ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
1154 |
< |
eval with_$ac_package=\$ac_optarg ;; |
1153 |
> |
ac_useropt_orig=$ac_useropt |
1154 |
> |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1155 |
> |
case $ac_user_opts in |
1156 |
> |
*" |
1157 |
> |
"with_$ac_useropt" |
1158 |
> |
"*) ;; |
1159 |
> |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
1160 |
> |
ac_unrecognized_sep=', ';; |
1161 |
> |
esac |
1162 |
> |
eval with_$ac_useropt=\$ac_optarg ;; |
1163 |
|
|
1164 |
|
-without-* | --without-*) |
1165 |
< |
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1165 |
> |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1166 |
|
# Reject names that are not valid shell variable names. |
1167 |
< |
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1168 |
< |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
1167 |
> |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1168 |
> |
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
1169 |
|
{ (exit 1); exit 1; }; } |
1170 |
< |
ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
1171 |
< |
eval with_$ac_package=no ;; |
1170 |
> |
ac_useropt_orig=$ac_useropt |
1171 |
> |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1172 |
> |
case $ac_user_opts in |
1173 |
> |
*" |
1174 |
> |
"with_$ac_useropt" |
1175 |
> |
"*) ;; |
1176 |
> |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
1177 |
> |
ac_unrecognized_sep=', ';; |
1178 |
> |
esac |
1179 |
> |
eval with_$ac_useropt=no ;; |
1180 |
|
|
1181 |
|
--x) |
1182 |
|
# Obsolete; use --with-x. |
1196 |
|
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1197 |
|
x_libraries=$ac_optarg ;; |
1198 |
|
|
1199 |
< |
-*) { echo "$as_me: error: unrecognized option: $ac_option |
1199 |
> |
-*) { $as_echo "$as_me: error: unrecognized option: $ac_option |
1200 |
|
Try \`$0 --help' for more information." >&2 |
1201 |
|
{ (exit 1); exit 1; }; } |
1202 |
|
;; |
1205 |
|
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1206 |
|
# Reject names that are not valid shell variable names. |
1207 |
|
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
1208 |
< |
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
1208 |
> |
{ $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
1209 |
|
{ (exit 1); exit 1; }; } |
1210 |
|
eval $ac_envvar=\$ac_optarg |
1211 |
|
export $ac_envvar ;; |
1212 |
|
|
1213 |
|
*) |
1214 |
|
# FIXME: should be removed in autoconf 3.0. |
1215 |
< |
echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1215 |
> |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1216 |
|
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1217 |
< |
echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1217 |
> |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1218 |
|
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1219 |
|
;; |
1220 |
|
|
1223 |
|
|
1224 |
|
if test -n "$ac_prev"; then |
1225 |
|
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1226 |
< |
{ echo "$as_me: error: missing argument to $ac_option" >&2 |
1226 |
> |
{ $as_echo "$as_me: error: missing argument to $ac_option" >&2 |
1227 |
|
{ (exit 1); exit 1; }; } |
1228 |
|
fi |
1229 |
|
|
1230 |
< |
# Be sure to have absolute directory names. |
1230 |
> |
if test -n "$ac_unrecognized_opts"; then |
1231 |
> |
case $enable_option_checking in |
1232 |
> |
no) ;; |
1233 |
> |
fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2 |
1234 |
> |
{ (exit 1); exit 1; }; } ;; |
1235 |
> |
*) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1236 |
> |
esac |
1237 |
> |
fi |
1238 |
> |
|
1239 |
> |
# Check all directory arguments for consistency. |
1240 |
|
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1241 |
|
datadir sysconfdir sharedstatedir localstatedir includedir \ |
1242 |
|
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1243 |
|
libdir localedir mandir |
1244 |
|
do |
1245 |
|
eval ac_val=\$$ac_var |
1246 |
+ |
# Remove trailing slashes. |
1247 |
|
case $ac_val in |
1248 |
+ |
*/ ) |
1249 |
+ |
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
1250 |
+ |
eval $ac_var=\$ac_val;; |
1251 |
+ |
esac |
1252 |
+ |
# Be sure to have absolute directory names. |
1253 |
+ |
case $ac_val in |
1254 |
|
[\\/$]* | ?:[\\/]* ) continue;; |
1255 |
|
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1256 |
|
esac |
1257 |
< |
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
1257 |
> |
{ $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
1258 |
|
{ (exit 1); exit 1; }; } |
1259 |
|
done |
1260 |
|
|
1269 |
|
if test "x$host_alias" != x; then |
1270 |
|
if test "x$build_alias" = x; then |
1271 |
|
cross_compiling=maybe |
1272 |
< |
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
1272 |
> |
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
1273 |
|
If a cross compiler is detected then cross compile mode will be used." >&2 |
1274 |
|
elif test "x$build_alias" != "x$host_alias"; then |
1275 |
|
cross_compiling=yes |
1285 |
|
ac_pwd=`pwd` && test -n "$ac_pwd" && |
1286 |
|
ac_ls_di=`ls -di .` && |
1287 |
|
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1288 |
< |
{ echo "$as_me: error: Working directory cannot be determined" >&2 |
1288 |
> |
{ $as_echo "$as_me: error: Working directory cannot be determined" >&2 |
1289 |
|
{ (exit 1); exit 1; }; } |
1290 |
|
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1291 |
< |
{ echo "$as_me: error: pwd does not report name of working directory" >&2 |
1291 |
> |
{ $as_echo "$as_me: error: pwd does not report name of working directory" >&2 |
1292 |
|
{ (exit 1); exit 1; }; } |
1293 |
|
|
1294 |
|
|
1296 |
|
if test -z "$srcdir"; then |
1297 |
|
ac_srcdir_defaulted=yes |
1298 |
|
# Try the directory containing this script, then the parent directory. |
1299 |
< |
ac_confdir=`$as_dirname -- "$0" || |
1300 |
< |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1301 |
< |
X"$0" : 'X\(//\)[^/]' \| \ |
1302 |
< |
X"$0" : 'X\(//\)$' \| \ |
1303 |
< |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
1304 |
< |
echo X"$0" | |
1299 |
> |
ac_confdir=`$as_dirname -- "$as_myself" || |
1300 |
> |
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1301 |
> |
X"$as_myself" : 'X\(//\)[^/]' \| \ |
1302 |
> |
X"$as_myself" : 'X\(//\)$' \| \ |
1303 |
> |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
1304 |
> |
$as_echo X"$as_myself" | |
1305 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1306 |
|
s//\1/ |
1307 |
|
q |
1328 |
|
fi |
1329 |
|
if test ! -r "$srcdir/$ac_unique_file"; then |
1330 |
|
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1331 |
< |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
1331 |
> |
{ $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
1332 |
|
{ (exit 1); exit 1; }; } |
1333 |
|
fi |
1334 |
|
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1335 |
|
ac_abs_confdir=`( |
1336 |
< |
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 |
1336 |
> |
cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 |
1337 |
|
{ (exit 1); exit 1; }; } |
1338 |
|
pwd)` |
1339 |
|
# When building in place, set srcdir=. |
1382 |
|
|
1383 |
|
Installation directories: |
1384 |
|
--prefix=PREFIX install architecture-independent files in PREFIX |
1385 |
< |
[$ac_default_prefix] |
1385 |
> |
[$ac_default_prefix] |
1386 |
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1387 |
< |
[PREFIX] |
1387 |
> |
[PREFIX] |
1388 |
|
|
1389 |
|
By default, \`make install' will install all the files in |
1390 |
|
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
1394 |
|
For better control, use the options below. |
1395 |
|
|
1396 |
|
Fine tuning of the installation directories: |
1397 |
< |
--bindir=DIR user executables [EPREFIX/bin] |
1398 |
< |
--sbindir=DIR system admin executables [EPREFIX/sbin] |
1399 |
< |
--libexecdir=DIR program executables [EPREFIX/libexec] |
1400 |
< |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1401 |
< |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1402 |
< |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1403 |
< |
--libdir=DIR object code libraries [EPREFIX/lib] |
1404 |
< |
--includedir=DIR C header files [PREFIX/include] |
1405 |
< |
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
1406 |
< |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1407 |
< |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1408 |
< |
--infodir=DIR info documentation [DATAROOTDIR/info] |
1409 |
< |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1410 |
< |
--mandir=DIR man documentation [DATAROOTDIR/man] |
1411 |
< |
--docdir=DIR documentation root [DATAROOTDIR/doc/oopse] |
1412 |
< |
--htmldir=DIR html documentation [DOCDIR] |
1413 |
< |
--dvidir=DIR dvi documentation [DOCDIR] |
1414 |
< |
--pdfdir=DIR pdf documentation [DOCDIR] |
1415 |
< |
--psdir=DIR ps documentation [DOCDIR] |
1397 |
> |
--bindir=DIR user executables [EPREFIX/bin] |
1398 |
> |
--sbindir=DIR system admin executables [EPREFIX/sbin] |
1399 |
> |
--libexecdir=DIR program executables [EPREFIX/libexec] |
1400 |
> |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1401 |
> |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1402 |
> |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1403 |
> |
--libdir=DIR object code libraries [EPREFIX/lib] |
1404 |
> |
--includedir=DIR C header files [PREFIX/include] |
1405 |
> |
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
1406 |
> |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1407 |
> |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1408 |
> |
--infodir=DIR info documentation [DATAROOTDIR/info] |
1409 |
> |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1410 |
> |
--mandir=DIR man documentation [DATAROOTDIR/man] |
1411 |
> |
--docdir=DIR documentation root [DATAROOTDIR/doc/oopse] |
1412 |
> |
--htmldir=DIR html documentation [DOCDIR] |
1413 |
> |
--dvidir=DIR dvi documentation [DOCDIR] |
1414 |
> |
--pdfdir=DIR pdf documentation [DOCDIR] |
1415 |
> |
--psdir=DIR ps documentation [DOCDIR] |
1416 |
|
_ACEOF |
1417 |
|
|
1418 |
|
cat <<\_ACEOF |
1430 |
|
cat <<\_ACEOF |
1431 |
|
|
1432 |
|
Optional Features: |
1433 |
+ |
--disable-option-checking ignore unrecognized --enable/--with options |
1434 |
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1435 |
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1436 |
|
--enable-oopse-home=DIR define oopse home dir PREFIX/oopse |
1475 |
|
FC Fortran compiler command |
1476 |
|
FCFLAGS Fortran compiler flags |
1477 |
|
CPP C preprocessor |
1395 |
– |
YACC The `Yet Another C Compiler' implementation to use. Defaults to |
1396 |
– |
the first program found out of: `bison -y', `byacc', `yacc'. |
1397 |
– |
YFLAGS The list of arguments that will be passed by default to $YACC. |
1398 |
– |
This script will default YFLAGS to the empty string to avoid a |
1399 |
– |
default value of `-d' given by some make applications. |
1478 |
|
CXXCPP C++ preprocessor |
1479 |
|
|
1480 |
|
Use these variables to override the choices made by `configure' or to help |
1488 |
|
if test "$ac_init_help" = "recursive"; then |
1489 |
|
# If there are subdirs, report their specific --help. |
1490 |
|
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1491 |
< |
test -d "$ac_dir" || continue |
1491 |
> |
test -d "$ac_dir" || |
1492 |
> |
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
1493 |
> |
continue |
1494 |
|
ac_builddir=. |
1495 |
|
|
1496 |
|
case "$ac_dir" in |
1497 |
|
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1498 |
|
*) |
1499 |
< |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
1499 |
> |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
1500 |
|
# A ".." for each directory in $ac_dir_suffix. |
1501 |
< |
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
1501 |
> |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
1502 |
|
case $ac_top_builddir_sub in |
1503 |
|
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1504 |
|
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1534 |
|
echo && |
1535 |
|
$SHELL "$ac_srcdir/configure" --help=recursive |
1536 |
|
else |
1537 |
< |
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1537 |
> |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1538 |
|
fi || ac_status=$? |
1539 |
|
cd "$ac_pwd" || { ac_status=$?; break; } |
1540 |
|
done |
1544 |
|
if $ac_init_version; then |
1545 |
|
cat <<\_ACEOF |
1546 |
|
OOPSE configure 4.0 |
1547 |
< |
generated by GNU Autoconf 2.61 |
1547 |
> |
generated by GNU Autoconf 2.62 |
1548 |
|
|
1549 |
|
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
1550 |
< |
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
1550 |
> |
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
1551 |
|
This configure script is free software; the Free Software Foundation |
1552 |
|
gives unlimited permission to copy, distribute and modify it. |
1553 |
|
_ACEOF |
1558 |
|
running configure, to aid debugging if configure makes a mistake. |
1559 |
|
|
1560 |
|
It was created by OOPSE $as_me 4.0, which was |
1561 |
< |
generated by GNU Autoconf 2.61. Invocation command line was |
1561 |
> |
generated by GNU Autoconf 2.62. Invocation command line was |
1562 |
|
|
1563 |
|
$ $0 $@ |
1564 |
|
|
1594 |
|
do |
1595 |
|
IFS=$as_save_IFS |
1596 |
|
test -z "$as_dir" && as_dir=. |
1597 |
< |
echo "PATH: $as_dir" |
1597 |
> |
$as_echo "PATH: $as_dir" |
1598 |
|
done |
1599 |
|
IFS=$as_save_IFS |
1600 |
|
|
1629 |
|
| -silent | --silent | --silen | --sile | --sil) |
1630 |
|
continue ;; |
1631 |
|
*\'*) |
1632 |
< |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1632 |
> |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1633 |
|
esac |
1634 |
|
case $ac_pass in |
1635 |
|
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1681 |
|
case $ac_val in #( |
1682 |
|
*${as_nl}*) |
1683 |
|
case $ac_var in #( |
1684 |
< |
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
1685 |
< |
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
1684 |
> |
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
1685 |
> |
$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
1686 |
|
esac |
1687 |
|
case $ac_var in #( |
1688 |
|
_ | IFS | as_nl) ;; #( |
1689 |
+ |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
1690 |
|
*) $as_unset $ac_var ;; |
1691 |
|
esac ;; |
1692 |
|
esac |
1716 |
|
do |
1717 |
|
eval ac_val=\$$ac_var |
1718 |
|
case $ac_val in |
1719 |
< |
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1719 |
> |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1720 |
|
esac |
1721 |
< |
echo "$ac_var='\''$ac_val'\''" |
1721 |
> |
$as_echo "$ac_var='\''$ac_val'\''" |
1722 |
|
done | sort |
1723 |
|
echo |
1724 |
|
|
1733 |
|
do |
1734 |
|
eval ac_val=\$$ac_var |
1735 |
|
case $ac_val in |
1736 |
< |
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1736 |
> |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1737 |
|
esac |
1738 |
< |
echo "$ac_var='\''$ac_val'\''" |
1738 |
> |
$as_echo "$ac_var='\''$ac_val'\''" |
1739 |
|
done | sort |
1740 |
|
echo |
1741 |
|
fi |
1751 |
|
echo |
1752 |
|
fi |
1753 |
|
test "$ac_signal" != 0 && |
1754 |
< |
echo "$as_me: caught signal $ac_signal" |
1755 |
< |
echo "$as_me: exit $exit_status" |
1754 |
> |
$as_echo "$as_me: caught signal $ac_signal" |
1755 |
> |
$as_echo "$as_me: exit $exit_status" |
1756 |
|
} >&5 |
1757 |
|
rm -f core *.core core.conftest.* && |
1758 |
|
rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
1794 |
|
|
1795 |
|
|
1796 |
|
# Let the site file select an alternate cache file if it wants to. |
1797 |
< |
# Prefer explicitly selected file to automatically selected ones. |
1797 |
> |
# Prefer an explicitly selected file to automatically selected ones. |
1798 |
> |
ac_site_file1=NONE |
1799 |
> |
ac_site_file2=NONE |
1800 |
|
if test -n "$CONFIG_SITE"; then |
1801 |
< |
set x "$CONFIG_SITE" |
1801 |
> |
ac_site_file1=$CONFIG_SITE |
1802 |
|
elif test "x$prefix" != xNONE; then |
1803 |
< |
set x "$prefix/share/config.site" "$prefix/etc/config.site" |
1803 |
> |
ac_site_file1=$prefix/share/config.site |
1804 |
> |
ac_site_file2=$prefix/etc/config.site |
1805 |
|
else |
1806 |
< |
set x "$ac_default_prefix/share/config.site" \ |
1807 |
< |
"$ac_default_prefix/etc/config.site" |
1806 |
> |
ac_site_file1=$ac_default_prefix/share/config.site |
1807 |
> |
ac_site_file2=$ac_default_prefix/etc/config.site |
1808 |
|
fi |
1809 |
< |
shift |
1726 |
< |
for ac_site_file |
1809 |
> |
for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
1810 |
|
do |
1811 |
+ |
test "x$ac_site_file" = xNONE && continue |
1812 |
|
if test -r "$ac_site_file"; then |
1813 |
< |
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
1814 |
< |
echo "$as_me: loading site script $ac_site_file" >&6;} |
1813 |
> |
{ $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
1814 |
> |
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
1815 |
|
sed 's/^/| /' "$ac_site_file" >&5 |
1816 |
|
. "$ac_site_file" |
1817 |
|
fi |
1821 |
|
# Some versions of bash will fail to source /dev/null (special |
1822 |
|
# files actually), so we avoid doing that. |
1823 |
|
if test -f "$cache_file"; then |
1824 |
< |
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
1825 |
< |
echo "$as_me: loading cache $cache_file" >&6;} |
1824 |
> |
{ $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
1825 |
> |
$as_echo "$as_me: loading cache $cache_file" >&6;} |
1826 |
|
case $cache_file in |
1827 |
|
[\\/]* | ?:[\\/]* ) . "$cache_file";; |
1828 |
|
*) . "./$cache_file";; |
1829 |
|
esac |
1830 |
|
fi |
1831 |
|
else |
1832 |
< |
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
1833 |
< |
echo "$as_me: creating cache $cache_file" >&6;} |
1832 |
> |
{ $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
1833 |
> |
$as_echo "$as_me: creating cache $cache_file" >&6;} |
1834 |
|
>$cache_file |
1835 |
|
fi |
1836 |
|
|
1844 |
|
eval ac_new_val=\$ac_env_${ac_var}_value |
1845 |
|
case $ac_old_set,$ac_new_set in |
1846 |
|
set,) |
1847 |
< |
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1848 |
< |
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1847 |
> |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1848 |
> |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1849 |
|
ac_cache_corrupted=: ;; |
1850 |
|
,set) |
1851 |
< |
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
1852 |
< |
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1851 |
> |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
1852 |
> |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1853 |
|
ac_cache_corrupted=: ;; |
1854 |
|
,);; |
1855 |
|
*) |
1856 |
|
if test "x$ac_old_val" != "x$ac_new_val"; then |
1857 |
< |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1858 |
< |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1859 |
< |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1860 |
< |
echo "$as_me: former value: $ac_old_val" >&2;} |
1861 |
< |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1862 |
< |
echo "$as_me: current value: $ac_new_val" >&2;} |
1863 |
< |
ac_cache_corrupted=: |
1857 |
> |
# differences in whitespace do not lead to failure. |
1858 |
> |
ac_old_val_w=`echo x $ac_old_val` |
1859 |
> |
ac_new_val_w=`echo x $ac_new_val` |
1860 |
> |
if test "$ac_old_val_w" != "$ac_new_val_w"; then |
1861 |
> |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1862 |
> |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1863 |
> |
ac_cache_corrupted=: |
1864 |
> |
else |
1865 |
> |
{ $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
1866 |
> |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
1867 |
> |
eval $ac_var=\$ac_old_val |
1868 |
> |
fi |
1869 |
> |
{ $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 |
1870 |
> |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
1871 |
> |
{ $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 |
1872 |
> |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
1873 |
|
fi;; |
1874 |
|
esac |
1875 |
|
# Pass precious variables to config.status. |
1876 |
|
if test "$ac_new_set" = set; then |
1877 |
|
case $ac_new_val in |
1878 |
< |
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1878 |
> |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1879 |
|
*) ac_arg=$ac_var=$ac_new_val ;; |
1880 |
|
esac |
1881 |
|
case " $ac_configure_args " in |
1885 |
|
fi |
1886 |
|
done |
1887 |
|
if $ac_cache_corrupted; then |
1888 |
< |
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
1889 |
< |
echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
1890 |
< |
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
1891 |
< |
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
1888 |
> |
{ $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
1889 |
> |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
1890 |
> |
{ { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
1891 |
> |
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
1892 |
|
{ (exit 1); exit 1; }; } |
1893 |
|
fi |
1894 |
|
|
1940 |
|
fi |
1941 |
|
done |
1942 |
|
if test -z "$ac_aux_dir"; then |
1943 |
< |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ac-tools \"$srcdir\"/ac-tools" >&5 |
1944 |
< |
echo "$as_me: error: cannot find install-sh or install.sh in ac-tools \"$srcdir\"/ac-tools" >&2;} |
1943 |
> |
{ { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ac-tools \"$srcdir\"/ac-tools" >&5 |
1944 |
> |
$as_echo "$as_me: error: cannot find install-sh or install.sh in ac-tools \"$srcdir\"/ac-tools" >&2;} |
1945 |
|
{ (exit 1); exit 1; }; } |
1946 |
|
fi |
1947 |
|
|
2182 |
|
# who am i |
2183 |
|
# Make sure we can run config.sub. |
2184 |
|
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
2185 |
< |
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 |
2186 |
< |
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} |
2185 |
> |
{ { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 |
2186 |
> |
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} |
2187 |
|
{ (exit 1); exit 1; }; } |
2188 |
|
|
2189 |
< |
{ echo "$as_me:$LINENO: checking build system type" >&5 |
2190 |
< |
echo $ECHO_N "checking build system type... $ECHO_C" >&6; } |
2189 |
> |
{ $as_echo "$as_me:$LINENO: checking build system type" >&5 |
2190 |
> |
$as_echo_n "checking build system type... " >&6; } |
2191 |
|
if test "${ac_cv_build+set}" = set; then |
2192 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2192 |
> |
$as_echo_n "(cached) " >&6 |
2193 |
|
else |
2194 |
|
ac_build_alias=$build_alias |
2195 |
|
test "x$ac_build_alias" = x && |
2196 |
|
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
2197 |
|
test "x$ac_build_alias" = x && |
2198 |
< |
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
2199 |
< |
echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
2198 |
> |
{ { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
2199 |
> |
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
2200 |
|
{ (exit 1); exit 1; }; } |
2201 |
|
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
2202 |
< |
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 |
2203 |
< |
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} |
2202 |
> |
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 |
2203 |
> |
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} |
2204 |
|
{ (exit 1); exit 1; }; } |
2205 |
|
|
2206 |
|
fi |
2207 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
2208 |
< |
echo "${ECHO_T}$ac_cv_build" >&6; } |
2207 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
2208 |
> |
$as_echo "$ac_cv_build" >&6; } |
2209 |
|
case $ac_cv_build in |
2210 |
|
*-*-*) ;; |
2211 |
< |
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 |
2212 |
< |
echo "$as_me: error: invalid value of canonical build" >&2;} |
2211 |
> |
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 |
2212 |
> |
$as_echo "$as_me: error: invalid value of canonical build" >&2;} |
2213 |
|
{ (exit 1); exit 1; }; };; |
2214 |
|
esac |
2215 |
|
build=$ac_cv_build |
2226 |
|
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
2227 |
|
|
2228 |
|
|
2229 |
< |
{ echo "$as_me:$LINENO: checking host system type" >&5 |
2230 |
< |
echo $ECHO_N "checking host system type... $ECHO_C" >&6; } |
2229 |
> |
{ $as_echo "$as_me:$LINENO: checking host system type" >&5 |
2230 |
> |
$as_echo_n "checking host system type... " >&6; } |
2231 |
|
if test "${ac_cv_host+set}" = set; then |
2232 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2232 |
> |
$as_echo_n "(cached) " >&6 |
2233 |
|
else |
2234 |
|
if test "x$host_alias" = x; then |
2235 |
|
ac_cv_host=$ac_cv_build |
2236 |
|
else |
2237 |
|
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
2238 |
< |
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 |
2239 |
< |
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} |
2238 |
> |
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 |
2239 |
> |
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} |
2240 |
|
{ (exit 1); exit 1; }; } |
2241 |
|
fi |
2242 |
|
|
2243 |
|
fi |
2244 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
2245 |
< |
echo "${ECHO_T}$ac_cv_host" >&6; } |
2244 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
2245 |
> |
$as_echo "$ac_cv_host" >&6; } |
2246 |
|
case $ac_cv_host in |
2247 |
|
*-*-*) ;; |
2248 |
< |
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 |
2249 |
< |
echo "$as_me: error: invalid value of canonical host" >&2;} |
2248 |
> |
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 |
2249 |
> |
$as_echo "$as_me: error: invalid value of canonical host" >&2;} |
2250 |
|
{ (exit 1); exit 1; }; };; |
2251 |
|
esac |
2252 |
|
host=$ac_cv_host |
2334 |
|
do |
2335 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
2336 |
|
set dummy $ac_prog; ac_word=$2 |
2337 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2338 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2337 |
> |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2338 |
> |
$as_echo_n "checking for $ac_word... " >&6; } |
2339 |
|
if test "${ac_cv_prog_ac_cc_set+set}" = set; then |
2340 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2340 |
> |
$as_echo_n "(cached) " >&6 |
2341 |
|
else |
2342 |
|
if test -n "$ac_cc_set"; then |
2343 |
|
ac_cv_prog_ac_cc_set="$ac_cc_set" # Let the user override the test. |
2350 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2351 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2352 |
|
ac_cv_prog_ac_cc_set="$ac_prog" |
2353 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2353 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2354 |
|
break 2 |
2355 |
|
fi |
2356 |
|
done |
2361 |
|
fi |
2362 |
|
ac_cc_set=$ac_cv_prog_ac_cc_set |
2363 |
|
if test -n "$ac_cc_set"; then |
2364 |
< |
{ echo "$as_me:$LINENO: result: $ac_cc_set" >&5 |
2365 |
< |
echo "${ECHO_T}$ac_cc_set" >&6; } |
2364 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cc_set" >&5 |
2365 |
> |
$as_echo "$ac_cc_set" >&6; } |
2366 |
|
else |
2367 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
2368 |
< |
echo "${ECHO_T}no" >&6; } |
2367 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2368 |
> |
$as_echo "no" >&6; } |
2369 |
|
fi |
2370 |
|
|
2371 |
|
|
2377 |
|
|
2378 |
|
# Extract the first word of "$ac_cc_set", so it can be a program name with args. |
2379 |
|
set dummy $ac_cc_set; ac_word=$2 |
2380 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2381 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2380 |
> |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2381 |
> |
$as_echo_n "checking for $ac_word... " >&6; } |
2382 |
|
if test "${ac_cv_path_ac_cc_path+set}" = set; then |
2383 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2383 |
> |
$as_echo_n "(cached) " >&6 |
2384 |
|
else |
2385 |
|
case $ac_cc_path in |
2386 |
|
[\\/]* | ?:[\\/]*) |
2395 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2396 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2397 |
|
ac_cv_path_ac_cc_path="$as_dir/$ac_word$ac_exec_ext" |
2398 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2398 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2399 |
|
break 2 |
2400 |
|
fi |
2401 |
|
done |
2408 |
|
fi |
2409 |
|
ac_cc_path=$ac_cv_path_ac_cc_path |
2410 |
|
if test -n "$ac_cc_path"; then |
2411 |
< |
{ echo "$as_me:$LINENO: result: $ac_cc_path" >&5 |
2412 |
< |
echo "${ECHO_T}$ac_cc_path" >&6; } |
2411 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cc_path" >&5 |
2412 |
> |
$as_echo "$ac_cc_path" >&6; } |
2413 |
|
else |
2414 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
2415 |
< |
echo "${ECHO_T}no" >&6; } |
2414 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2415 |
> |
$as_echo "no" >&6; } |
2416 |
|
fi |
2417 |
|
|
2418 |
|
|
2419 |
|
else |
2420 |
|
|
2421 |
< |
{ { echo "$as_me:$LINENO: error: Specified C compiler $CC doesn't seem to exist!" >&5 |
2422 |
< |
echo "$as_me: error: Specified C compiler $CC doesn't seem to exist!" >&2;} |
2421 |
> |
{ { $as_echo "$as_me:$LINENO: error: Specified C compiler $CC doesn't seem to exist!" >&5 |
2422 |
> |
$as_echo "$as_me: error: Specified C compiler $CC doesn't seem to exist!" >&2;} |
2423 |
|
{ (exit 1); exit 1; }; } |
2424 |
|
fi |
2425 |
|
|
2426 |
|
|
2427 |
|
if test $ac_cc_path != no; then |
2428 |
|
|
2429 |
< |
{ echo "$as_me:$LINENO: Will attempt to use $CC as C compiler" >&5 |
2430 |
< |
echo "$as_me: Will attempt to use $CC as C compiler" >&6;} |
2429 |
> |
{ $as_echo "$as_me:$LINENO: Will attempt to use $CC as C compiler" >&5 |
2430 |
> |
$as_echo "$as_me: Will attempt to use $CC as C compiler" >&6;} |
2431 |
|
else |
2432 |
|
|
2433 |
< |
{ { echo "$as_me:$LINENO: error: Can't find path to user-specified C compiler $CC" >&5 |
2434 |
< |
echo "$as_me: error: Can't find path to user-specified C compiler $CC" >&2;} |
2433 |
> |
{ { $as_echo "$as_me:$LINENO: error: Can't find path to user-specified C compiler $CC" >&5 |
2434 |
> |
$as_echo "$as_me: error: Can't find path to user-specified C compiler $CC" >&2;} |
2435 |
|
{ (exit 1); exit 1; }; } |
2436 |
|
fi |
2437 |
|
|
2442 |
|
do |
2443 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
2444 |
|
set dummy $ac_prog; ac_word=$2 |
2445 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2446 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2445 |
> |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2446 |
> |
$as_echo_n "checking for $ac_word... " >&6; } |
2447 |
|
if test "${ac_cv_prog_ac_cxx_set+set}" = set; then |
2448 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2448 |
> |
$as_echo_n "(cached) " >&6 |
2449 |
|
else |
2450 |
|
if test -n "$ac_cxx_set"; then |
2451 |
|
ac_cv_prog_ac_cxx_set="$ac_cxx_set" # Let the user override the test. |
2458 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2459 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2460 |
|
ac_cv_prog_ac_cxx_set="$ac_prog" |
2461 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2461 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2462 |
|
break 2 |
2463 |
|
fi |
2464 |
|
done |
2469 |
|
fi |
2470 |
|
ac_cxx_set=$ac_cv_prog_ac_cxx_set |
2471 |
|
if test -n "$ac_cxx_set"; then |
2472 |
< |
{ echo "$as_me:$LINENO: result: $ac_cxx_set" >&5 |
2473 |
< |
echo "${ECHO_T}$ac_cxx_set" >&6; } |
2472 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cxx_set" >&5 |
2473 |
> |
$as_echo "$ac_cxx_set" >&6; } |
2474 |
|
else |
2475 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
2476 |
< |
echo "${ECHO_T}no" >&6; } |
2475 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2476 |
> |
$as_echo "no" >&6; } |
2477 |
|
fi |
2478 |
|
|
2479 |
|
|
2485 |
|
|
2486 |
|
# Extract the first word of "$ac_cxx_set", so it can be a program name with args. |
2487 |
|
set dummy $ac_cxx_set; ac_word=$2 |
2488 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2489 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2488 |
> |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2489 |
> |
$as_echo_n "checking for $ac_word... " >&6; } |
2490 |
|
if test "${ac_cv_path_ac_cxx_path+set}" = set; then |
2491 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2491 |
> |
$as_echo_n "(cached) " >&6 |
2492 |
|
else |
2493 |
|
case $ac_cxx_path in |
2494 |
|
[\\/]* | ?:[\\/]*) |
2503 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2504 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2505 |
|
ac_cv_path_ac_cxx_path="$as_dir/$ac_word$ac_exec_ext" |
2506 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2506 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2507 |
|
break 2 |
2508 |
|
fi |
2509 |
|
done |
2516 |
|
fi |
2517 |
|
ac_cxx_path=$ac_cv_path_ac_cxx_path |
2518 |
|
if test -n "$ac_cxx_path"; then |
2519 |
< |
{ echo "$as_me:$LINENO: result: $ac_cxx_path" >&5 |
2520 |
< |
echo "${ECHO_T}$ac_cxx_path" >&6; } |
2519 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cxx_path" >&5 |
2520 |
> |
$as_echo "$ac_cxx_path" >&6; } |
2521 |
|
else |
2522 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
2523 |
< |
echo "${ECHO_T}no" >&6; } |
2522 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2523 |
> |
$as_echo "no" >&6; } |
2524 |
|
fi |
2525 |
|
|
2526 |
|
|
2527 |
|
else |
2528 |
|
|
2529 |
< |
{ { echo "$as_me:$LINENO: error: Specified C++ compiler $CXX doesn't seem to exist!" >&5 |
2530 |
< |
echo "$as_me: error: Specified C++ compiler $CXX doesn't seem to exist!" >&2;} |
2529 |
> |
{ { $as_echo "$as_me:$LINENO: error: Specified C++ compiler $CXX doesn't seem to exist!" >&5 |
2530 |
> |
$as_echo "$as_me: error: Specified C++ compiler $CXX doesn't seem to exist!" >&2;} |
2531 |
|
{ (exit 1); exit 1; }; } |
2532 |
|
fi |
2533 |
|
|
2534 |
|
|
2535 |
|
if test $ac_cxx_path != no; then |
2536 |
|
|
2537 |
< |
{ echo "$as_me:$LINENO: Will attempt to use $CXX as C++ compiler" >&5 |
2538 |
< |
echo "$as_me: Will attempt to use $CXX as C++ compiler" >&6;} |
2537 |
> |
{ $as_echo "$as_me:$LINENO: Will attempt to use $CXX as C++ compiler" >&5 |
2538 |
> |
$as_echo "$as_me: Will attempt to use $CXX as C++ compiler" >&6;} |
2539 |
|
else |
2540 |
|
|
2541 |
< |
{ { echo "$as_me:$LINENO: error: Can't find path to user-specified C++ compiler $CXX" >&5 |
2542 |
< |
echo "$as_me: error: Can't find path to user-specified C++ compiler $CXX" >&2;} |
2541 |
> |
{ { $as_echo "$as_me:$LINENO: error: Can't find path to user-specified C++ compiler $CXX" >&5 |
2542 |
> |
$as_echo "$as_me: error: Can't find path to user-specified C++ compiler $CXX" >&2;} |
2543 |
|
{ (exit 1); exit 1; }; } |
2544 |
|
fi |
2545 |
|
|
2550 |
|
do |
2551 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
2552 |
|
set dummy $ac_prog; ac_word=$2 |
2553 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2554 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2553 |
> |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2554 |
> |
$as_echo_n "checking for $ac_word... " >&6; } |
2555 |
|
if test "${ac_cv_prog_ac_fc_set+set}" = set; then |
2556 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2556 |
> |
$as_echo_n "(cached) " >&6 |
2557 |
|
else |
2558 |
|
if test -n "$ac_fc_set"; then |
2559 |
|
ac_cv_prog_ac_fc_set="$ac_fc_set" # Let the user override the test. |
2566 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2567 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2568 |
|
ac_cv_prog_ac_fc_set="$ac_prog" |
2569 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2569 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2570 |
|
break 2 |
2571 |
|
fi |
2572 |
|
done |
2577 |
|
fi |
2578 |
|
ac_fc_set=$ac_cv_prog_ac_fc_set |
2579 |
|
if test -n "$ac_fc_set"; then |
2580 |
< |
{ echo "$as_me:$LINENO: result: $ac_fc_set" >&5 |
2581 |
< |
echo "${ECHO_T}$ac_fc_set" >&6; } |
2580 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_fc_set" >&5 |
2581 |
> |
$as_echo "$ac_fc_set" >&6; } |
2582 |
|
else |
2583 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
2584 |
< |
echo "${ECHO_T}no" >&6; } |
2583 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2584 |
> |
$as_echo "no" >&6; } |
2585 |
|
fi |
2586 |
|
|
2587 |
|
|
2593 |
|
|
2594 |
|
# Extract the first word of "$ac_fc_set", so it can be a program name with args. |
2595 |
|
set dummy $ac_fc_set; ac_word=$2 |
2596 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2597 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2596 |
> |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2597 |
> |
$as_echo_n "checking for $ac_word... " >&6; } |
2598 |
|
if test "${ac_cv_path_ac_fc_path+set}" = set; then |
2599 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2599 |
> |
$as_echo_n "(cached) " >&6 |
2600 |
|
else |
2601 |
|
case $ac_fc_path in |
2602 |
|
[\\/]* | ?:[\\/]*) |
2611 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2612 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2613 |
|
ac_cv_path_ac_fc_path="$as_dir/$ac_word$ac_exec_ext" |
2614 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2614 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2615 |
|
break 2 |
2616 |
|
fi |
2617 |
|
done |
2624 |
|
fi |
2625 |
|
ac_fc_path=$ac_cv_path_ac_fc_path |
2626 |
|
if test -n "$ac_fc_path"; then |
2627 |
< |
{ echo "$as_me:$LINENO: result: $ac_fc_path" >&5 |
2628 |
< |
echo "${ECHO_T}$ac_fc_path" >&6; } |
2627 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_fc_path" >&5 |
2628 |
> |
$as_echo "$ac_fc_path" >&6; } |
2629 |
|
else |
2630 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
2631 |
< |
echo "${ECHO_T}no" >&6; } |
2630 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2631 |
> |
$as_echo "no" >&6; } |
2632 |
|
fi |
2633 |
|
|
2634 |
|
|
2635 |
|
else |
2636 |
|
|
2637 |
< |
{ { echo "$as_me:$LINENO: error: Specified Fortran compiler $FC doesn't seem to exist!" >&5 |
2638 |
< |
echo "$as_me: error: Specified Fortran compiler $FC doesn't seem to exist!" >&2;} |
2637 |
> |
{ { $as_echo "$as_me:$LINENO: error: Specified Fortran compiler $FC doesn't seem to exist!" >&5 |
2638 |
> |
$as_echo "$as_me: error: Specified Fortran compiler $FC doesn't seem to exist!" >&2;} |
2639 |
|
{ (exit 1); exit 1; }; } |
2640 |
|
fi |
2641 |
|
|
2642 |
|
|
2643 |
|
if test $ac_fc_path != no; then |
2644 |
|
|
2645 |
< |
{ echo "$as_me:$LINENO: Will attempt to use $FC as Fortran compiler" >&5 |
2646 |
< |
echo "$as_me: Will attempt to use $FC as Fortran compiler" >&6;} |
2645 |
> |
{ $as_echo "$as_me:$LINENO: Will attempt to use $FC as Fortran compiler" >&5 |
2646 |
> |
$as_echo "$as_me: Will attempt to use $FC as Fortran compiler" >&6;} |
2647 |
|
else |
2648 |
|
|
2649 |
< |
{ { echo "$as_me:$LINENO: error: Can't find path to user-specified Fortran compiler $FC" >&5 |
2650 |
< |
echo "$as_me: error: Can't find path to user-specified Fortran compiler $FC" >&2;} |
2649 |
> |
{ { $as_echo "$as_me:$LINENO: error: Can't find path to user-specified Fortran compiler $FC" >&5 |
2650 |
> |
$as_echo "$as_me: error: Can't find path to user-specified Fortran compiler $FC" >&2;} |
2651 |
|
{ (exit 1); exit 1; }; } |
2652 |
|
fi |
2653 |
|
|
2670 |
|
do |
2671 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
2672 |
|
set dummy $ac_prog; ac_word=$2 |
2673 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2674 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2673 |
> |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2674 |
> |
$as_echo_n "checking for $ac_word... " >&6; } |
2675 |
|
if test "${ac_cv_prog_acx_mpi_mpicc+set}" = set; then |
2676 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2676 |
> |
$as_echo_n "(cached) " >&6 |
2677 |
|
else |
2678 |
|
if test -n "$acx_mpi_mpicc"; then |
2679 |
|
ac_cv_prog_acx_mpi_mpicc="$acx_mpi_mpicc" # Let the user override the test. |
2686 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2687 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2688 |
|
ac_cv_prog_acx_mpi_mpicc="$ac_prog" |
2689 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2689 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2690 |
|
break 2 |
2691 |
|
fi |
2692 |
|
done |
2697 |
|
fi |
2698 |
|
acx_mpi_mpicc=$ac_cv_prog_acx_mpi_mpicc |
2699 |
|
if test -n "$acx_mpi_mpicc"; then |
2700 |
< |
{ echo "$as_me:$LINENO: result: $acx_mpi_mpicc" >&5 |
2701 |
< |
echo "${ECHO_T}$acx_mpi_mpicc" >&6; } |
2700 |
> |
{ $as_echo "$as_me:$LINENO: result: $acx_mpi_mpicc" >&5 |
2701 |
> |
$as_echo "$acx_mpi_mpicc" >&6; } |
2702 |
|
else |
2703 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
2704 |
< |
echo "${ECHO_T}no" >&6; } |
2703 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2704 |
> |
$as_echo "no" >&6; } |
2705 |
|
fi |
2706 |
|
|
2707 |
|
|
2713 |
|
|
2714 |
|
# Extract the first word of "$acx_mpi_mpicc", so it can be a program name with args. |
2715 |
|
set dummy $acx_mpi_mpicc; ac_word=$2 |
2716 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2717 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2716 |
> |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2717 |
> |
$as_echo_n "checking for $ac_word... " >&6; } |
2718 |
|
if test "${ac_cv_path_acx_mpi_mpicc_path+set}" = set; then |
2719 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2719 |
> |
$as_echo_n "(cached) " >&6 |
2720 |
|
else |
2721 |
|
case $acx_mpi_mpicc_path in |
2722 |
|
[\\/]* | ?:[\\/]*) |
2731 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2732 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2733 |
|
ac_cv_path_acx_mpi_mpicc_path="$as_dir/$ac_word$ac_exec_ext" |
2734 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2734 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2735 |
|
break 2 |
2736 |
|
fi |
2737 |
|
done |
2744 |
|
fi |
2745 |
|
acx_mpi_mpicc_path=$ac_cv_path_acx_mpi_mpicc_path |
2746 |
|
if test -n "$acx_mpi_mpicc_path"; then |
2747 |
< |
{ echo "$as_me:$LINENO: result: $acx_mpi_mpicc_path" >&5 |
2748 |
< |
echo "${ECHO_T}$acx_mpi_mpicc_path" >&6; } |
2747 |
> |
{ $as_echo "$as_me:$LINENO: result: $acx_mpi_mpicc_path" >&5 |
2748 |
> |
$as_echo "$acx_mpi_mpicc_path" >&6; } |
2749 |
|
else |
2750 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
2751 |
< |
echo "${ECHO_T}no" >&6; } |
2750 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2751 |
> |
$as_echo "no" >&6; } |
2752 |
|
fi |
2753 |
|
|
2754 |
|
|
2758 |
|
do |
2759 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
2760 |
|
set dummy $ac_prog; ac_word=$2 |
2761 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2762 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2761 |
> |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2762 |
> |
$as_echo_n "checking for $ac_word... " >&6; } |
2763 |
|
if test "${ac_cv_prog_acx_mpi_mpif90+set}" = set; then |
2764 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2764 |
> |
$as_echo_n "(cached) " >&6 |
2765 |
|
else |
2766 |
|
if test -n "$acx_mpi_mpif90"; then |
2767 |
|
ac_cv_prog_acx_mpi_mpif90="$acx_mpi_mpif90" # Let the user override the test. |
2774 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2775 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2776 |
|
ac_cv_prog_acx_mpi_mpif90="$ac_prog" |
2777 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2777 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2778 |
|
break 2 |
2779 |
|
fi |
2780 |
|
done |
2785 |
|
fi |
2786 |
|
acx_mpi_mpif90=$ac_cv_prog_acx_mpi_mpif90 |
2787 |
|
if test -n "$acx_mpi_mpif90"; then |
2788 |
< |
{ echo "$as_me:$LINENO: result: $acx_mpi_mpif90" >&5 |
2789 |
< |
echo "${ECHO_T}$acx_mpi_mpif90" >&6; } |
2788 |
> |
{ $as_echo "$as_me:$LINENO: result: $acx_mpi_mpif90" >&5 |
2789 |
> |
$as_echo "$acx_mpi_mpif90" >&6; } |
2790 |
|
else |
2791 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
2792 |
< |
echo "${ECHO_T}no" >&6; } |
2791 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2792 |
> |
$as_echo "no" >&6; } |
2793 |
|
fi |
2794 |
|
|
2795 |
|
|
2801 |
|
|
2802 |
|
# Extract the first word of "$acx_mpi_mpif90", so it can be a program name with args. |
2803 |
|
set dummy $acx_mpi_mpif90; ac_word=$2 |
2804 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2805 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2804 |
> |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2805 |
> |
$as_echo_n "checking for $ac_word... " >&6; } |
2806 |
|
if test "${ac_cv_path_acx_mpi_mpif90_path+set}" = set; then |
2807 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2807 |
> |
$as_echo_n "(cached) " >&6 |
2808 |
|
else |
2809 |
|
case $acx_mpi_mpif90_path in |
2810 |
|
[\\/]* | ?:[\\/]*) |
2819 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2820 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2821 |
|
ac_cv_path_acx_mpi_mpif90_path="$as_dir/$ac_word$ac_exec_ext" |
2822 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2822 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2823 |
|
break 2 |
2824 |
|
fi |
2825 |
|
done |
2832 |
|
fi |
2833 |
|
acx_mpi_mpif90_path=$ac_cv_path_acx_mpi_mpif90_path |
2834 |
|
if test -n "$acx_mpi_mpif90_path"; then |
2835 |
< |
{ echo "$as_me:$LINENO: result: $acx_mpi_mpif90_path" >&5 |
2836 |
< |
echo "${ECHO_T}$acx_mpi_mpif90_path" >&6; } |
2835 |
> |
{ $as_echo "$as_me:$LINENO: result: $acx_mpi_mpif90_path" >&5 |
2836 |
> |
$as_echo "$acx_mpi_mpif90_path" >&6; } |
2837 |
|
else |
2838 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
2839 |
< |
echo "${ECHO_T}no" >&6; } |
2838 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2839 |
> |
$as_echo "no" >&6; } |
2840 |
|
fi |
2841 |
|
|
2842 |
|
|
2846 |
|
do |
2847 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
2848 |
|
set dummy $ac_prog; ac_word=$2 |
2849 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2850 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2849 |
> |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2850 |
> |
$as_echo_n "checking for $ac_word... " >&6; } |
2851 |
|
if test "${ac_cv_prog_acx_mpi_mpicxx+set}" = set; then |
2852 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2852 |
> |
$as_echo_n "(cached) " >&6 |
2853 |
|
else |
2854 |
|
if test -n "$acx_mpi_mpicxx"; then |
2855 |
|
ac_cv_prog_acx_mpi_mpicxx="$acx_mpi_mpicxx" # Let the user override the test. |
2862 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2863 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2864 |
|
ac_cv_prog_acx_mpi_mpicxx="$ac_prog" |
2865 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2865 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2866 |
|
break 2 |
2867 |
|
fi |
2868 |
|
done |
2873 |
|
fi |
2874 |
|
acx_mpi_mpicxx=$ac_cv_prog_acx_mpi_mpicxx |
2875 |
|
if test -n "$acx_mpi_mpicxx"; then |
2876 |
< |
{ echo "$as_me:$LINENO: result: $acx_mpi_mpicxx" >&5 |
2877 |
< |
echo "${ECHO_T}$acx_mpi_mpicxx" >&6; } |
2876 |
> |
{ $as_echo "$as_me:$LINENO: result: $acx_mpi_mpicxx" >&5 |
2877 |
> |
$as_echo "$acx_mpi_mpicxx" >&6; } |
2878 |
|
else |
2879 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
2880 |
< |
echo "${ECHO_T}no" >&6; } |
2879 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2880 |
> |
$as_echo "no" >&6; } |
2881 |
|
fi |
2882 |
|
|
2883 |
|
|
2889 |
|
|
2890 |
|
# Extract the first word of "$acx_mpi_mpicxx", so it can be a program name with args. |
2891 |
|
set dummy $acx_mpi_mpicxx; ac_word=$2 |
2892 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2893 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2892 |
> |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2893 |
> |
$as_echo_n "checking for $ac_word... " >&6; } |
2894 |
|
if test "${ac_cv_path_acx_mpi_mpicxx_path+set}" = set; then |
2895 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2895 |
> |
$as_echo_n "(cached) " >&6 |
2896 |
|
else |
2897 |
|
case $acx_mpi_mpicxx_path in |
2898 |
|
[\\/]* | ?:[\\/]*) |
2907 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2908 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2909 |
|
ac_cv_path_acx_mpi_mpicxx_path="$as_dir/$ac_word$ac_exec_ext" |
2910 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2910 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2911 |
|
break 2 |
2912 |
|
fi |
2913 |
|
done |
2920 |
|
fi |
2921 |
|
acx_mpi_mpicxx_path=$ac_cv_path_acx_mpi_mpicxx_path |
2922 |
|
if test -n "$acx_mpi_mpicxx_path"; then |
2923 |
< |
{ echo "$as_me:$LINENO: result: $acx_mpi_mpicxx_path" >&5 |
2924 |
< |
echo "${ECHO_T}$acx_mpi_mpicxx_path" >&6; } |
2923 |
> |
{ $as_echo "$as_me:$LINENO: result: $acx_mpi_mpicxx_path" >&5 |
2924 |
> |
$as_echo "$acx_mpi_mpicxx_path" >&6; } |
2925 |
|
else |
2926 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
2927 |
< |
echo "${ECHO_T}no" >&6; } |
2926 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2927 |
> |
$as_echo "no" >&6; } |
2928 |
|
fi |
2929 |
|
|
2930 |
|
|
2952 |
|
|
2953 |
|
else |
2954 |
|
|
2955 |
< |
{ echo "$as_me:$LINENO: checking whether to use $acx_mpi_mpicc or $acx_mpi_mpicxx" >&5 |
2956 |
< |
echo $ECHO_N "checking whether to use $acx_mpi_mpicc or $acx_mpi_mpicxx... $ECHO_C" >&6; } |
2955 |
> |
{ $as_echo "$as_me:$LINENO: checking whether to use $acx_mpi_mpicc or $acx_mpi_mpicxx" >&5 |
2956 |
> |
$as_echo_n "checking whether to use $acx_mpi_mpicc or $acx_mpi_mpicxx... " >&6; } |
2957 |
|
ac_ext=cpp |
2958 |
|
ac_cpp='$CXXCPP $CPPFLAGS' |
2959 |
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2984 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2985 |
|
*) ac_try_echo=$ac_try;; |
2986 |
|
esac |
2987 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2987 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
2988 |
> |
$as_echo "$ac_try_echo") >&5 |
2989 |
|
(eval "$acx_mpi_mpicxx_path -c conftest.$ac_ext >&5") 2>conftest.er1 |
2990 |
|
ac_status=$? |
2991 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2992 |
|
rm -f conftest.er1 |
2993 |
|
cat conftest.err >&5 |
2994 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2994 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2995 |
|
(exit $ac_status); } && { |
2996 |
|
test -z "$ac_cxx_werror_flag" || |
2997 |
|
test ! -s conftest.err |
3012 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3013 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3014 |
|
|
3015 |
< |
{ echo "$as_me:$LINENO: result: $acx_mpi_compiler" >&5 |
3016 |
< |
echo "${ECHO_T}$acx_mpi_compiler" >&6; } |
3015 |
> |
{ $as_echo "$as_me:$LINENO: result: $acx_mpi_compiler" >&5 |
3016 |
> |
$as_echo "$acx_mpi_compiler" >&6; } |
3017 |
|
fi |
3018 |
|
|
3019 |
|
fi |
3020 |
|
|
3021 |
< |
{ echo "$as_me:$LINENO: checking whether mpif.h is usable" >&5 |
3022 |
< |
echo $ECHO_N "checking whether mpif.h is usable... $ECHO_C" >&6; } |
3021 |
> |
{ $as_echo "$as_me:$LINENO: checking whether mpif.h is usable" >&5 |
3022 |
> |
$as_echo_n "checking whether mpif.h is usable... " >&6; } |
3023 |
|
ac_ext=${ac_fc_srcext-f} |
3024 |
|
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
3025 |
|
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
3036 |
|
EOF |
3037 |
|
if $acx_mpi_mpif90_path -c conftest.$ac_ext > conftest.out 2>&1 ; then |
3038 |
|
acx_mpi_f90_compiler=yes |
3039 |
< |
{ echo "$as_me:$LINENO: result: yes" >&5 |
3040 |
< |
echo "${ECHO_T}yes" >&6; } |
3039 |
> |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
3040 |
> |
$as_echo "yes" >&6; } |
3041 |
|
else |
3042 |
|
if test -s conftest.out ; then |
3043 |
|
cat conftest.out >> config.log |
3044 |
|
fi |
3045 |
|
acx_mpi_f90_compiler=no |
3046 |
< |
{ echo "$as_me:$LINENO: result: no! Check MPI fortran include paths" >&5 |
3047 |
< |
echo "${ECHO_T}no! Check MPI fortran include paths" >&6; } |
3046 |
> |
{ $as_echo "$as_me:$LINENO: result: no! Check MPI fortran include paths" >&5 |
3047 |
> |
$as_echo "no! Check MPI fortran include paths" >&6; } |
3048 |
|
fi |
3049 |
|
rm -f conftest* |
3050 |
|
ac_ext=$ac_save_ext |
3058 |
|
|
3059 |
|
acx_cv_mpi_implementation=no |
3060 |
|
else |
3061 |
< |
{ echo "$as_me:$LINENO: checking for the MPI implementation flavor" >&5 |
3062 |
< |
echo $ECHO_N "checking for the MPI implementation flavor... $ECHO_C" >&6; } |
3061 |
> |
{ $as_echo "$as_me:$LINENO: checking for the MPI implementation flavor" >&5 |
3062 |
> |
$as_echo_n "checking for the MPI implementation flavor... " >&6; } |
3063 |
|
if test "${acx_cv_mpi_implementation+set}" = set; then |
3064 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3064 |
> |
$as_echo_n "(cached) " >&6 |
3065 |
|
else |
3066 |
|
acx_cv_mpi_implementation=no |
3067 |
|
if { (ac_try="grep -q LAM $acx_mpi_compiler_path" |
3069 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3070 |
|
*) ac_try_echo=$ac_try;; |
3071 |
|
esac |
3072 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3072 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3073 |
> |
$as_echo "$ac_try_echo") >&5 |
3074 |
|
(eval "grep -q LAM $acx_mpi_compiler_path") 2>conftest.er1 |
3075 |
|
ac_status=$? |
3076 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3077 |
|
rm -f conftest.er1 |
3078 |
|
cat conftest.err >&5 |
3079 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3079 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3080 |
|
(exit $ac_status); }; then |
3081 |
|
|
3082 |
|
acx_cv_mpi_implementation=lammpi |
3088 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3089 |
|
*) ac_try_echo=$ac_try;; |
3090 |
|
esac |
3091 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3091 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3092 |
> |
$as_echo "$ac_try_echo") >&5 |
3093 |
|
(eval "grep -q showme $acx_mpi_compiler_path") 2>conftest.er1 |
3094 |
|
ac_status=$? |
3095 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3096 |
|
rm -f conftest.er1 |
3097 |
|
cat conftest.err >&5 |
3098 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3098 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3099 |
|
(exit $ac_status); }; then |
3100 |
|
|
3101 |
|
acx_cv_mpi_implementation=openmpi |
3107 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3108 |
|
*) ac_try_echo=$ac_try;; |
3109 |
|
esac |
3110 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3110 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3111 |
> |
$as_echo "$ac_try_echo") >&5 |
3112 |
|
(eval "grep -q MPICH $acx_mpi_compiler_path") 2>conftest.er1 |
3113 |
|
ac_status=$? |
3114 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3115 |
|
rm -f conftest.er1 |
3116 |
|
cat conftest.err >&5 |
3117 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3117 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3118 |
|
(exit $ac_status); }; then |
3119 |
|
|
3120 |
|
acx_cv_mpi_implementation=mpich |
3128 |
|
fi |
3129 |
|
|
3130 |
|
fi |
3131 |
< |
{ echo "$as_me:$LINENO: result: $acx_cv_mpi_implementation" >&5 |
3132 |
< |
echo "${ECHO_T}$acx_cv_mpi_implementation" >&6; } |
3131 |
> |
{ $as_echo "$as_me:$LINENO: result: $acx_cv_mpi_implementation" >&5 |
3132 |
> |
$as_echo "$acx_cv_mpi_implementation" >&6; } |
3133 |
|
|
3134 |
|
fi |
3135 |
|
case $acx_cv_mpi_implementation in |
3160 |
|
acx_mpi_cflags="" |
3161 |
|
acx_mpi_libs="" |
3162 |
|
USE_MPI="no" |
3163 |
< |
{ echo "$as_me:$LINENO: WARNING: No suitable MPI implementation found. oopse_MPI will not be build." >&5 |
3164 |
< |
echo "$as_me: WARNING: No suitable MPI implementation found. oopse_MPI will not be build." >&2;} |
3163 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: No suitable MPI implementation found. oopse_MPI will not be build." >&5 |
3164 |
> |
$as_echo "$as_me: WARNING: No suitable MPI implementation found. oopse_MPI will not be build." >&2;} |
3165 |
|
else |
3166 |
|
|
3167 |
|
|
3168 |
< |
{ echo "$as_me:$LINENO: checking how to compile MPI-C code" >&5 |
3169 |
< |
echo $ECHO_N "checking how to compile MPI-C code... $ECHO_C" >&6; } |
3168 |
> |
{ $as_echo "$as_me:$LINENO: checking how to compile MPI-C code" >&5 |
3169 |
> |
$as_echo_n "checking how to compile MPI-C code... " >&6; } |
3170 |
|
if test "${acx_mpi_cflags+set}" = set; then |
3171 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3171 |
> |
$as_echo_n "(cached) " >&6 |
3172 |
|
else |
3173 |
|
|
3174 |
|
case $acx_cv_mpi_implementation in |
3196 |
|
cfo="-compile_info $sc_cv_cn" |
3197 |
|
;; |
3198 |
|
esac |
3199 |
< |
echo "$as_me:$LINENO: mpi_pre_cflags=\"\`$acx_mpi_compiler_path $cfo || echo ' no'\`\"" >&5 |
3199 |
> |
$as_echo "$as_me:$LINENO: mpi_pre_cflags=\"\`$acx_mpi_compiler_path $cfo || echo ' no'\`\"" >&5 |
3200 |
|
mpi_pre_cflags="`$acx_mpi_compiler_path $cfo 2>conftest.er1 || echo ' no'`" |
3201 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3202 |
|
rm -f conftest.er1 |
3203 |
|
cat conftest.err >&5 |
3204 |
< |
echo "$as_me:$LINENO: mpi_pre_cflags = $mpi_pre_cflags" >&5 |
3204 |
> |
$as_echo "$as_me:$LINENO: mpi_pre_cflags = $mpi_pre_cflags" >&5 |
3205 |
|
case "$mpi_pre_cflags" in |
3206 |
|
(*no) |
3207 |
|
acx_mpi_cflags=no |
3220 |
|
acx_mpi_tmp_mode="accept" |
3221 |
|
;; |
3222 |
|
(-I*|-D*) |
3223 |
< |
eval "acx_mpi_cflags=\"`eval echo '${'\\acx_mpi_cflags'}'` \$acx_mpi_tmp\"" |
3223 |
> |
eval "acx_mpi_cflags=\"`eval 'as_val=${'\\acx_mpi_cflags'} |
3224 |
> |
$as_echo "$as_val"'` \$acx_mpi_tmp\"" |
3225 |
|
;; |
3226 |
|
(-L|-l) |
3227 |
|
acx_mpi_tmp_mode="skip" |
3231 |
|
esac |
3232 |
|
;; |
3233 |
|
(accept) |
3234 |
< |
eval "acx_mpi_cflags=\"`eval echo '${'\\acx_mpi_cflags'}'` \$acx_mpi_tmp_prefix \$acx_mpi_tmp\"" |
3234 |
> |
eval "acx_mpi_cflags=\"`eval 'as_val=${'\\acx_mpi_cflags'} |
3235 |
> |
$as_echo "$as_val"'` \$acx_mpi_tmp_prefix \$acx_mpi_tmp\"" |
3236 |
|
;; |
3237 |
|
(skip) |
3238 |
|
;; |
3243 |
|
esac |
3244 |
|
|
3245 |
|
fi |
3246 |
< |
{ echo "$as_me:$LINENO: result: $acx_mpi_cflags" >&5 |
3247 |
< |
echo "${ECHO_T}$acx_mpi_cflags" >&6; } |
3246 |
> |
{ $as_echo "$as_me:$LINENO: result: $acx_mpi_cflags" >&5 |
3247 |
> |
$as_echo "$acx_mpi_cflags" >&6; } |
3248 |
|
|
3249 |
|
|
3250 |
< |
{ echo "$as_me:$LINENO: checking how to link MPI-C code" >&5 |
3251 |
< |
echo $ECHO_N "checking how to link MPI-C code... $ECHO_C" >&6; } |
3250 |
> |
{ $as_echo "$as_me:$LINENO: checking how to link MPI-C code" >&5 |
3251 |
> |
$as_echo_n "checking how to link MPI-C code... " >&6; } |
3252 |
|
if test "${acx_mpi_libs+set}" = set; then |
3253 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3253 |
> |
$as_echo_n "(cached) " >&6 |
3254 |
|
else |
3255 |
|
|
3256 |
|
case $acx_cv_mpi_implementation in |
3278 |
|
lfo="-link_info $sc_cv_cn" |
3279 |
|
;; |
3280 |
|
esac |
3281 |
< |
echo "$as_me:$LINENO: mpi_pre_libs=\"\`$acx_mpi_compiler_path $lfo || echo ' no'\`\"" >&5 |
3281 |
> |
$as_echo "$as_me:$LINENO: mpi_pre_libs=\"\`$acx_mpi_compiler_path $lfo || echo ' no'\`\"" >&5 |
3282 |
|
mpi_pre_libs="`$acx_mpi_compiler_path $lfo 2>conftest.er1 || echo ' no'`" |
3283 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3284 |
|
rm -f conftest.er1 |
3285 |
|
cat conftest.err >&5 |
3286 |
< |
echo "$as_me:$LINENO: mpi_pre_libs = $mpi_pre_libs" >&5 |
3286 |
> |
$as_echo "$as_me:$LINENO: mpi_pre_libs = $mpi_pre_libs" >&5 |
3287 |
|
case "$mpi_pre_libs" in |
3288 |
|
(*no) |
3289 |
|
acx_mpi_libs=no |
3294 |
|
esac |
3295 |
|
|
3296 |
|
fi |
3297 |
< |
{ echo "$as_me:$LINENO: result: $acx_mpi_libs" >&5 |
3298 |
< |
echo "${ECHO_T}$acx_mpi_libs" >&6; } |
3297 |
> |
{ $as_echo "$as_me:$LINENO: result: $acx_mpi_libs" >&5 |
3298 |
> |
$as_echo "$acx_mpi_libs" >&6; } |
3299 |
|
|
3300 |
|
if test $acx_mpi_mpif90_path != no; then |
3301 |
|
|
3302 |
|
|
3303 |
< |
{ echo "$as_me:$LINENO: checking how to link MPI-Fortran code" >&5 |
3304 |
< |
echo $ECHO_N "checking how to link MPI-Fortran code... $ECHO_C" >&6; } |
3303 |
> |
{ $as_echo "$as_me:$LINENO: checking how to link MPI-Fortran code" >&5 |
3304 |
> |
$as_echo_n "checking how to link MPI-Fortran code... " >&6; } |
3305 |
|
if test "${acx_mpi90_libs+set}" = set; then |
3306 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3306 |
> |
$as_echo_n "(cached) " >&6 |
3307 |
|
else |
3308 |
|
|
3309 |
< |
echo "$as_me:$LINENO: mpi_pre_libs=\"\`$acx_mpi_mpif90_path $lfo || echo \" no\"\`\"" >&5 |
3309 |
> |
$as_echo "$as_me:$LINENO: mpi_pre_libs=\"\`$acx_mpi_mpif90_path $lfo || echo \" no\"\`\"" >&5 |
3310 |
|
mpi_pre_libs="`$acx_mpi_mpif90_path $lfo 2>conftest.er1 || echo " no"`" |
3311 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3312 |
|
rm -f conftest.er1 |
3313 |
|
cat conftest.err >&5 |
3314 |
< |
echo "$as_me:$LINENO: mpi_pre_libs = $mpi_pre_libs" >&5 |
3314 |
> |
$as_echo "$as_me:$LINENO: mpi_pre_libs = $mpi_pre_libs" >&5 |
3315 |
|
case "$mpi_pre_libs" in |
3316 |
|
(*no) |
3317 |
|
acx_mpi90_libs=no |
3322 |
|
esac |
3323 |
|
|
3324 |
|
fi |
3325 |
< |
{ echo "$as_me:$LINENO: result: $acx_mpi90_libs" >&5 |
3326 |
< |
echo "${ECHO_T}$acx_mpi90_libs" >&6; } |
3325 |
> |
{ $as_echo "$as_me:$LINENO: result: $acx_mpi90_libs" >&5 |
3326 |
> |
$as_echo "$acx_mpi90_libs" >&6; } |
3327 |
|
|
3328 |
|
|
3329 |
|
fi |
3333 |
|
acx_mpi_cflags="" |
3334 |
|
acx_mpi_libs="" |
3335 |
|
USE_MPI="no" |
3336 |
< |
{ echo "$as_me:$LINENO: WARNING: No suitable MPI implementation found. oopse_MPI will not be build." >&5 |
3337 |
< |
echo "$as_me: WARNING: No suitable MPI implementation found. oopse_MPI will not be build." >&2;} |
3336 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: No suitable MPI implementation found. oopse_MPI will not be build." >&5 |
3337 |
> |
$as_echo "$as_me: WARNING: No suitable MPI implementation found. oopse_MPI will not be build." >&2;} |
3338 |
|
else |
3339 |
|
|
3340 |
|
MPI_CPPFLAGS=$acx_mpi_cflags |
3372 |
|
do |
3373 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3374 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3375 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3376 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3375 |
> |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3376 |
> |
$as_echo_n "checking for $ac_word... " >&6; } |
3377 |
|
if test "${ac_cv_prog_CXX+set}" = set; then |
3378 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3378 |
> |
$as_echo_n "(cached) " >&6 |
3379 |
|
else |
3380 |
|
if test -n "$CXX"; then |
3381 |
|
ac_cv_prog_CXX="$CXX" # Let the user override the test. |
3388 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3389 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3390 |
|
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
3391 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3391 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3392 |
|
break 2 |
3393 |
|
fi |
3394 |
|
done |
3399 |
|
fi |
3400 |
|
CXX=$ac_cv_prog_CXX |
3401 |
|
if test -n "$CXX"; then |
3402 |
< |
{ echo "$as_me:$LINENO: result: $CXX" >&5 |
3403 |
< |
echo "${ECHO_T}$CXX" >&6; } |
3402 |
> |
{ $as_echo "$as_me:$LINENO: result: $CXX" >&5 |
3403 |
> |
$as_echo "$CXX" >&6; } |
3404 |
|
else |
3405 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
3406 |
< |
echo "${ECHO_T}no" >&6; } |
3405 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
3406 |
> |
$as_echo "no" >&6; } |
3407 |
|
fi |
3408 |
|
|
3409 |
|
|
3416 |
|
do |
3417 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
3418 |
|
set dummy $ac_prog; ac_word=$2 |
3419 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3420 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3419 |
> |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3420 |
> |
$as_echo_n "checking for $ac_word... " >&6; } |
3421 |
|
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
3422 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3422 |
> |
$as_echo_n "(cached) " >&6 |
3423 |
|
else |
3424 |
|
if test -n "$ac_ct_CXX"; then |
3425 |
|
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
3432 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3433 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3434 |
|
ac_cv_prog_ac_ct_CXX="$ac_prog" |
3435 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3435 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3436 |
|
break 2 |
3437 |
|
fi |
3438 |
|
done |
3443 |
|
fi |
3444 |
|
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
3445 |
|
if test -n "$ac_ct_CXX"; then |
3446 |
< |
{ echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
3447 |
< |
echo "${ECHO_T}$ac_ct_CXX" >&6; } |
3446 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
3447 |
> |
$as_echo "$ac_ct_CXX" >&6; } |
3448 |
|
else |
3449 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
3450 |
< |
echo "${ECHO_T}no" >&6; } |
3449 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
3450 |
> |
$as_echo "no" >&6; } |
3451 |
|
fi |
3452 |
|
|
3453 |
|
|
3459 |
|
else |
3460 |
|
case $cross_compiling:$ac_tool_warned in |
3461 |
|
yes:) |
3462 |
< |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
3462 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
3463 |
|
whose name does not start with the host triplet. If you think this |
3464 |
|
configuration is useful to you, please write to autoconf@gnu.org." >&5 |
3465 |
< |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
3465 |
> |
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
3466 |
|
whose name does not start with the host triplet. If you think this |
3467 |
|
configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
3468 |
|
ac_tool_warned=yes ;; |
3474 |
|
fi |
3475 |
|
fi |
3476 |
|
# Provide some information about the compiler. |
3477 |
< |
echo "$as_me:$LINENO: checking for C++ compiler version" >&5 |
3478 |
< |
ac_compiler=`set X $ac_compile; echo $2` |
3477 |
> |
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 |
3478 |
> |
set X $ac_compile |
3479 |
> |
ac_compiler=$2 |
3480 |
|
{ (ac_try="$ac_compiler --version >&5" |
3481 |
|
case "(($ac_try" in |
3482 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3483 |
|
*) ac_try_echo=$ac_try;; |
3484 |
|
esac |
3485 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3485 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3486 |
> |
$as_echo "$ac_try_echo") >&5 |
3487 |
|
(eval "$ac_compiler --version >&5") 2>&5 |
3488 |
|
ac_status=$? |
3489 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3489 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3490 |
|
(exit $ac_status); } |
3491 |
|
{ (ac_try="$ac_compiler -v >&5" |
3492 |
|
case "(($ac_try" in |
3493 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3494 |
|
*) ac_try_echo=$ac_try;; |
3495 |
|
esac |
3496 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3496 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3497 |
> |
$as_echo "$ac_try_echo") >&5 |
3498 |
|
(eval "$ac_compiler -v >&5") 2>&5 |
3499 |
|
ac_status=$? |
3500 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3500 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3501 |
|
(exit $ac_status); } |
3502 |
|
{ (ac_try="$ac_compiler -V >&5" |
3503 |
|
case "(($ac_try" in |
3504 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3505 |
|
*) ac_try_echo=$ac_try;; |
3506 |
|
esac |
3507 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3507 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3508 |
> |
$as_echo "$ac_try_echo") >&5 |
3509 |
|
(eval "$ac_compiler -V >&5") 2>&5 |
3510 |
|
ac_status=$? |
3511 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3511 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3512 |
|
(exit $ac_status); } |
3513 |
|
|
3514 |
|
cat >conftest.$ac_ext <<_ACEOF |
3527 |
|
} |
3528 |
|
_ACEOF |
3529 |
|
ac_clean_files_save=$ac_clean_files |
3530 |
< |
ac_clean_files="$ac_clean_files a.out a.exe b.out" |
3530 |
> |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
3531 |
|
# Try to create an executable without -o first, disregard a.out. |
3532 |
|
# It will help us diagnose broken compilers, and finding out an intuition |
3533 |
|
# of exeext. |
3534 |
< |
{ echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 |
3535 |
< |
echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; } |
3536 |
< |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
3537 |
< |
# |
3538 |
< |
# List of possible output files, starting from the most likely. |
3539 |
< |
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) |
3540 |
< |
# only as a last resort. b.out is created by i960 compilers. |
3438 |
< |
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' |
3439 |
< |
# |
3440 |
< |
# The IRIX 6 linker writes into existing files which may not be |
3441 |
< |
# executable, retaining their permissions. Remove them first so a |
3442 |
< |
# subsequent execution test works. |
3534 |
> |
{ $as_echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 |
3535 |
> |
$as_echo_n "checking for C++ compiler default output file name... " >&6; } |
3536 |
> |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
3537 |
> |
|
3538 |
> |
# The possible output files: |
3539 |
> |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
3540 |
> |
|
3541 |
|
ac_rmfiles= |
3542 |
|
for ac_file in $ac_files |
3543 |
|
do |
3544 |
|
case $ac_file in |
3545 |
< |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
3545 |
> |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
3546 |
|
* ) ac_rmfiles="$ac_rmfiles $ac_file";; |
3547 |
|
esac |
3548 |
|
done |
3553 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3554 |
|
*) ac_try_echo=$ac_try;; |
3555 |
|
esac |
3556 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3556 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3557 |
> |
$as_echo "$ac_try_echo") >&5 |
3558 |
|
(eval "$ac_link_default") 2>&5 |
3559 |
|
ac_status=$? |
3560 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3560 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3561 |
|
(exit $ac_status); }; then |
3562 |
|
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
3563 |
|
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
3568 |
|
do |
3569 |
|
test -f "$ac_file" || continue |
3570 |
|
case $ac_file in |
3571 |
< |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) |
3571 |
> |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
3572 |
|
;; |
3573 |
|
[ab].out ) |
3574 |
|
# We found the default executable, but exeext='' is most |
3595 |
|
ac_file='' |
3596 |
|
fi |
3597 |
|
|
3598 |
< |
{ echo "$as_me:$LINENO: result: $ac_file" >&5 |
3599 |
< |
echo "${ECHO_T}$ac_file" >&6; } |
3598 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 |
3599 |
> |
$as_echo "$ac_file" >&6; } |
3600 |
|
if test -z "$ac_file"; then |
3601 |
< |
echo "$as_me: failed program was:" >&5 |
3601 |
> |
$as_echo "$as_me: failed program was:" >&5 |
3602 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3603 |
|
|
3604 |
< |
{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables |
3604 |
> |
{ { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables |
3605 |
|
See \`config.log' for more details." >&5 |
3606 |
< |
echo "$as_me: error: C++ compiler cannot create executables |
3606 |
> |
$as_echo "$as_me: error: C++ compiler cannot create executables |
3607 |
|
See \`config.log' for more details." >&2;} |
3608 |
|
{ (exit 77); exit 77; }; } |
3609 |
|
fi |
3612 |
|
|
3613 |
|
# Check that the compiler produces executables we can run. If not, either |
3614 |
|
# the compiler is broken, or we cross compile. |
3615 |
< |
{ echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 |
3616 |
< |
echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; } |
3615 |
> |
{ $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 |
3616 |
> |
$as_echo_n "checking whether the C++ compiler works... " >&6; } |
3617 |
|
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
3618 |
|
# If not cross compiling, check that we can run a simple program. |
3619 |
|
if test "$cross_compiling" != yes; then |
3622 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3623 |
|
*) ac_try_echo=$ac_try;; |
3624 |
|
esac |
3625 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3625 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3626 |
> |
$as_echo "$ac_try_echo") >&5 |
3627 |
|
(eval "$ac_try") 2>&5 |
3628 |
|
ac_status=$? |
3629 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3629 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3630 |
|
(exit $ac_status); }; }; then |
3631 |
|
cross_compiling=no |
3632 |
|
else |
3633 |
|
if test "$cross_compiling" = maybe; then |
3634 |
|
cross_compiling=yes |
3635 |
|
else |
3636 |
< |
{ { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. |
3636 |
> |
{ { $as_echo "$as_me:$LINENO: error: cannot run C++ compiled programs. |
3637 |
|
If you meant to cross compile, use \`--host'. |
3638 |
|
See \`config.log' for more details." >&5 |
3639 |
< |
echo "$as_me: error: cannot run C++ compiled programs. |
3639 |
> |
$as_echo "$as_me: error: cannot run C++ compiled programs. |
3640 |
|
If you meant to cross compile, use \`--host'. |
3641 |
|
See \`config.log' for more details." >&2;} |
3642 |
|
{ (exit 1); exit 1; }; } |
3643 |
|
fi |
3644 |
|
fi |
3645 |
|
fi |
3646 |
< |
{ echo "$as_me:$LINENO: result: yes" >&5 |
3647 |
< |
echo "${ECHO_T}yes" >&6; } |
3646 |
> |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
3647 |
> |
$as_echo "yes" >&6; } |
3648 |
|
|
3649 |
< |
rm -f a.out a.exe conftest$ac_cv_exeext b.out |
3649 |
> |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
3650 |
|
ac_clean_files=$ac_clean_files_save |
3651 |
|
# Check that the compiler produces executables we can run. If not, either |
3652 |
|
# the compiler is broken, or we cross compile. |
3653 |
< |
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
3654 |
< |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } |
3655 |
< |
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
3656 |
< |
echo "${ECHO_T}$cross_compiling" >&6; } |
3653 |
> |
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
3654 |
> |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
3655 |
> |
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
3656 |
> |
$as_echo "$cross_compiling" >&6; } |
3657 |
|
|
3658 |
< |
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
3659 |
< |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } |
3658 |
> |
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
3659 |
> |
$as_echo_n "checking for suffix of executables... " >&6; } |
3660 |
|
if { (ac_try="$ac_link" |
3661 |
|
case "(($ac_try" in |
3662 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3663 |
|
*) ac_try_echo=$ac_try;; |
3664 |
|
esac |
3665 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3665 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3666 |
> |
$as_echo "$ac_try_echo") >&5 |
3667 |
|
(eval "$ac_link") 2>&5 |
3668 |
|
ac_status=$? |
3669 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3669 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3670 |
|
(exit $ac_status); }; then |
3671 |
|
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
3672 |
|
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
3675 |
|
for ac_file in conftest.exe conftest conftest.*; do |
3676 |
|
test -f "$ac_file" || continue |
3677 |
|
case $ac_file in |
3678 |
< |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
3678 |
> |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
3679 |
|
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3680 |
|
break;; |
3681 |
|
* ) break;; |
3682 |
|
esac |
3683 |
|
done |
3684 |
|
else |
3685 |
< |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
3685 |
> |
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
3686 |
|
See \`config.log' for more details." >&5 |
3687 |
< |
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
3687 |
> |
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
3688 |
|
See \`config.log' for more details." >&2;} |
3689 |
|
{ (exit 1); exit 1; }; } |
3690 |
|
fi |
3691 |
|
|
3692 |
|
rm -f conftest$ac_cv_exeext |
3693 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
3694 |
< |
echo "${ECHO_T}$ac_cv_exeext" >&6; } |
3693 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
3694 |
> |
$as_echo "$ac_cv_exeext" >&6; } |
3695 |
|
|
3696 |
|
rm -f conftest.$ac_ext |
3697 |
|
EXEEXT=$ac_cv_exeext |
3698 |
|
ac_exeext=$EXEEXT |
3699 |
< |
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
3700 |
< |
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } |
3699 |
> |
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
3700 |
> |
$as_echo_n "checking for suffix of object files... " >&6; } |
3701 |
|
if test "${ac_cv_objext+set}" = set; then |
3702 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3702 |
> |
$as_echo_n "(cached) " >&6 |
3703 |
|
else |
3704 |
|
cat >conftest.$ac_ext <<_ACEOF |
3705 |
|
/* confdefs.h. */ |
3722 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3723 |
|
*) ac_try_echo=$ac_try;; |
3724 |
|
esac |
3725 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3725 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3726 |
> |
$as_echo "$ac_try_echo") >&5 |
3727 |
|
(eval "$ac_compile") 2>&5 |
3728 |
|
ac_status=$? |
3729 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3729 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3730 |
|
(exit $ac_status); }; then |
3731 |
|
for ac_file in conftest.o conftest.obj conftest.*; do |
3732 |
|
test -f "$ac_file" || continue; |
3733 |
|
case $ac_file in |
3734 |
< |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
3734 |
> |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
3735 |
|
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
3736 |
|
break;; |
3737 |
|
esac |
3738 |
|
done |
3739 |
|
else |
3740 |
< |
echo "$as_me: failed program was:" >&5 |
3740 |
> |
$as_echo "$as_me: failed program was:" >&5 |
3741 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3742 |
|
|
3743 |
< |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
3743 |
> |
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
3744 |
|
See \`config.log' for more details." >&5 |
3745 |
< |
echo "$as_me: error: cannot compute suffix of object files: cannot compile |
3745 |
> |
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile |
3746 |
|
See \`config.log' for more details." >&2;} |
3747 |
|
{ (exit 1); exit 1; }; } |
3748 |
|
fi |
3749 |
|
|
3750 |
|
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3751 |
|
fi |
3752 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
3753 |
< |
echo "${ECHO_T}$ac_cv_objext" >&6; } |
3752 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
3753 |
> |
$as_echo "$ac_cv_objext" >&6; } |
3754 |
|
OBJEXT=$ac_cv_objext |
3755 |
|
ac_objext=$OBJEXT |
3756 |
< |
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
3757 |
< |
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } |
3756 |
> |
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
3757 |
> |
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
3758 |
|
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
3759 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3759 |
> |
$as_echo_n "(cached) " >&6 |
3760 |
|
else |
3761 |
|
cat >conftest.$ac_ext <<_ACEOF |
3762 |
|
/* confdefs.h. */ |
3782 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3783 |
|
*) ac_try_echo=$ac_try;; |
3784 |
|
esac |
3785 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3785 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3786 |
> |
$as_echo "$ac_try_echo") >&5 |
3787 |
|
(eval "$ac_compile") 2>conftest.er1 |
3788 |
|
ac_status=$? |
3789 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3790 |
|
rm -f conftest.er1 |
3791 |
|
cat conftest.err >&5 |
3792 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3792 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3793 |
|
(exit $ac_status); } && { |
3794 |
|
test -z "$ac_cxx_werror_flag" || |
3795 |
|
test ! -s conftest.err |
3796 |
|
} && test -s conftest.$ac_objext; then |
3797 |
|
ac_compiler_gnu=yes |
3798 |
|
else |
3799 |
< |
echo "$as_me: failed program was:" >&5 |
3799 |
> |
$as_echo "$as_me: failed program was:" >&5 |
3800 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3801 |
|
|
3802 |
|
ac_compiler_gnu=no |
3806 |
|
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
3807 |
|
|
3808 |
|
fi |
3809 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
3810 |
< |
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } |
3811 |
< |
GXX=`test $ac_compiler_gnu = yes && echo yes` |
3809 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
3810 |
> |
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } |
3811 |
> |
if test $ac_compiler_gnu = yes; then |
3812 |
> |
GXX=yes |
3813 |
> |
else |
3814 |
> |
GXX= |
3815 |
> |
fi |
3816 |
|
ac_test_CXXFLAGS=${CXXFLAGS+set} |
3817 |
|
ac_save_CXXFLAGS=$CXXFLAGS |
3818 |
< |
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
3819 |
< |
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } |
3818 |
> |
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
3819 |
> |
$as_echo_n "checking whether $CXX accepts -g... " >&6; } |
3820 |
|
if test "${ac_cv_prog_cxx_g+set}" = set; then |
3821 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3821 |
> |
$as_echo_n "(cached) " >&6 |
3822 |
|
else |
3823 |
|
ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
3824 |
|
ac_cxx_werror_flag=yes |
3845 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3846 |
|
*) ac_try_echo=$ac_try;; |
3847 |
|
esac |
3848 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3848 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3849 |
> |
$as_echo "$ac_try_echo") >&5 |
3850 |
|
(eval "$ac_compile") 2>conftest.er1 |
3851 |
|
ac_status=$? |
3852 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3853 |
|
rm -f conftest.er1 |
3854 |
|
cat conftest.err >&5 |
3855 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3855 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3856 |
|
(exit $ac_status); } && { |
3857 |
|
test -z "$ac_cxx_werror_flag" || |
3858 |
|
test ! -s conftest.err |
3859 |
|
} && test -s conftest.$ac_objext; then |
3860 |
|
ac_cv_prog_cxx_g=yes |
3861 |
|
else |
3862 |
< |
echo "$as_me: failed program was:" >&5 |
3862 |
> |
$as_echo "$as_me: failed program was:" >&5 |
3863 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3864 |
|
|
3865 |
|
CXXFLAGS="" |
3884 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3885 |
|
*) ac_try_echo=$ac_try;; |
3886 |
|
esac |
3887 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3887 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3888 |
> |
$as_echo "$ac_try_echo") >&5 |
3889 |
|
(eval "$ac_compile") 2>conftest.er1 |
3890 |
|
ac_status=$? |
3891 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3892 |
|
rm -f conftest.er1 |
3893 |
|
cat conftest.err >&5 |
3894 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3894 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3895 |
|
(exit $ac_status); } && { |
3896 |
|
test -z "$ac_cxx_werror_flag" || |
3897 |
|
test ! -s conftest.err |
3898 |
|
} && test -s conftest.$ac_objext; then |
3899 |
|
: |
3900 |
|
else |
3901 |
< |
echo "$as_me: failed program was:" >&5 |
3901 |
> |
$as_echo "$as_me: failed program was:" >&5 |
3902 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3903 |
|
|
3904 |
|
ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
3924 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3925 |
|
*) ac_try_echo=$ac_try;; |
3926 |
|
esac |
3927 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3928 |
< |
(eval "$ac_compile") 2>conftest.er1 |
3927 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3928 |
> |
$as_echo "$ac_try_echo") >&5 |
3929 |
> |
(eval "$ac_compile") 2>conftest.er1 |
3930 |
|
ac_status=$? |
3931 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3932 |
|
rm -f conftest.er1 |
3933 |
|
cat conftest.err >&5 |
3934 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3934 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3935 |
|
(exit $ac_status); } && { |
3936 |
|
test -z "$ac_cxx_werror_flag" || |
3937 |
|
test ! -s conftest.err |
3938 |
|
} && test -s conftest.$ac_objext; then |
3939 |
|
ac_cv_prog_cxx_g=yes |
3940 |
|
else |
3941 |
< |
echo "$as_me: failed program was:" >&5 |
3941 |
> |
$as_echo "$as_me: failed program was:" >&5 |
3942 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3943 |
|
|
3944 |
|
|
3953 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3954 |
|
ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
3955 |
|
fi |
3956 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
3957 |
< |
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } |
3956 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
3957 |
> |
$as_echo "$ac_cv_prog_cxx_g" >&6; } |
3958 |
|
if test "$ac_test_CXXFLAGS" = set; then |
3959 |
|
CXXFLAGS=$ac_save_CXXFLAGS |
3960 |
|
elif test $ac_cv_prog_cxx_g = yes; then |
3986 |
|
do |
3987 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3988 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3989 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3990 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3989 |
> |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3990 |
> |
$as_echo_n "checking for $ac_word... " >&6; } |
3991 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
3992 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3992 |
> |
$as_echo_n "(cached) " >&6 |
3993 |
|
else |
3994 |
|
if test -n "$CC"; then |
3995 |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
4002 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4003 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4004 |
|
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
4005 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4005 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4006 |
|
break 2 |
4007 |
|
fi |
4008 |
|
done |
4013 |
|
fi |
4014 |
|
CC=$ac_cv_prog_CC |
4015 |
|
if test -n "$CC"; then |
4016 |
< |
{ echo "$as_me:$LINENO: result: $CC" >&5 |
4017 |
< |
echo "${ECHO_T}$CC" >&6; } |
4016 |
> |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5 |
4017 |
> |
$as_echo "$CC" >&6; } |
4018 |
|
else |
4019 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
4020 |
< |
echo "${ECHO_T}no" >&6; } |
4019 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
4020 |
> |
$as_echo "no" >&6; } |
4021 |
|
fi |
4022 |
|
|
4023 |
|
|
4030 |
|
do |
4031 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
4032 |
|
set dummy $ac_prog; ac_word=$2 |
4033 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4034 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4033 |
> |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4034 |
> |
$as_echo_n "checking for $ac_word... " >&6; } |
4035 |
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
4036 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4036 |
> |
$as_echo_n "(cached) " >&6 |
4037 |
|
else |
4038 |
|
if test -n "$ac_ct_CC"; then |
4039 |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
4046 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4047 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4048 |
|
ac_cv_prog_ac_ct_CC="$ac_prog" |
4049 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4049 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4050 |
|
break 2 |
4051 |
|
fi |
4052 |
|
done |
4057 |
|
fi |
4058 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
4059 |
|
if test -n "$ac_ct_CC"; then |
4060 |
< |
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
4061 |
< |
echo "${ECHO_T}$ac_ct_CC" >&6; } |
4060 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
4061 |
> |
$as_echo "$ac_ct_CC" >&6; } |
4062 |
|
else |
4063 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
4064 |
< |
echo "${ECHO_T}no" >&6; } |
4063 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
4064 |
> |
$as_echo "no" >&6; } |
4065 |
|
fi |
4066 |
|
|
4067 |
|
|
4073 |
|
else |
4074 |
|
case $cross_compiling:$ac_tool_warned in |
4075 |
|
yes:) |
4076 |
< |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
4076 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
4077 |
|
whose name does not start with the host triplet. If you think this |
4078 |
|
configuration is useful to you, please write to autoconf@gnu.org." >&5 |
4079 |
< |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
4079 |
> |
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
4080 |
|
whose name does not start with the host triplet. If you think this |
4081 |
|
configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
4082 |
|
ac_tool_warned=yes ;; |
4086 |
|
fi |
4087 |
|
|
4088 |
|
|
4089 |
< |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
4089 |
> |
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
4090 |
|
See \`config.log' for more details." >&5 |
4091 |
< |
echo "$as_me: error: no acceptable C compiler found in \$PATH |
4091 |
> |
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH |
4092 |
|
See \`config.log' for more details." >&2;} |
4093 |
|
{ (exit 1); exit 1; }; } |
4094 |
|
|
4095 |
|
# Provide some information about the compiler. |
4096 |
< |
echo "$as_me:$LINENO: checking for C compiler version" >&5 |
4097 |
< |
ac_compiler=`set X $ac_compile; echo $2` |
4096 |
> |
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 |
4097 |
> |
set X $ac_compile |
4098 |
> |
ac_compiler=$2 |
4099 |
|
{ (ac_try="$ac_compiler --version >&5" |
4100 |
|
case "(($ac_try" in |
4101 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4102 |
|
*) ac_try_echo=$ac_try;; |
4103 |
|
esac |
4104 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4104 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4105 |
> |
$as_echo "$ac_try_echo") >&5 |
4106 |
|
(eval "$ac_compiler --version >&5") 2>&5 |
4107 |
|
ac_status=$? |
4108 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4108 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4109 |
|
(exit $ac_status); } |
4110 |
|
{ (ac_try="$ac_compiler -v >&5" |
4111 |
|
case "(($ac_try" in |
4112 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4113 |
|
*) ac_try_echo=$ac_try;; |
4114 |
|
esac |
4115 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4115 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4116 |
> |
$as_echo "$ac_try_echo") >&5 |
4117 |
|
(eval "$ac_compiler -v >&5") 2>&5 |
4118 |
|
ac_status=$? |
4119 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4119 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4120 |
|
(exit $ac_status); } |
4121 |
|
{ (ac_try="$ac_compiler -V >&5" |
4122 |
|
case "(($ac_try" in |
4123 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4124 |
|
*) ac_try_echo=$ac_try;; |
4125 |
|
esac |
4126 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4126 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4127 |
> |
$as_echo "$ac_try_echo") >&5 |
4128 |
|
(eval "$ac_compiler -V >&5") 2>&5 |
4129 |
|
ac_status=$? |
4130 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4130 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4131 |
|
(exit $ac_status); } |
4132 |
|
|
4133 |
< |
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
4134 |
< |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } |
4133 |
> |
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
4134 |
> |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
4135 |
|
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
4136 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4136 |
> |
$as_echo_n "(cached) " >&6 |
4137 |
|
else |
4138 |
|
cat >conftest.$ac_ext <<_ACEOF |
4139 |
|
/* confdefs.h. */ |
4159 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4160 |
|
*) ac_try_echo=$ac_try;; |
4161 |
|
esac |
4162 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4162 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4163 |
> |
$as_echo "$ac_try_echo") >&5 |
4164 |
|
(eval "$ac_compile") 2>conftest.er1 |
4165 |
|
ac_status=$? |
4166 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4167 |
|
rm -f conftest.er1 |
4168 |
|
cat conftest.err >&5 |
4169 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4169 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4170 |
|
(exit $ac_status); } && { |
4171 |
|
test -z "$ac_c_werror_flag" || |
4172 |
|
test ! -s conftest.err |
4173 |
|
} && test -s conftest.$ac_objext; then |
4174 |
|
ac_compiler_gnu=yes |
4175 |
|
else |
4176 |
< |
echo "$as_me: failed program was:" >&5 |
4176 |
> |
$as_echo "$as_me: failed program was:" >&5 |
4177 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4178 |
|
|
4179 |
|
ac_compiler_gnu=no |
4183 |
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
4184 |
|
|
4185 |
|
fi |
4186 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
4187 |
< |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } |
4188 |
< |
GCC=`test $ac_compiler_gnu = yes && echo yes` |
4186 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
4187 |
> |
$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
4188 |
> |
if test $ac_compiler_gnu = yes; then |
4189 |
> |
GCC=yes |
4190 |
> |
else |
4191 |
> |
GCC= |
4192 |
> |
fi |
4193 |
|
ac_test_CFLAGS=${CFLAGS+set} |
4194 |
|
ac_save_CFLAGS=$CFLAGS |
4195 |
< |
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
4196 |
< |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } |
4195 |
> |
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
4196 |
> |
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
4197 |
|
if test "${ac_cv_prog_cc_g+set}" = set; then |
4198 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4198 |
> |
$as_echo_n "(cached) " >&6 |
4199 |
|
else |
4200 |
|
ac_save_c_werror_flag=$ac_c_werror_flag |
4201 |
|
ac_c_werror_flag=yes |
4222 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4223 |
|
*) ac_try_echo=$ac_try;; |
4224 |
|
esac |
4225 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4225 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4226 |
> |
$as_echo "$ac_try_echo") >&5 |
4227 |
|
(eval "$ac_compile") 2>conftest.er1 |
4228 |
|
ac_status=$? |
4229 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4230 |
|
rm -f conftest.er1 |
4231 |
|
cat conftest.err >&5 |
4232 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4232 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4233 |
|
(exit $ac_status); } && { |
4234 |
|
test -z "$ac_c_werror_flag" || |
4235 |
|
test ! -s conftest.err |
4236 |
|
} && test -s conftest.$ac_objext; then |
4237 |
|
ac_cv_prog_cc_g=yes |
4238 |
|
else |
4239 |
< |
echo "$as_me: failed program was:" >&5 |
4239 |
> |
$as_echo "$as_me: failed program was:" >&5 |
4240 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4241 |
|
|
4242 |
|
CFLAGS="" |
4261 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4262 |
|
*) ac_try_echo=$ac_try;; |
4263 |
|
esac |
4264 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4264 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4265 |
> |
$as_echo "$ac_try_echo") >&5 |
4266 |
|
(eval "$ac_compile") 2>conftest.er1 |
4267 |
|
ac_status=$? |
4268 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4269 |
|
rm -f conftest.er1 |
4270 |
|
cat conftest.err >&5 |
4271 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4271 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4272 |
|
(exit $ac_status); } && { |
4273 |
|
test -z "$ac_c_werror_flag" || |
4274 |
|
test ! -s conftest.err |
4275 |
|
} && test -s conftest.$ac_objext; then |
4276 |
|
: |
4277 |
|
else |
4278 |
< |
echo "$as_me: failed program was:" >&5 |
4278 |
> |
$as_echo "$as_me: failed program was:" >&5 |
4279 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4280 |
|
|
4281 |
|
ac_c_werror_flag=$ac_save_c_werror_flag |
4301 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4302 |
|
*) ac_try_echo=$ac_try;; |
4303 |
|
esac |
4304 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4304 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4305 |
> |
$as_echo "$ac_try_echo") >&5 |
4306 |
|
(eval "$ac_compile") 2>conftest.er1 |
4307 |
|
ac_status=$? |
4308 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4309 |
|
rm -f conftest.er1 |
4310 |
|
cat conftest.err >&5 |
4311 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4311 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4312 |
|
(exit $ac_status); } && { |
4313 |
|
test -z "$ac_c_werror_flag" || |
4314 |
|
test ! -s conftest.err |
4315 |
|
} && test -s conftest.$ac_objext; then |
4316 |
|
ac_cv_prog_cc_g=yes |
4317 |
|
else |
4318 |
< |
echo "$as_me: failed program was:" >&5 |
4318 |
> |
$as_echo "$as_me: failed program was:" >&5 |
4319 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4320 |
|
|
4321 |
|
|
4330 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4331 |
|
ac_c_werror_flag=$ac_save_c_werror_flag |
4332 |
|
fi |
4333 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
4334 |
< |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } |
4333 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
4334 |
> |
$as_echo "$ac_cv_prog_cc_g" >&6; } |
4335 |
|
if test "$ac_test_CFLAGS" = set; then |
4336 |
|
CFLAGS=$ac_save_CFLAGS |
4337 |
|
elif test $ac_cv_prog_cc_g = yes; then |
4347 |
|
CFLAGS= |
4348 |
|
fi |
4349 |
|
fi |
4350 |
< |
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
4351 |
< |
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
4350 |
> |
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
4351 |
> |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
4352 |
|
if test "${ac_cv_prog_cc_c89+set}" = set; then |
4353 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4353 |
> |
$as_echo_n "(cached) " >&6 |
4354 |
|
else |
4355 |
|
ac_cv_prog_cc_c89=no |
4356 |
|
ac_save_CC=$CC |
4421 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4422 |
|
*) ac_try_echo=$ac_try;; |
4423 |
|
esac |
4424 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4424 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4425 |
> |
$as_echo "$ac_try_echo") >&5 |
4426 |
|
(eval "$ac_compile") 2>conftest.er1 |
4427 |
|
ac_status=$? |
4428 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4429 |
|
rm -f conftest.er1 |
4430 |
|
cat conftest.err >&5 |
4431 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4431 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4432 |
|
(exit $ac_status); } && { |
4433 |
|
test -z "$ac_c_werror_flag" || |
4434 |
|
test ! -s conftest.err |
4435 |
|
} && test -s conftest.$ac_objext; then |
4436 |
|
ac_cv_prog_cc_c89=$ac_arg |
4437 |
|
else |
4438 |
< |
echo "$as_me: failed program was:" >&5 |
4438 |
> |
$as_echo "$as_me: failed program was:" >&5 |
4439 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4440 |
|
|
4441 |
|
|
4451 |
|
# AC_CACHE_VAL |
4452 |
|
case "x$ac_cv_prog_cc_c89" in |
4453 |
|
x) |
4454 |
< |
{ echo "$as_me:$LINENO: result: none needed" >&5 |
4455 |
< |
echo "${ECHO_T}none needed" >&6; } ;; |
4454 |
> |
{ $as_echo "$as_me:$LINENO: result: none needed" >&5 |
4455 |
> |
$as_echo "none needed" >&6; } ;; |
4456 |
|
xno) |
4457 |
< |
{ echo "$as_me:$LINENO: result: unsupported" >&5 |
4458 |
< |
echo "${ECHO_T}unsupported" >&6; } ;; |
4457 |
> |
{ $as_echo "$as_me:$LINENO: result: unsupported" >&5 |
4458 |
> |
$as_echo "unsupported" >&6; } ;; |
4459 |
|
*) |
4460 |
|
CC="$CC $ac_cv_prog_cc_c89" |
4461 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
4462 |
< |
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
4461 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
4462 |
> |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
4463 |
|
esac |
4464 |
|
|
4465 |
|
|
4478 |
|
do |
4479 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
4480 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
4481 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4482 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4481 |
> |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4482 |
> |
$as_echo_n "checking for $ac_word... " >&6; } |
4483 |
|
if test "${ac_cv_prog_FC+set}" = set; then |
4484 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4484 |
> |
$as_echo_n "(cached) " >&6 |
4485 |
|
else |
4486 |
|
if test -n "$FC"; then |
4487 |
|
ac_cv_prog_FC="$FC" # Let the user override the test. |
4494 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4495 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4496 |
|
ac_cv_prog_FC="$ac_tool_prefix$ac_prog" |
4497 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4497 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4498 |
|
break 2 |
4499 |
|
fi |
4500 |
|
done |
4505 |
|
fi |
4506 |
|
FC=$ac_cv_prog_FC |
4507 |
|
if test -n "$FC"; then |
4508 |
< |
{ echo "$as_me:$LINENO: result: $FC" >&5 |
4509 |
< |
echo "${ECHO_T}$FC" >&6; } |
4508 |
> |
{ $as_echo "$as_me:$LINENO: result: $FC" >&5 |
4509 |
> |
$as_echo "$FC" >&6; } |
4510 |
|
else |
4511 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
4512 |
< |
echo "${ECHO_T}no" >&6; } |
4511 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
4512 |
> |
$as_echo "no" >&6; } |
4513 |
|
fi |
4514 |
|
|
4515 |
|
|
4522 |
|
do |
4523 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
4524 |
|
set dummy $ac_prog; ac_word=$2 |
4525 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4526 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4525 |
> |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4526 |
> |
$as_echo_n "checking for $ac_word... " >&6; } |
4527 |
|
if test "${ac_cv_prog_ac_ct_FC+set}" = set; then |
4528 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4528 |
> |
$as_echo_n "(cached) " >&6 |
4529 |
|
else |
4530 |
|
if test -n "$ac_ct_FC"; then |
4531 |
|
ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test. |
4538 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4539 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4540 |
|
ac_cv_prog_ac_ct_FC="$ac_prog" |
4541 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4541 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4542 |
|
break 2 |
4543 |
|
fi |
4544 |
|
done |
4549 |
|
fi |
4550 |
|
ac_ct_FC=$ac_cv_prog_ac_ct_FC |
4551 |
|
if test -n "$ac_ct_FC"; then |
4552 |
< |
{ echo "$as_me:$LINENO: result: $ac_ct_FC" >&5 |
4553 |
< |
echo "${ECHO_T}$ac_ct_FC" >&6; } |
4552 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_FC" >&5 |
4553 |
> |
$as_echo "$ac_ct_FC" >&6; } |
4554 |
|
else |
4555 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
4556 |
< |
echo "${ECHO_T}no" >&6; } |
4555 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
4556 |
> |
$as_echo "no" >&6; } |
4557 |
|
fi |
4558 |
|
|
4559 |
|
|
4565 |
|
else |
4566 |
|
case $cross_compiling:$ac_tool_warned in |
4567 |
|
yes:) |
4568 |
< |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
4568 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
4569 |
|
whose name does not start with the host triplet. If you think this |
4570 |
|
configuration is useful to you, please write to autoconf@gnu.org." >&5 |
4571 |
< |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
4571 |
> |
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
4572 |
|
whose name does not start with the host triplet. If you think this |
4573 |
|
configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
4574 |
|
ac_tool_warned=yes ;; |
4579 |
|
|
4580 |
|
|
4581 |
|
# Provide some information about the compiler. |
4582 |
< |
echo "$as_me:$LINENO: checking for Fortran compiler version" >&5 |
4583 |
< |
ac_compiler=`set X $ac_compile; echo $2` |
4582 |
> |
$as_echo "$as_me:$LINENO: checking for Fortran compiler version" >&5 |
4583 |
> |
set X $ac_compile |
4584 |
> |
ac_compiler=$2 |
4585 |
|
{ (ac_try="$ac_compiler --version >&5" |
4586 |
|
case "(($ac_try" in |
4587 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4588 |
|
*) ac_try_echo=$ac_try;; |
4589 |
|
esac |
4590 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4590 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4591 |
> |
$as_echo "$ac_try_echo") >&5 |
4592 |
|
(eval "$ac_compiler --version >&5") 2>&5 |
4593 |
|
ac_status=$? |
4594 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4594 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4595 |
|
(exit $ac_status); } |
4596 |
|
{ (ac_try="$ac_compiler -v >&5" |
4597 |
|
case "(($ac_try" in |
4598 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4599 |
|
*) ac_try_echo=$ac_try;; |
4600 |
|
esac |
4601 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4601 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4602 |
> |
$as_echo "$ac_try_echo") >&5 |
4603 |
|
(eval "$ac_compiler -v >&5") 2>&5 |
4604 |
|
ac_status=$? |
4605 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4605 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4606 |
|
(exit $ac_status); } |
4607 |
|
{ (ac_try="$ac_compiler -V >&5" |
4608 |
|
case "(($ac_try" in |
4609 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4610 |
|
*) ac_try_echo=$ac_try;; |
4611 |
|
esac |
4612 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4612 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4613 |
> |
$as_echo "$ac_try_echo") >&5 |
4614 |
|
(eval "$ac_compiler -V >&5") 2>&5 |
4615 |
|
ac_status=$? |
4616 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4616 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4617 |
|
(exit $ac_status); } |
4618 |
|
rm -f a.out |
4619 |
|
|
4621 |
|
# input file. (Note that this only needs to work for GNU compilers.) |
4622 |
|
ac_save_ext=$ac_ext |
4623 |
|
ac_ext=F |
4624 |
< |
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5 |
4625 |
< |
echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6; } |
4624 |
> |
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5 |
4625 |
> |
$as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; } |
4626 |
|
if test "${ac_cv_fc_compiler_gnu+set}" = set; then |
4627 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4627 |
> |
$as_echo_n "(cached) " >&6 |
4628 |
|
else |
4629 |
|
cat >conftest.$ac_ext <<_ACEOF |
4630 |
|
program main |
4640 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4641 |
|
*) ac_try_echo=$ac_try;; |
4642 |
|
esac |
4643 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4643 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4644 |
> |
$as_echo "$ac_try_echo") >&5 |
4645 |
|
(eval "$ac_compile") 2>conftest.er1 |
4646 |
|
ac_status=$? |
4647 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4648 |
|
rm -f conftest.er1 |
4649 |
|
cat conftest.err >&5 |
4650 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4650 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4651 |
|
(exit $ac_status); } && { |
4652 |
|
test -z "$ac_fc_werror_flag" || |
4653 |
|
test ! -s conftest.err |
4654 |
|
} && test -s conftest.$ac_objext; then |
4655 |
|
ac_compiler_gnu=yes |
4656 |
|
else |
4657 |
< |
echo "$as_me: failed program was:" >&5 |
4657 |
> |
$as_echo "$as_me: failed program was:" >&5 |
4658 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4659 |
|
|
4660 |
|
ac_compiler_gnu=no |
4664 |
|
ac_cv_fc_compiler_gnu=$ac_compiler_gnu |
4665 |
|
|
4666 |
|
fi |
4667 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5 |
4668 |
< |
echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6; } |
4667 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5 |
4668 |
> |
$as_echo "$ac_cv_fc_compiler_gnu" >&6; } |
4669 |
|
ac_ext=$ac_save_ext |
4670 |
|
ac_test_FFLAGS=${FCFLAGS+set} |
4671 |
|
ac_save_FFLAGS=$FCFLAGS |
4672 |
|
FCFLAGS= |
4673 |
< |
{ echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5 |
4674 |
< |
echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6; } |
4673 |
> |
{ $as_echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5 |
4674 |
> |
$as_echo_n "checking whether $FC accepts -g... " >&6; } |
4675 |
|
if test "${ac_cv_prog_fc_g+set}" = set; then |
4676 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4676 |
> |
$as_echo_n "(cached) " >&6 |
4677 |
|
else |
4678 |
|
FCFLAGS=-g |
4679 |
|
cat >conftest.$ac_ext <<_ACEOF |
4687 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4688 |
|
*) ac_try_echo=$ac_try;; |
4689 |
|
esac |
4690 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4690 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4691 |
> |
$as_echo "$ac_try_echo") >&5 |
4692 |
|
(eval "$ac_compile") 2>conftest.er1 |
4693 |
|
ac_status=$? |
4694 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4695 |
|
rm -f conftest.er1 |
4696 |
|
cat conftest.err >&5 |
4697 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4697 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4698 |
|
(exit $ac_status); } && { |
4699 |
|
test -z "$ac_fc_werror_flag" || |
4700 |
|
test ! -s conftest.err |
4701 |
|
} && test -s conftest.$ac_objext; then |
4702 |
|
ac_cv_prog_fc_g=yes |
4703 |
|
else |
4704 |
< |
echo "$as_me: failed program was:" >&5 |
4704 |
> |
$as_echo "$as_me: failed program was:" >&5 |
4705 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4706 |
|
|
4707 |
|
ac_cv_prog_fc_g=no |
4710 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4711 |
|
|
4712 |
|
fi |
4713 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5 |
4714 |
< |
echo "${ECHO_T}$ac_cv_prog_fc_g" >&6; } |
4713 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5 |
4714 |
> |
$as_echo "$ac_cv_prog_fc_g" >&6; } |
4715 |
|
if test "$ac_test_FFLAGS" = set; then |
4716 |
|
FCFLAGS=$ac_save_FFLAGS |
4717 |
|
elif test $ac_cv_prog_fc_g = yes; then |
4739 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4740 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4741 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4742 |
< |
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
4743 |
< |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } |
4742 |
> |
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
4743 |
> |
$as_echo_n "checking how to run the C preprocessor... " >&6; } |
4744 |
|
# On Suns, sometimes $CPP names a directory. |
4745 |
|
if test -n "$CPP" && test -d "$CPP"; then |
4746 |
|
CPP= |
4747 |
|
fi |
4748 |
|
if test -z "$CPP"; then |
4749 |
|
if test "${ac_cv_prog_CPP+set}" = set; then |
4750 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4750 |
> |
$as_echo_n "(cached) " >&6 |
4751 |
|
else |
4752 |
|
# Double quotes because CPP needs to be expanded |
4753 |
|
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
4779 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4780 |
|
*) ac_try_echo=$ac_try;; |
4781 |
|
esac |
4782 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4782 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4783 |
> |
$as_echo "$ac_try_echo") >&5 |
4784 |
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
4785 |
|
ac_status=$? |
4786 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4787 |
|
rm -f conftest.er1 |
4788 |
|
cat conftest.err >&5 |
4789 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4789 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4790 |
|
(exit $ac_status); } >/dev/null && { |
4791 |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
4792 |
|
test ! -s conftest.err |
4793 |
|
}; then |
4794 |
|
: |
4795 |
|
else |
4796 |
< |
echo "$as_me: failed program was:" >&5 |
4796 |
> |
$as_echo "$as_me: failed program was:" >&5 |
4797 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4798 |
|
|
4799 |
|
# Broken: fails on valid input. |
4817 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4818 |
|
*) ac_try_echo=$ac_try;; |
4819 |
|
esac |
4820 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4820 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4821 |
> |
$as_echo "$ac_try_echo") >&5 |
4822 |
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
4823 |
|
ac_status=$? |
4824 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4825 |
|
rm -f conftest.er1 |
4826 |
|
cat conftest.err >&5 |
4827 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4827 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4828 |
|
(exit $ac_status); } >/dev/null && { |
4829 |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
4830 |
|
test ! -s conftest.err |
4832 |
|
# Broken: success on invalid input. |
4833 |
|
continue |
4834 |
|
else |
4835 |
< |
echo "$as_me: failed program was:" >&5 |
4835 |
> |
$as_echo "$as_me: failed program was:" >&5 |
4836 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4837 |
|
|
4838 |
|
# Passes both tests. |
4857 |
|
else |
4858 |
|
ac_cv_prog_CPP=$CPP |
4859 |
|
fi |
4860 |
< |
{ echo "$as_me:$LINENO: result: $CPP" >&5 |
4861 |
< |
echo "${ECHO_T}$CPP" >&6; } |
4860 |
> |
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 |
4861 |
> |
$as_echo "$CPP" >&6; } |
4862 |
|
ac_preproc_ok=false |
4863 |
|
for ac_c_preproc_warn_flag in '' yes |
4864 |
|
do |
4886 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4887 |
|
*) ac_try_echo=$ac_try;; |
4888 |
|
esac |
4889 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4889 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4890 |
> |
$as_echo "$ac_try_echo") >&5 |
4891 |
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
4892 |
|
ac_status=$? |
4893 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4894 |
|
rm -f conftest.er1 |
4895 |
|
cat conftest.err >&5 |
4896 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4896 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4897 |
|
(exit $ac_status); } >/dev/null && { |
4898 |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
4899 |
|
test ! -s conftest.err |
4900 |
|
}; then |
4901 |
|
: |
4902 |
|
else |
4903 |
< |
echo "$as_me: failed program was:" >&5 |
4903 |
> |
$as_echo "$as_me: failed program was:" >&5 |
4904 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4905 |
|
|
4906 |
|
# Broken: fails on valid input. |
4924 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4925 |
|
*) ac_try_echo=$ac_try;; |
4926 |
|
esac |
4927 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4927 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4928 |
> |
$as_echo "$ac_try_echo") >&5 |
4929 |
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
4930 |
|
ac_status=$? |
4931 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4932 |
|
rm -f conftest.er1 |
4933 |
|
cat conftest.err >&5 |
4934 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4934 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4935 |
|
(exit $ac_status); } >/dev/null && { |
4936 |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
4937 |
|
test ! -s conftest.err |
4939 |
|
# Broken: success on invalid input. |
4940 |
|
continue |
4941 |
|
else |
4942 |
< |
echo "$as_me: failed program was:" >&5 |
4942 |
> |
$as_echo "$as_me: failed program was:" >&5 |
4943 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4944 |
|
|
4945 |
|
# Passes both tests. |
4955 |
|
if $ac_preproc_ok; then |
4956 |
|
: |
4957 |
|
else |
4958 |
< |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
4958 |
> |
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
4959 |
|
See \`config.log' for more details." >&5 |
4960 |
< |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
4960 |
> |
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
4961 |
|
See \`config.log' for more details." >&2;} |
4962 |
|
{ (exit 1); exit 1; }; } |
4963 |
|
fi |
4968 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4969 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4970 |
|
|
4971 |
< |
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
4972 |
< |
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } |
4971 |
> |
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
4972 |
> |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
4973 |
|
if test "${ac_cv_path_GREP+set}" = set; then |
4974 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4974 |
> |
$as_echo_n "(cached) " >&6 |
4975 |
|
else |
4976 |
< |
# Extract the first word of "grep ggrep" to use in msg output |
4844 |
< |
if test -z "$GREP"; then |
4845 |
< |
set dummy grep ggrep; ac_prog_name=$2 |
4846 |
< |
if test "${ac_cv_path_GREP+set}" = set; then |
4847 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4848 |
< |
else |
4976 |
> |
if test -z "$GREP"; then |
4977 |
|
ac_path_GREP_found=false |
4978 |
< |
# Loop through the user's path and test for each of PROGNAME-LIST |
4979 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4978 |
> |
# Loop through the user's path and test for each of PROGNAME-LIST |
4979 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4980 |
|
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
4981 |
|
do |
4982 |
|
IFS=$as_save_IFS |
4983 |
|
test -z "$as_dir" && as_dir=. |
4984 |
|
for ac_prog in grep ggrep; do |
4985 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
4986 |
< |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
4987 |
< |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
4988 |
< |
# Check for GNU ac_path_GREP and select it if it is found. |
4985 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
4986 |
> |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
4987 |
> |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
4988 |
> |
# Check for GNU ac_path_GREP and select it if it is found. |
4989 |
|
# Check for GNU $ac_path_GREP |
4990 |
|
case `"$ac_path_GREP" --version 2>&1` in |
4991 |
|
*GNU*) |
4992 |
|
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
4993 |
|
*) |
4994 |
|
ac_count=0 |
4995 |
< |
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
4995 |
> |
$as_echo_n 0123456789 >"conftest.in" |
4996 |
|
while : |
4997 |
|
do |
4998 |
|
cat "conftest.in" "conftest.in" >"conftest.tmp" |
4999 |
|
mv "conftest.tmp" "conftest.in" |
5000 |
|
cp "conftest.in" "conftest.nl" |
5001 |
< |
echo 'GREP' >> "conftest.nl" |
5001 |
> |
$as_echo 'GREP' >> "conftest.nl" |
5002 |
|
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
5003 |
|
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
5004 |
|
ac_count=`expr $ac_count + 1` |
5013 |
|
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
5014 |
|
esac |
5015 |
|
|
5016 |
< |
|
5017 |
< |
$ac_path_GREP_found && break 3 |
5016 |
> |
$ac_path_GREP_found && break 3 |
5017 |
> |
done |
5018 |
|
done |
5019 |
|
done |
4892 |
– |
|
4893 |
– |
done |
5020 |
|
IFS=$as_save_IFS |
5021 |
< |
|
5022 |
< |
|
5023 |
< |
fi |
4898 |
< |
|
4899 |
< |
GREP="$ac_cv_path_GREP" |
4900 |
< |
if test -z "$GREP"; then |
4901 |
< |
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
4902 |
< |
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
5021 |
> |
if test -z "$ac_cv_path_GREP"; then |
5022 |
> |
{ { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
5023 |
> |
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
5024 |
|
{ (exit 1); exit 1; }; } |
5025 |
< |
fi |
4905 |
< |
|
5025 |
> |
fi |
5026 |
|
else |
5027 |
|
ac_cv_path_GREP=$GREP |
5028 |
|
fi |
5029 |
|
|
4910 |
– |
|
5030 |
|
fi |
5031 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
5032 |
< |
echo "${ECHO_T}$ac_cv_path_GREP" >&6; } |
5031 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
5032 |
> |
$as_echo "$ac_cv_path_GREP" >&6; } |
5033 |
|
GREP="$ac_cv_path_GREP" |
5034 |
|
|
5035 |
|
|
5036 |
< |
{ echo "$as_me:$LINENO: checking for egrep" >&5 |
5037 |
< |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } |
5036 |
> |
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 |
5037 |
> |
$as_echo_n "checking for egrep... " >&6; } |
5038 |
|
if test "${ac_cv_path_EGREP+set}" = set; then |
5039 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5039 |
> |
$as_echo_n "(cached) " >&6 |
5040 |
|
else |
5041 |
|
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
5042 |
|
then ac_cv_path_EGREP="$GREP -E" |
5043 |
|
else |
5044 |
< |
# Extract the first word of "egrep" to use in msg output |
4926 |
< |
if test -z "$EGREP"; then |
4927 |
< |
set dummy egrep; ac_prog_name=$2 |
4928 |
< |
if test "${ac_cv_path_EGREP+set}" = set; then |
4929 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4930 |
< |
else |
5044 |
> |
if test -z "$EGREP"; then |
5045 |
|
ac_path_EGREP_found=false |
5046 |
< |
# Loop through the user's path and test for each of PROGNAME-LIST |
5047 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5046 |
> |
# Loop through the user's path and test for each of PROGNAME-LIST |
5047 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5048 |
|
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
5049 |
|
do |
5050 |
|
IFS=$as_save_IFS |
5051 |
|
test -z "$as_dir" && as_dir=. |
5052 |
|
for ac_prog in egrep; do |
5053 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
5054 |
< |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
5055 |
< |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
5056 |
< |
# Check for GNU ac_path_EGREP and select it if it is found. |
5053 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
5054 |
> |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
5055 |
> |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
5056 |
> |
# Check for GNU ac_path_EGREP and select it if it is found. |
5057 |
|
# Check for GNU $ac_path_EGREP |
5058 |
|
case `"$ac_path_EGREP" --version 2>&1` in |
5059 |
|
*GNU*) |
5060 |
|
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
5061 |
|
*) |
5062 |
|
ac_count=0 |
5063 |
< |
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
5063 |
> |
$as_echo_n 0123456789 >"conftest.in" |
5064 |
|
while : |
5065 |
|
do |
5066 |
|
cat "conftest.in" "conftest.in" >"conftest.tmp" |
5067 |
|
mv "conftest.tmp" "conftest.in" |
5068 |
|
cp "conftest.in" "conftest.nl" |
5069 |
< |
echo 'EGREP' >> "conftest.nl" |
5069 |
> |
$as_echo 'EGREP' >> "conftest.nl" |
5070 |
|
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
5071 |
|
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
5072 |
|
ac_count=`expr $ac_count + 1` |
5081 |
|
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
5082 |
|
esac |
5083 |
|
|
5084 |
< |
|
5085 |
< |
$ac_path_EGREP_found && break 3 |
5084 |
> |
$ac_path_EGREP_found && break 3 |
5085 |
> |
done |
5086 |
|
done |
5087 |
|
done |
4974 |
– |
|
4975 |
– |
done |
5088 |
|
IFS=$as_save_IFS |
5089 |
< |
|
5090 |
< |
|
5091 |
< |
fi |
4980 |
< |
|
4981 |
< |
EGREP="$ac_cv_path_EGREP" |
4982 |
< |
if test -z "$EGREP"; then |
4983 |
< |
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
4984 |
< |
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
5089 |
> |
if test -z "$ac_cv_path_EGREP"; then |
5090 |
> |
{ { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
5091 |
> |
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
5092 |
|
{ (exit 1); exit 1; }; } |
5093 |
< |
fi |
4987 |
< |
|
5093 |
> |
fi |
5094 |
|
else |
5095 |
|
ac_cv_path_EGREP=$EGREP |
5096 |
|
fi |
5097 |
|
|
4992 |
– |
|
5098 |
|
fi |
5099 |
|
fi |
5100 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
5101 |
< |
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } |
5100 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
5101 |
> |
$as_echo "$ac_cv_path_EGREP" >&6; } |
5102 |
|
EGREP="$ac_cv_path_EGREP" |
5103 |
|
|
5104 |
|
|
5105 |
< |
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
5106 |
< |
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } |
5105 |
> |
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
5106 |
> |
$as_echo_n "checking whether ln -s works... " >&6; } |
5107 |
|
LN_S=$as_ln_s |
5108 |
|
if test "$LN_S" = "ln -s"; then |
5109 |
< |
{ echo "$as_me:$LINENO: result: yes" >&5 |
5110 |
< |
echo "${ECHO_T}yes" >&6; } |
5109 |
> |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
5110 |
> |
$as_echo "yes" >&6; } |
5111 |
|
else |
5112 |
< |
{ echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
5113 |
< |
echo "${ECHO_T}no, using $LN_S" >&6; } |
5112 |
> |
{ $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
5113 |
> |
$as_echo "no, using $LN_S" >&6; } |
5114 |
|
fi |
5115 |
|
|
5116 |
< |
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
5117 |
< |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } |
5118 |
< |
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
5116 |
> |
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
5117 |
> |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
5118 |
> |
set x ${MAKE-make} |
5119 |
> |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
5120 |
|
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then |
5121 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5121 |
> |
$as_echo_n "(cached) " >&6 |
5122 |
|
else |
5123 |
|
cat >conftest.make <<\_ACEOF |
5124 |
|
SHELL = /bin/sh |
5135 |
|
rm -f conftest.make |
5136 |
|
fi |
5137 |
|
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
5138 |
< |
{ echo "$as_me:$LINENO: result: yes" >&5 |
5139 |
< |
echo "${ECHO_T}yes" >&6; } |
5138 |
> |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
5139 |
> |
$as_echo "yes" >&6; } |
5140 |
|
SET_MAKE= |
5141 |
|
else |
5142 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
5143 |
< |
echo "${ECHO_T}no" >&6; } |
5142 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
5143 |
> |
$as_echo "no" >&6; } |
5144 |
|
SET_MAKE="MAKE=${MAKE-make}" |
5145 |
|
fi |
5146 |
|
|
5147 |
|
if test -n "$ac_tool_prefix"; then |
5148 |
|
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
5149 |
|
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
5150 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5151 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5150 |
> |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5151 |
> |
$as_echo_n "checking for $ac_word... " >&6; } |
5152 |
|
if test "${ac_cv_prog_RANLIB+set}" = set; then |
5153 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5153 |
> |
$as_echo_n "(cached) " >&6 |
5154 |
|
else |
5155 |
|
if test -n "$RANLIB"; then |
5156 |
|
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
5163 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
5164 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5165 |
|
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
5166 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5166 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5167 |
|
break 2 |
5168 |
|
fi |
5169 |
|
done |
5174 |
|
fi |
5175 |
|
RANLIB=$ac_cv_prog_RANLIB |
5176 |
|
if test -n "$RANLIB"; then |
5177 |
< |
{ echo "$as_me:$LINENO: result: $RANLIB" >&5 |
5178 |
< |
echo "${ECHO_T}$RANLIB" >&6; } |
5177 |
> |
{ $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 |
5178 |
> |
$as_echo "$RANLIB" >&6; } |
5179 |
|
else |
5180 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
5181 |
< |
echo "${ECHO_T}no" >&6; } |
5180 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
5181 |
> |
$as_echo "no" >&6; } |
5182 |
|
fi |
5183 |
|
|
5184 |
|
|
5187 |
|
ac_ct_RANLIB=$RANLIB |
5188 |
|
# Extract the first word of "ranlib", so it can be a program name with args. |
5189 |
|
set dummy ranlib; ac_word=$2 |
5190 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5191 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5190 |
> |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5191 |
> |
$as_echo_n "checking for $ac_word... " >&6; } |
5192 |
|
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
5193 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5193 |
> |
$as_echo_n "(cached) " >&6 |
5194 |
|
else |
5195 |
|
if test -n "$ac_ct_RANLIB"; then |
5196 |
|
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
5203 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
5204 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5205 |
|
ac_cv_prog_ac_ct_RANLIB="ranlib" |
5206 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5206 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5207 |
|
break 2 |
5208 |
|
fi |
5209 |
|
done |
5214 |
|
fi |
5215 |
|
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
5216 |
|
if test -n "$ac_ct_RANLIB"; then |
5217 |
< |
{ echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
5218 |
< |
echo "${ECHO_T}$ac_ct_RANLIB" >&6; } |
5217 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
5218 |
> |
$as_echo "$ac_ct_RANLIB" >&6; } |
5219 |
|
else |
5220 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
5221 |
< |
echo "${ECHO_T}no" >&6; } |
5220 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
5221 |
> |
$as_echo "no" >&6; } |
5222 |
|
fi |
5223 |
|
|
5224 |
|
if test "x$ac_ct_RANLIB" = x; then |
5226 |
|
else |
5227 |
|
case $cross_compiling:$ac_tool_warned in |
5228 |
|
yes:) |
5229 |
< |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
5229 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
5230 |
|
whose name does not start with the host triplet. If you think this |
5231 |
|
configuration is useful to you, please write to autoconf@gnu.org." >&5 |
5232 |
< |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
5232 |
> |
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
5233 |
|
whose name does not start with the host triplet. If you think this |
5234 |
|
configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
5235 |
|
ac_tool_warned=yes ;; |
5240 |
|
RANLIB="$ac_cv_prog_RANLIB" |
5241 |
|
fi |
5242 |
|
|
5137 |
– |
for ac_prog in 'bison -y' byacc |
5138 |
– |
do |
5139 |
– |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
5140 |
– |
set dummy $ac_prog; ac_word=$2 |
5141 |
– |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5142 |
– |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5143 |
– |
if test "${ac_cv_prog_YACC+set}" = set; then |
5144 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5145 |
– |
else |
5146 |
– |
if test -n "$YACC"; then |
5147 |
– |
ac_cv_prog_YACC="$YACC" # Let the user override the test. |
5148 |
– |
else |
5149 |
– |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5150 |
– |
for as_dir in $PATH |
5151 |
– |
do |
5152 |
– |
IFS=$as_save_IFS |
5153 |
– |
test -z "$as_dir" && as_dir=. |
5154 |
– |
for ac_exec_ext in '' $ac_executable_extensions; do |
5155 |
– |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5156 |
– |
ac_cv_prog_YACC="$ac_prog" |
5157 |
– |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5158 |
– |
break 2 |
5159 |
– |
fi |
5160 |
– |
done |
5161 |
– |
done |
5162 |
– |
IFS=$as_save_IFS |
5243 |
|
|
5164 |
– |
fi |
5165 |
– |
fi |
5166 |
– |
YACC=$ac_cv_prog_YACC |
5167 |
– |
if test -n "$YACC"; then |
5168 |
– |
{ echo "$as_me:$LINENO: result: $YACC" >&5 |
5169 |
– |
echo "${ECHO_T}$YACC" >&6; } |
5170 |
– |
else |
5171 |
– |
{ echo "$as_me:$LINENO: result: no" >&5 |
5172 |
– |
echo "${ECHO_T}no" >&6; } |
5173 |
– |
fi |
5174 |
– |
|
5175 |
– |
|
5176 |
– |
test -n "$YACC" && break |
5177 |
– |
done |
5178 |
– |
test -n "$YACC" || YACC="yacc" |
5179 |
– |
|
5180 |
– |
|
5181 |
– |
for ac_prog in flex lex |
5182 |
– |
do |
5183 |
– |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
5184 |
– |
set dummy $ac_prog; ac_word=$2 |
5185 |
– |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5186 |
– |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5187 |
– |
if test "${ac_cv_prog_LEX+set}" = set; then |
5188 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5189 |
– |
else |
5190 |
– |
if test -n "$LEX"; then |
5191 |
– |
ac_cv_prog_LEX="$LEX" # Let the user override the test. |
5192 |
– |
else |
5193 |
– |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5194 |
– |
for as_dir in $PATH |
5195 |
– |
do |
5196 |
– |
IFS=$as_save_IFS |
5197 |
– |
test -z "$as_dir" && as_dir=. |
5198 |
– |
for ac_exec_ext in '' $ac_executable_extensions; do |
5199 |
– |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5200 |
– |
ac_cv_prog_LEX="$ac_prog" |
5201 |
– |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5202 |
– |
break 2 |
5203 |
– |
fi |
5204 |
– |
done |
5205 |
– |
done |
5206 |
– |
IFS=$as_save_IFS |
5207 |
– |
|
5208 |
– |
fi |
5209 |
– |
fi |
5210 |
– |
LEX=$ac_cv_prog_LEX |
5211 |
– |
if test -n "$LEX"; then |
5212 |
– |
{ echo "$as_me:$LINENO: result: $LEX" >&5 |
5213 |
– |
echo "${ECHO_T}$LEX" >&6; } |
5214 |
– |
else |
5215 |
– |
{ echo "$as_me:$LINENO: result: no" >&5 |
5216 |
– |
echo "${ECHO_T}no" >&6; } |
5217 |
– |
fi |
5218 |
– |
|
5219 |
– |
|
5220 |
– |
test -n "$LEX" && break |
5221 |
– |
done |
5222 |
– |
test -n "$LEX" || LEX=":" |
5223 |
– |
|
5224 |
– |
if test "x$LEX" != "x:"; then |
5225 |
– |
cat >conftest.l <<_ACEOF |
5226 |
– |
%% |
5227 |
– |
a { ECHO; } |
5228 |
– |
b { REJECT; } |
5229 |
– |
c { yymore (); } |
5230 |
– |
d { yyless (1); } |
5231 |
– |
e { yyless (input () != 0); } |
5232 |
– |
f { unput (yytext[0]); } |
5233 |
– |
. { BEGIN INITIAL; } |
5234 |
– |
%% |
5235 |
– |
#ifdef YYTEXT_POINTER |
5236 |
– |
extern char *yytext; |
5237 |
– |
#endif |
5238 |
– |
int |
5239 |
– |
main (void) |
5240 |
– |
{ |
5241 |
– |
return ! yylex () + ! yywrap (); |
5242 |
– |
} |
5243 |
– |
_ACEOF |
5244 |
– |
{ (ac_try="$LEX conftest.l" |
5245 |
– |
case "(($ac_try" in |
5246 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5247 |
– |
*) ac_try_echo=$ac_try;; |
5248 |
– |
esac |
5249 |
– |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5250 |
– |
(eval "$LEX conftest.l") 2>&5 |
5251 |
– |
ac_status=$? |
5252 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5253 |
– |
(exit $ac_status); } |
5254 |
– |
{ echo "$as_me:$LINENO: checking lex output file root" >&5 |
5255 |
– |
echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; } |
5256 |
– |
if test "${ac_cv_prog_lex_root+set}" = set; then |
5257 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5258 |
– |
else |
5259 |
– |
|
5260 |
– |
if test -f lex.yy.c; then |
5261 |
– |
ac_cv_prog_lex_root=lex.yy |
5262 |
– |
elif test -f lexyy.c; then |
5263 |
– |
ac_cv_prog_lex_root=lexyy |
5264 |
– |
else |
5265 |
– |
{ { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5 |
5266 |
– |
echo "$as_me: error: cannot find output from $LEX; giving up" >&2;} |
5267 |
– |
{ (exit 1); exit 1; }; } |
5268 |
– |
fi |
5269 |
– |
fi |
5270 |
– |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5 |
5271 |
– |
echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; } |
5272 |
– |
LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root |
5273 |
– |
|
5274 |
– |
if test -z "${LEXLIB+set}"; then |
5275 |
– |
{ echo "$as_me:$LINENO: checking lex library" >&5 |
5276 |
– |
echo $ECHO_N "checking lex library... $ECHO_C" >&6; } |
5277 |
– |
if test "${ac_cv_lib_lex+set}" = set; then |
5278 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5279 |
– |
else |
5280 |
– |
|
5281 |
– |
ac_save_LIBS=$LIBS |
5282 |
– |
ac_cv_lib_lex='none needed' |
5283 |
– |
for ac_lib in '' -lfl -ll; do |
5284 |
– |
LIBS="$ac_lib $ac_save_LIBS" |
5285 |
– |
cat >conftest.$ac_ext <<_ACEOF |
5286 |
– |
`cat $LEX_OUTPUT_ROOT.c` |
5287 |
– |
_ACEOF |
5288 |
– |
rm -f conftest.$ac_objext conftest$ac_exeext |
5289 |
– |
if { (ac_try="$ac_link" |
5290 |
– |
case "(($ac_try" in |
5291 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5292 |
– |
*) ac_try_echo=$ac_try;; |
5293 |
– |
esac |
5294 |
– |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5295 |
– |
(eval "$ac_link") 2>conftest.er1 |
5296 |
– |
ac_status=$? |
5297 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
5298 |
– |
rm -f conftest.er1 |
5299 |
– |
cat conftest.err >&5 |
5300 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5301 |
– |
(exit $ac_status); } && { |
5302 |
– |
test -z "$ac_c_werror_flag" || |
5303 |
– |
test ! -s conftest.err |
5304 |
– |
} && test -s conftest$ac_exeext && |
5305 |
– |
$as_test_x conftest$ac_exeext; then |
5306 |
– |
ac_cv_lib_lex=$ac_lib |
5307 |
– |
else |
5308 |
– |
echo "$as_me: failed program was:" >&5 |
5309 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
5310 |
– |
|
5311 |
– |
|
5312 |
– |
fi |
5313 |
– |
|
5314 |
– |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
5315 |
– |
conftest$ac_exeext conftest.$ac_ext |
5316 |
– |
test "$ac_cv_lib_lex" != 'none needed' && break |
5317 |
– |
done |
5318 |
– |
LIBS=$ac_save_LIBS |
5319 |
– |
|
5320 |
– |
fi |
5321 |
– |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5 |
5322 |
– |
echo "${ECHO_T}$ac_cv_lib_lex" >&6; } |
5323 |
– |
test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex |
5324 |
– |
fi |
5325 |
– |
|
5326 |
– |
|
5327 |
– |
{ echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5 |
5328 |
– |
echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; } |
5329 |
– |
if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then |
5330 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5331 |
– |
else |
5332 |
– |
# POSIX says lex can declare yytext either as a pointer or an array; the |
5333 |
– |
# default is implementation-dependent. Figure out which it is, since |
5334 |
– |
# not all implementations provide the %pointer and %array declarations. |
5335 |
– |
ac_cv_prog_lex_yytext_pointer=no |
5336 |
– |
ac_save_LIBS=$LIBS |
5337 |
– |
LIBS="$LEXLIB $ac_save_LIBS" |
5338 |
– |
cat >conftest.$ac_ext <<_ACEOF |
5339 |
– |
#define YYTEXT_POINTER 1 |
5340 |
– |
`cat $LEX_OUTPUT_ROOT.c` |
5341 |
– |
_ACEOF |
5342 |
– |
rm -f conftest.$ac_objext conftest$ac_exeext |
5343 |
– |
if { (ac_try="$ac_link" |
5344 |
– |
case "(($ac_try" in |
5345 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5346 |
– |
*) ac_try_echo=$ac_try;; |
5347 |
– |
esac |
5348 |
– |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5349 |
– |
(eval "$ac_link") 2>conftest.er1 |
5350 |
– |
ac_status=$? |
5351 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
5352 |
– |
rm -f conftest.er1 |
5353 |
– |
cat conftest.err >&5 |
5354 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5355 |
– |
(exit $ac_status); } && { |
5356 |
– |
test -z "$ac_c_werror_flag" || |
5357 |
– |
test ! -s conftest.err |
5358 |
– |
} && test -s conftest$ac_exeext && |
5359 |
– |
$as_test_x conftest$ac_exeext; then |
5360 |
– |
ac_cv_prog_lex_yytext_pointer=yes |
5361 |
– |
else |
5362 |
– |
echo "$as_me: failed program was:" >&5 |
5363 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
5364 |
– |
|
5365 |
– |
|
5366 |
– |
fi |
5367 |
– |
|
5368 |
– |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
5369 |
– |
conftest$ac_exeext conftest.$ac_ext |
5370 |
– |
LIBS=$ac_save_LIBS |
5371 |
– |
|
5372 |
– |
fi |
5373 |
– |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5 |
5374 |
– |
echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; } |
5375 |
– |
if test $ac_cv_prog_lex_yytext_pointer = yes; then |
5376 |
– |
|
5377 |
– |
cat >>confdefs.h <<\_ACEOF |
5378 |
– |
#define YYTEXT_POINTER 1 |
5379 |
– |
_ACEOF |
5380 |
– |
|
5381 |
– |
fi |
5382 |
– |
rm -f conftest.l $LEX_OUTPUT_ROOT.c |
5383 |
– |
|
5384 |
– |
fi |
5385 |
– |
|
5244 |
|
# Extract the first word of "perl", so it can be a program name with args. |
5245 |
|
set dummy perl; ac_word=$2 |
5246 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5247 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5246 |
> |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5247 |
> |
$as_echo_n "checking for $ac_word... " >&6; } |
5248 |
|
if test "${ac_cv_path_PERLINTERP+set}" = set; then |
5249 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5249 |
> |
$as_echo_n "(cached) " >&6 |
5250 |
|
else |
5251 |
|
case $PERLINTERP in |
5252 |
|
[\\/]* | ?:[\\/]*) |
5261 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
5262 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5263 |
|
ac_cv_path_PERLINTERP="$as_dir/$ac_word$ac_exec_ext" |
5264 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5264 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5265 |
|
break 2 |
5266 |
|
fi |
5267 |
|
done |
5274 |
|
fi |
5275 |
|
PERLINTERP=$ac_cv_path_PERLINTERP |
5276 |
|
if test -n "$PERLINTERP"; then |
5277 |
< |
{ echo "$as_me:$LINENO: result: $PERLINTERP" >&5 |
5278 |
< |
echo "${ECHO_T}$PERLINTERP" >&6; } |
5277 |
> |
{ $as_echo "$as_me:$LINENO: result: $PERLINTERP" >&5 |
5278 |
> |
$as_echo "$PERLINTERP" >&6; } |
5279 |
|
else |
5280 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
5281 |
< |
echo "${ECHO_T}no" >&6; } |
5280 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
5281 |
> |
$as_echo "no" >&6; } |
5282 |
|
fi |
5283 |
|
|
5284 |
|
|
5293 |
|
opt_perl_shebang="not_set" |
5294 |
|
fi |
5295 |
|
|
5296 |
< |
{ echo "$as_me:$LINENO: checking whether explicit instead of detected sharpbang is to be used" >&5 |
5297 |
< |
echo $ECHO_N "checking whether explicit instead of detected sharpbang is to be used... $ECHO_C" >&6; } |
5296 |
> |
{ $as_echo "$as_me:$LINENO: checking whether explicit instead of detected sharpbang is to be used" >&5 |
5297 |
> |
$as_echo_n "checking whether explicit instead of detected sharpbang is to be used... " >&6; } |
5298 |
|
if test "${ax_cv_opt_perl_shebang+set}" = set; then |
5299 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5299 |
> |
$as_echo_n "(cached) " >&6 |
5300 |
|
else |
5301 |
|
case "$opt_perl_shebang" in |
5302 |
|
not_set ) ax_cv_opt_perl_shebang='' |
5306 |
|
esac |
5307 |
|
|
5308 |
|
fi |
5309 |
< |
{ echo "$as_me:$LINENO: result: $ax_cv_opt_perl_shebang" >&5 |
5310 |
< |
echo "${ECHO_T}$ax_cv_opt_perl_shebang" >&6; } |
5309 |
> |
{ $as_echo "$as_me:$LINENO: result: $ax_cv_opt_perl_shebang" >&5 |
5310 |
> |
$as_echo "$ax_cv_opt_perl_shebang" >&6; } |
5311 |
|
if test "A$ax_cv_opt_perl_shebang" != "A" |
5312 |
|
then |
5313 |
|
ac_cv_sys_kernshrpbang_perl="$ax_cv_opt_perl_shebang" |
5314 |
|
PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl" |
5315 |
< |
{ echo "$as_me:$LINENO: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&5 |
5316 |
< |
echo "$as_me: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&6;} |
5315 |
> |
{ $as_echo "$as_me:$LINENO: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&5 |
5316 |
> |
$as_echo "$as_me: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&6;} |
5317 |
|
|
5318 |
|
# Automatic detection of sharpbang formula starts here |
5319 |
|
else |
5320 |
|
_somian_shbangperl=`$PERLINTERP -V:startperl` |
5321 |
|
negclass="[^']"; # must leave this comment: m4 will remove the outer brackets for us, heheh |
5322 |
< |
{ echo "$as_me:$LINENO: checking for kernel sharpbang invocation to start perl" >&5 |
5323 |
< |
echo $ECHO_N "checking for kernel sharpbang invocation to start perl... $ECHO_C" >&6; } |
5322 |
> |
{ $as_echo "$as_me:$LINENO: checking for kernel sharpbang invocation to start perl" >&5 |
5323 |
> |
$as_echo_n "checking for kernel sharpbang invocation to start perl... " >&6; } |
5324 |
|
if test "${ac_cv_sys_kernshrpbang_perl+set}" = set; then |
5325 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5325 |
> |
$as_echo_n "(cached) " >&6 |
5326 |
|
else |
5327 |
|
_somian_kspb_perl=`echo "$_somian_shbangperl" | sed -ne"s|.*='\($negclass*\)';$|\1|p"` |
5328 |
|
if test "x$_somian_kspb_perl" == x |
5338 |
|
fi |
5339 |
|
|
5340 |
|
fi |
5341 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_sys_kernshrpbang_perl" >&5 |
5342 |
< |
echo "${ECHO_T}$ac_cv_sys_kernshrpbang_perl" >&6; } |
5341 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_kernshrpbang_perl" >&5 |
5342 |
> |
$as_echo "$ac_cv_sys_kernshrpbang_perl" >&6; } |
5343 |
|
# The above prints Checking ... result message to user. |
5344 |
|
PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl" |
5345 |
|
|
5346 |
|
if test A${_somian_ksbp_warn_empty+set} == Aset |
5347 |
< |
then { echo "$as_me:$LINENO: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&5 |
5348 |
< |
echo "$as_me: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&2;} |
5347 |
> |
then { $as_echo "$as_me:$LINENO: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&5 |
5348 |
> |
$as_echo "$as_me: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&2;} |
5349 |
|
fi |
5350 |
|
# Inform user after printing result value |
5351 |
|
if test A${_somian_ksbp_warn_defau+set} == Aset |
5352 |
< |
then { echo "$as_me:$LINENO: Maybe Not good -" >&5 |
5353 |
< |
echo "$as_me: Maybe Not good -" >&6;} |
5354 |
< |
{ echo "$as_me:$LINENO: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&5 |
5355 |
< |
echo "$as_me: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&2;} |
5356 |
< |
else { echo "$as_me:$LINENO: OK Good result - " >&5 |
5357 |
< |
echo "$as_me: OK Good result - " >&6;} |
5358 |
< |
{ echo "$as_me:$LINENO: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&5 |
5359 |
< |
echo "$as_me: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&6;} |
5352 |
> |
then { $as_echo "$as_me:$LINENO: Maybe Not good -" >&5 |
5353 |
> |
$as_echo "$as_me: Maybe Not good -" >&6;} |
5354 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&5 |
5355 |
> |
$as_echo "$as_me: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&2;} |
5356 |
> |
else { $as_echo "$as_me:$LINENO: OK Good result - " >&5 |
5357 |
> |
$as_echo "$as_me: OK Good result - " >&6;} |
5358 |
> |
{ $as_echo "$as_me:$LINENO: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&5 |
5359 |
> |
$as_echo "$as_me: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&6;} |
5360 |
|
fi |
5361 |
|
fi |
5362 |
|
|
5373 |
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
5374 |
|
# OS/2's system install, which has a completely different semantic |
5375 |
|
# ./install, which can be erroneously created by make from ./install.sh. |
5376 |
< |
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
5377 |
< |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } |
5376 |
> |
# Reject install programs that cannot install multiple files. |
5377 |
> |
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
5378 |
> |
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
5379 |
|
if test -z "$INSTALL"; then |
5380 |
|
if test "${ac_cv_path_install+set}" = set; then |
5381 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5381 |
> |
$as_echo_n "(cached) " >&6 |
5382 |
|
else |
5383 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5384 |
|
for as_dir in $PATH |
5407 |
|
# program-specific install script used by HP pwplus--don't use. |
5408 |
|
: |
5409 |
|
else |
5410 |
< |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
5411 |
< |
break 3 |
5410 |
> |
rm -rf conftest.one conftest.two conftest.dir |
5411 |
> |
echo one > conftest.one |
5412 |
> |
echo two > conftest.two |
5413 |
> |
mkdir conftest.dir |
5414 |
> |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
5415 |
> |
test -s conftest.one && test -s conftest.two && |
5416 |
> |
test -s conftest.dir/conftest.one && |
5417 |
> |
test -s conftest.dir/conftest.two |
5418 |
> |
then |
5419 |
> |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
5420 |
> |
break 3 |
5421 |
> |
fi |
5422 |
|
fi |
5423 |
|
fi |
5424 |
|
done |
5425 |
|
done |
5426 |
|
;; |
5427 |
|
esac |
5428 |
+ |
|
5429 |
|
done |
5430 |
|
IFS=$as_save_IFS |
5431 |
|
|
5432 |
+ |
rm -rf conftest.one conftest.two conftest.dir |
5433 |
|
|
5434 |
|
fi |
5435 |
|
if test "${ac_cv_path_install+set}" = set; then |
5442 |
|
INSTALL=$ac_install_sh |
5443 |
|
fi |
5444 |
|
fi |
5445 |
< |
{ echo "$as_me:$LINENO: result: $INSTALL" >&5 |
5446 |
< |
echo "${ECHO_T}$INSTALL" >&6; } |
5445 |
> |
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 |
5446 |
> |
$as_echo "$INSTALL" >&6; } |
5447 |
|
|
5448 |
|
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
5449 |
|
# It thinks the first close brace ends the variable substitution. |
5460 |
|
MKINSTALLDIRS=`pwd`/ac-tools/"shtool mkdir -p -f" |
5461 |
|
# Extract the first word of "ar", so it can be a program name with args. |
5462 |
|
set dummy ar; ac_word=$2 |
5463 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5464 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5463 |
> |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5464 |
> |
$as_echo_n "checking for $ac_word... " >&6; } |
5465 |
|
if test "${ac_cv_prog_AR+set}" = set; then |
5466 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5466 |
> |
$as_echo_n "(cached) " >&6 |
5467 |
|
else |
5468 |
|
if test -n "$AR"; then |
5469 |
|
ac_cv_prog_AR="$AR" # Let the user override the test. |
5476 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
5477 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5478 |
|
ac_cv_prog_AR="ar" |
5479 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5479 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5480 |
|
break 2 |
5481 |
|
fi |
5482 |
|
done |
5488 |
|
fi |
5489 |
|
AR=$ac_cv_prog_AR |
5490 |
|
if test -n "$AR"; then |
5491 |
< |
{ echo "$as_me:$LINENO: result: $AR" >&5 |
5492 |
< |
echo "${ECHO_T}$AR" >&6; } |
5491 |
> |
{ $as_echo "$as_me:$LINENO: result: $AR" >&5 |
5492 |
> |
$as_echo "$AR" >&6; } |
5493 |
|
else |
5494 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
5495 |
< |
echo "${ECHO_T}no" >&6; } |
5494 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
5495 |
> |
$as_echo "no" >&6; } |
5496 |
|
fi |
5497 |
|
|
5498 |
|
|
5524 |
|
case $ac_val in #( |
5525 |
|
*${as_nl}*) |
5526 |
|
case $ac_var in #( |
5527 |
< |
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
5528 |
< |
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
5527 |
> |
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
5528 |
> |
$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
5529 |
|
esac |
5530 |
|
case $ac_var in #( |
5531 |
|
_ | IFS | as_nl) ;; #( |
5532 |
+ |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
5533 |
|
*) $as_unset $ac_var ;; |
5534 |
|
esac ;; |
5535 |
|
esac |
5562 |
|
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
5563 |
|
if test -w "$cache_file"; then |
5564 |
|
test "x$cache_file" != "x/dev/null" && |
5565 |
< |
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
5566 |
< |
echo "$as_me: updating cache $cache_file" >&6;} |
5565 |
> |
{ $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
5566 |
> |
$as_echo "$as_me: updating cache $cache_file" >&6;} |
5567 |
|
cat confcache >$cache_file |
5568 |
|
else |
5569 |
< |
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
5570 |
< |
echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
5569 |
> |
{ $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
5570 |
> |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
5571 |
|
fi |
5572 |
|
fi |
5573 |
|
rm -f confcache |
5575 |
|
fi |
5576 |
|
# Extract the first word of "ps", so it can be a program name with args. |
5577 |
|
set dummy ps; ac_word=$2 |
5578 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5579 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5578 |
> |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5579 |
> |
$as_echo_n "checking for $ac_word... " >&6; } |
5580 |
|
if test "${ac_cv_path_PS+set}" = set; then |
5581 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5581 |
> |
$as_echo_n "(cached) " >&6 |
5582 |
|
else |
5583 |
|
case $PS in |
5584 |
|
[\\/]* | ?:[\\/]*) |
5593 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
5594 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5595 |
|
ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext" |
5596 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5596 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5597 |
|
break 2 |
5598 |
|
fi |
5599 |
|
done |
5605 |
|
fi |
5606 |
|
PS=$ac_cv_path_PS |
5607 |
|
if test -n "$PS"; then |
5608 |
< |
{ echo "$as_me:$LINENO: result: $PS" >&5 |
5609 |
< |
echo "${ECHO_T}$PS" >&6; } |
5608 |
> |
{ $as_echo "$as_me:$LINENO: result: $PS" >&5 |
5609 |
> |
$as_echo "$PS" >&6; } |
5610 |
|
else |
5611 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
5612 |
< |
echo "${ECHO_T}no" >&6; } |
5611 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
5612 |
> |
$as_echo "no" >&6; } |
5613 |
|
fi |
5614 |
|
|
5615 |
|
|
5616 |
< |
{ echo "$as_me:$LINENO: checking for POSIX or BSD ps syntax" >&5 |
5617 |
< |
echo $ECHO_N "checking for POSIX or BSD ps syntax... $ECHO_C" >&6; } |
5616 |
> |
{ $as_echo "$as_me:$LINENO: checking for POSIX or BSD ps syntax" >&5 |
5617 |
> |
$as_echo_n "checking for POSIX or BSD ps syntax... " >&6; } |
5618 |
|
if test "${ac_cv_prog_ps_syntax+set}" = set; then |
5619 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5619 |
> |
$as_echo_n "(cached) " >&6 |
5620 |
|
else |
5621 |
|
|
5622 |
|
if $PS ax -o rss > /dev/null 2>&1; then |
5635 |
|
if test "$ac_cv_prog_ps_ef" = yes; then |
5636 |
|
ac_cv_prog_ps_syntax=POSIX |
5637 |
|
else |
5638 |
< |
{ { echo "$as_me:$LINENO: error: Could not determine ps syntax" >&5 |
5639 |
< |
echo "$as_me: error: Could not determine ps syntax" >&2;} |
5638 |
> |
{ { $as_echo "$as_me:$LINENO: error: Could not determine ps syntax" >&5 |
5639 |
> |
$as_echo "$as_me: error: Could not determine ps syntax" >&2;} |
5640 |
|
{ (exit 1); exit 1; }; } |
5641 |
|
fi |
5642 |
|
fi |
5643 |
|
|
5644 |
|
fi |
5645 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5 |
5646 |
< |
echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6; } |
5645 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5 |
5646 |
> |
$as_echo "$ac_cv_prog_ps_syntax" >&6; } |
5647 |
|
|
5648 |
|
cat >>confdefs.h <<_ACEOF |
5649 |
|
#define PSCOMMAND $PS |
5663 |
|
_ACEOF |
5664 |
|
|
5665 |
|
else |
5666 |
< |
{ { echo "$as_me:$LINENO: error: Unknown ps syntax type!" >&5 |
5667 |
< |
echo "$as_me: error: Unknown ps syntax type!" >&2;} |
5666 |
> |
{ { $as_echo "$as_me:$LINENO: error: Unknown ps syntax type!" >&5 |
5667 |
> |
$as_echo "$as_me: error: Unknown ps syntax type!" >&2;} |
5668 |
|
{ (exit 1); exit 1; }; } |
5669 |
|
fi |
5670 |
|
fi |
5679 |
|
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
5680 |
|
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
5681 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
5682 |
< |
{ echo "$as_me:$LINENO: checking for Fortran flag to compile .F90 files" >&5 |
5683 |
< |
echo $ECHO_N "checking for Fortran flag to compile .F90 files... $ECHO_C" >&6; } |
5682 |
> |
{ $as_echo "$as_me:$LINENO: checking for Fortran flag to compile .F90 files" >&5 |
5683 |
> |
$as_echo_n "checking for Fortran flag to compile .F90 files... " >&6; } |
5684 |
|
if test "${ac_cv_fc_srcext_F90+set}" = set; then |
5685 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5685 |
> |
$as_echo_n "(cached) " >&6 |
5686 |
|
else |
5687 |
|
ac_ext=F90 |
5688 |
|
ac_fcflags_srcext_save=$ac_fcflags_srcext |
5701 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5702 |
|
*) ac_try_echo=$ac_try;; |
5703 |
|
esac |
5704 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5704 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
5705 |
> |
$as_echo "$ac_try_echo") >&5 |
5706 |
|
(eval "$ac_compile") 2>conftest.er1 |
5707 |
|
ac_status=$? |
5708 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5709 |
|
rm -f conftest.er1 |
5710 |
|
cat conftest.err >&5 |
5711 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5711 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5712 |
|
(exit $ac_status); } && { |
5713 |
|
test -z "$ac_fc_werror_flag" || |
5714 |
|
test ! -s conftest.err |
5715 |
|
} && test -s conftest.$ac_objext; then |
5716 |
|
ac_cv_fc_srcext_F90=$ac_flag; break |
5717 |
|
else |
5718 |
< |
echo "$as_me: failed program was:" >&5 |
5718 |
> |
$as_echo "$as_me: failed program was:" >&5 |
5719 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5720 |
|
|
5721 |
|
|
5727 |
|
ac_fcflags_srcext=$ac_fcflags_srcext_save |
5728 |
|
|
5729 |
|
fi |
5730 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_fc_srcext_F90" >&5 |
5731 |
< |
echo "${ECHO_T}$ac_cv_fc_srcext_F90" >&6; } |
5730 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_fc_srcext_F90" >&5 |
5731 |
> |
$as_echo "$ac_cv_fc_srcext_F90" >&6; } |
5732 |
|
if test "x$ac_cv_fc_srcext_F90" = xunknown; then |
5733 |
< |
{ { echo "$as_me:$LINENO: error: Fortran could not compile .F90 files" >&5 |
5734 |
< |
echo "$as_me: error: Fortran could not compile .F90 files" >&2;} |
5733 |
> |
{ { $as_echo "$as_me:$LINENO: error: Fortran could not compile .F90 files" >&5 |
5734 |
> |
$as_echo "$as_me: error: Fortran could not compile .F90 files" >&2;} |
5735 |
|
{ (exit 1); exit 1; }; } |
5736 |
|
else |
5737 |
|
ac_fc_srcext=F90 |
5774 |
|
esac |
5775 |
|
|
5776 |
|
if test -z "$PREPFLAG"; then |
5777 |
< |
{ echo "$as_me:$LINENO: WARNING: \"Using empty PREPFLAG\"" >&5 |
5778 |
< |
echo "$as_me: WARNING: \"Using empty PREPFLAG\"" >&2;} |
5777 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: \"Using empty PREPFLAG\"" >&5 |
5778 |
> |
$as_echo "$as_me: WARNING: \"Using empty PREPFLAG\"" >&2;} |
5779 |
|
PREPFLAG="" |
5780 |
|
fi |
5781 |
|
|
5782 |
< |
{ echo "$as_me:$LINENO: checking to make sure F90 preprocessor flag works" >&5 |
5783 |
< |
echo $ECHO_N "checking to make sure F90 preprocessor flag works... $ECHO_C" >&6; } |
5782 |
> |
{ $as_echo "$as_me:$LINENO: checking to make sure F90 preprocessor flag works" >&5 |
5783 |
> |
$as_echo_n "checking to make sure F90 preprocessor flag works... " >&6; } |
5784 |
|
|
5785 |
|
ac_ext=${ac_fc_srcext-f} |
5786 |
|
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
5810 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5811 |
|
*) ac_try_echo=$ac_try;; |
5812 |
|
esac |
5813 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5813 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
5814 |
> |
$as_echo "$ac_try_echo") >&5 |
5815 |
|
(eval "$ac_compile") 2>conftest.er1 |
5816 |
|
ac_status=$? |
5817 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5818 |
|
rm -f conftest.er1 |
5819 |
|
cat conftest.err >&5 |
5820 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5820 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5821 |
|
(exit $ac_status); } && { |
5822 |
|
test -z "$ac_fc_werror_flag" || |
5823 |
|
test ! -s conftest.err |
5824 |
|
} && test -s conftest.$ac_objext; then |
5825 |
|
prepflagworks=1 |
5826 |
|
else |
5827 |
< |
echo "$as_me: failed program was:" >&5 |
5827 |
> |
$as_echo "$as_me: failed program was:" >&5 |
5828 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5829 |
|
|
5830 |
|
prepflagworks=0 |
5841 |
|
|
5842 |
|
|
5843 |
|
if test "$prepflagworks" = 1; then |
5844 |
< |
{ echo "$as_me:$LINENO: result: yes" >&5 |
5845 |
< |
echo "${ECHO_T}yes" >&6; } |
5844 |
> |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
5845 |
> |
$as_echo "yes" >&6; } |
5846 |
|
FCFLAGS_SRCEXT="${PREPFLAG}" |
5847 |
|
|
5848 |
|
else |
5849 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
5850 |
< |
echo "${ECHO_T}no" >&6; } |
5851 |
< |
{ { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor flag" >&5 |
5852 |
< |
echo "$as_me: error: Can't figure out working Fortran90 preprocessor flag" >&2;} |
5849 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
5850 |
> |
$as_echo "no" >&6; } |
5851 |
> |
{ { $as_echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor flag" >&5 |
5852 |
> |
$as_echo "$as_me: error: Can't figure out working Fortran90 preprocessor flag" >&2;} |
5853 |
|
{ (exit 1); exit 1; }; } |
5854 |
|
fi |
5855 |
|
fi |
5878 |
|
esac |
5879 |
|
|
5880 |
|
if test -z "$PREPDEFFLAG"; then |
5881 |
< |
{ echo "$as_me:$LINENO: WARNING: \"Using empty PREPDEFFLAG\"" >&5 |
5882 |
< |
echo "$as_me: WARNING: \"Using empty PREPDEFFLAG\"" >&2;} |
5881 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: \"Using empty PREPDEFFLAG\"" >&5 |
5882 |
> |
$as_echo "$as_me: WARNING: \"Using empty PREPDEFFLAG\"" >&2;} |
5883 |
|
PREPDEFFLAG=" " |
5884 |
|
fi |
5885 |
|
|
5886 |
< |
{ echo "$as_me:$LINENO: checking to make sure F90 preprocessor define flag works" >&5 |
5887 |
< |
echo $ECHO_N "checking to make sure F90 preprocessor define flag works... $ECHO_C" >&6; } |
5886 |
> |
{ $as_echo "$as_me:$LINENO: checking to make sure F90 preprocessor define flag works" >&5 |
5887 |
> |
$as_echo_n "checking to make sure F90 preprocessor define flag works... " >&6; } |
5888 |
|
|
5889 |
|
ac_ext=${ac_fc_srcext-f} |
5890 |
|
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
5918 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5919 |
|
*) ac_try_echo=$ac_try;; |
5920 |
|
esac |
5921 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5921 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
5922 |
> |
$as_echo "$ac_try_echo") >&5 |
5923 |
|
(eval "$ac_compile") 2>conftest.er1 |
5924 |
|
ac_status=$? |
5925 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5926 |
|
rm -f conftest.er1 |
5927 |
|
cat conftest.err >&5 |
5928 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5928 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5929 |
|
(exit $ac_status); } && { |
5930 |
|
test -z "$ac_fc_werror_flag" || |
5931 |
|
test ! -s conftest.err |
5932 |
|
} && test -s conftest.$ac_objext; then |
5933 |
|
prepdefflagworks=1 |
5934 |
|
else |
5935 |
< |
echo "$as_me: failed program was:" >&5 |
5935 |
> |
$as_echo "$as_me: failed program was:" >&5 |
5936 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5937 |
|
|
5938 |
|
prepdefflagworks=0 |
5949 |
|
|
5950 |
|
|
5951 |
|
if test "$prepdefflagworks" = 1; then |
5952 |
< |
{ echo "$as_me:$LINENO: result: yes" >&5 |
5953 |
< |
echo "${ECHO_T}yes" >&6; } |
5952 |
> |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
5953 |
> |
$as_echo "yes" >&6; } |
5954 |
|
|
5955 |
|
else |
5956 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
5957 |
< |
echo "${ECHO_T}no" >&6; } |
5958 |
< |
{ { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor define flag" >&5 |
5959 |
< |
echo "$as_me: error: Can't figure out working Fortran90 preprocessor define flag" >&2;} |
5956 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
5957 |
> |
$as_echo "no" >&6; } |
5958 |
> |
{ { $as_echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor define flag" >&5 |
5959 |
> |
$as_echo "$as_me: error: Can't figure out working Fortran90 preprocessor define flag" >&2;} |
5960 |
|
{ (exit 1); exit 1; }; } |
5961 |
|
fi |
5962 |
|
fi |
5965 |
|
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
5966 |
|
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
5967 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
5968 |
< |
{ echo "$as_me:$LINENO: checking how to get verbose linking output from $FC" >&5 |
5969 |
< |
echo $ECHO_N "checking how to get verbose linking output from $FC... $ECHO_C" >&6; } |
5968 |
> |
{ $as_echo "$as_me:$LINENO: checking how to get verbose linking output from $FC" >&5 |
5969 |
> |
$as_echo_n "checking how to get verbose linking output from $FC... " >&6; } |
5970 |
|
if test "${ac_cv_prog_fc_v+set}" = set; then |
5971 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5971 |
> |
$as_echo_n "(cached) " >&6 |
5972 |
|
else |
5973 |
|
cat >conftest.$ac_ext <<_ACEOF |
5974 |
|
program main |
5981 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5982 |
|
*) ac_try_echo=$ac_try;; |
5983 |
|
esac |
5984 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5984 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
5985 |
> |
$as_echo "$ac_try_echo") >&5 |
5986 |
|
(eval "$ac_compile") 2>conftest.er1 |
5987 |
|
ac_status=$? |
5988 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5989 |
|
rm -f conftest.er1 |
5990 |
|
cat conftest.err >&5 |
5991 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5991 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5992 |
|
(exit $ac_status); } && { |
5993 |
|
test -z "$ac_fc_werror_flag" || |
5994 |
|
test ! -s conftest.err |
6010 |
|
FCFLAGS="$FCFLAGS $ac_verb" |
6011 |
|
eval "set x $ac_link" |
6012 |
|
shift |
6013 |
< |
echo "$as_me:$LINENO: $*" >&5 |
6014 |
< |
ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
6015 |
< |
echo "$ac_fc_v_output" >&5 |
6013 |
> |
$as_echo "$as_me:$LINENO: $*" >&5 |
6014 |
> |
# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH, |
6015 |
> |
# LIBRARY_PATH; skip all such settings. |
6016 |
> |
ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | |
6017 |
> |
grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="` |
6018 |
> |
$as_echo "$ac_fc_v_output" >&5 |
6019 |
|
FCFLAGS=$ac_save_FFLAGS |
6020 |
|
|
6021 |
< |
rm -f conftest* |
6021 |
> |
rm -rf conftest* |
6022 |
|
|
6023 |
|
# On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where |
6024 |
|
# /foo, /bar, and /baz are search directories for the Fortran linker. |
6025 |
|
# Here, we change these into -L/foo -L/bar -L/baz (and put it first): |
6026 |
|
ac_fc_v_output="`echo $ac_fc_v_output | |
6027 |
|
grep 'LPATH is:' | |
6028 |
< |
sed 's,.*LPATH is\(: *[^ ]*\).*,\1,;s,: */, -L/,g'` $ac_fc_v_output" |
6028 |
> |
sed 's|.*LPATH is\(: *[^ ]*\).*|\1|;s|: */| -L/|g'` $ac_fc_v_output" |
6029 |
|
|
6030 |
|
# FIXME: we keep getting bitten by quoted arguments; a more general fix |
6031 |
|
# that detects unbalanced quotes in FLIBS should be implemented |
6065 |
|
done |
6066 |
|
done |
6067 |
|
if test -z "$ac_cv_prog_fc_v"; then |
6068 |
< |
{ echo "$as_me:$LINENO: WARNING: cannot determine how to obtain linking information from $FC" >&5 |
6069 |
< |
echo "$as_me: WARNING: cannot determine how to obtain linking information from $FC" >&2;} |
6068 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: cannot determine how to obtain linking information from $FC" >&5 |
6069 |
> |
$as_echo "$as_me: WARNING: cannot determine how to obtain linking information from $FC" >&2;} |
6070 |
|
fi |
6071 |
|
else |
6072 |
< |
echo "$as_me: failed program was:" >&5 |
6072 |
> |
$as_echo "$as_me: failed program was:" >&5 |
6073 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6074 |
|
|
6075 |
< |
{ echo "$as_me:$LINENO: WARNING: compilation failed" >&5 |
6076 |
< |
echo "$as_me: WARNING: compilation failed" >&2;} |
6075 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: compilation failed" >&5 |
6076 |
> |
$as_echo "$as_me: WARNING: compilation failed" >&2;} |
6077 |
|
fi |
6078 |
|
|
6079 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6080 |
|
|
6081 |
|
fi |
6082 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_fc_v" >&5 |
6083 |
< |
echo "${ECHO_T}$ac_cv_prog_fc_v" >&6; } |
6084 |
< |
{ echo "$as_me:$LINENO: checking for Fortran libraries of $FC" >&5 |
6085 |
< |
echo $ECHO_N "checking for Fortran libraries of $FC... $ECHO_C" >&6; } |
6082 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_fc_v" >&5 |
6083 |
> |
$as_echo "$ac_cv_prog_fc_v" >&6; } |
6084 |
> |
{ $as_echo "$as_me:$LINENO: checking for Fortran libraries of $FC" >&5 |
6085 |
> |
$as_echo_n "checking for Fortran libraries of $FC... " >&6; } |
6086 |
|
if test "${ac_cv_fc_libs+set}" = set; then |
6087 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6087 |
> |
$as_echo_n "(cached) " >&6 |
6088 |
|
else |
6089 |
|
if test "x$FCLIBS" != "x"; then |
6090 |
|
ac_cv_fc_libs="$FCLIBS" # Let the user override the test. |
6104 |
|
FCFLAGS="$FCFLAGS $ac_cv_prog_fc_v" |
6105 |
|
eval "set x $ac_link" |
6106 |
|
shift |
6107 |
< |
echo "$as_me:$LINENO: $*" >&5 |
6108 |
< |
ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
6109 |
< |
echo "$ac_fc_v_output" >&5 |
6107 |
> |
$as_echo "$as_me:$LINENO: $*" >&5 |
6108 |
> |
# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH, |
6109 |
> |
# LIBRARY_PATH; skip all such settings. |
6110 |
> |
ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | |
6111 |
> |
grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="` |
6112 |
> |
$as_echo "$ac_fc_v_output" >&5 |
6113 |
|
FCFLAGS=$ac_save_FFLAGS |
6114 |
|
|
6115 |
< |
rm -f conftest* |
6115 |
> |
rm -rf conftest* |
6116 |
|
|
6117 |
|
# On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where |
6118 |
|
# /foo, /bar, and /baz are search directories for the Fortran linker. |
6119 |
|
# Here, we change these into -L/foo -L/bar -L/baz (and put it first): |
6120 |
|
ac_fc_v_output="`echo $ac_fc_v_output | |
6121 |
|
grep 'LPATH is:' | |
6122 |
< |
sed 's,.*LPATH is\(: *[^ ]*\).*,\1,;s,: */, -L/,g'` $ac_fc_v_output" |
6122 |
> |
sed 's|.*LPATH is\(: *[^ ]*\).*|\1|;s|: */| -L/|g'` $ac_fc_v_output" |
6123 |
|
|
6124 |
|
# FIXME: we keep getting bitten by quoted arguments; a more general fix |
6125 |
|
# that detects unbalanced quotes in FLIBS should be implemented |
6218 |
|
esac |
6219 |
|
;; |
6220 |
|
-YP,*) |
6221 |
< |
for ac_j in `echo $ac_arg | sed -e 's/-YP,/-L/;s/:/ -L/g'`; do |
6221 |
> |
for ac_j in `$as_echo "$ac_arg" | sed -e 's/-YP,/-L/;s/:/ -L/g'`; do |
6222 |
|
ac_exists=false |
6223 |
|
for ac_i in $ac_cv_fc_libs; do |
6224 |
|
if test x"$ac_j" = x"$ac_i"; then |
6266 |
|
# must begin with a "/"). |
6267 |
|
case `(uname -sr) 2>/dev/null` in |
6268 |
|
"SunOS 5"*) |
6269 |
< |
ac_ld_run_path=`echo $ac_fc_v_output | |
6269 |
> |
ac_ld_run_path=`$as_echo "$ac_fc_v_output" | |
6270 |
|
sed -n 's,^.*LD_RUN_PATH *= *\(/[^ ]*\).*$,-R\1,p'` |
6271 |
|
test "x$ac_ld_run_path" != x && |
6272 |
|
if test "$ac_compiler_gnu" = yes; then |
6281 |
|
fi # test "x$[]_AC_LANG_PREFIX[]LIBS" = "x" |
6282 |
|
|
6283 |
|
fi |
6284 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_fc_libs" >&5 |
6285 |
< |
echo "${ECHO_T}$ac_cv_fc_libs" >&6; } |
6284 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_fc_libs" >&5 |
6285 |
> |
$as_echo "$ac_cv_fc_libs" >&6; } |
6286 |
|
FCLIBS="$ac_cv_fc_libs" |
6287 |
|
|
6288 |
|
|
6291 |
|
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
6292 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
6293 |
|
|
6294 |
+ |
|
6295 |
|
ac_ext=${ac_fc_srcext-f} |
6296 |
|
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
6297 |
|
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
6298 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
6299 |
|
|
6300 |
< |
{ echo "$as_me:$LINENO: checking for dummy main to link with Fortran libraries" >&5 |
6301 |
< |
echo $ECHO_N "checking for dummy main to link with Fortran libraries... $ECHO_C" >&6; } |
6300 |
> |
{ $as_echo "$as_me:$LINENO: checking for dummy main to link with Fortran libraries" >&5 |
6301 |
> |
$as_echo_n "checking for dummy main to link with Fortran libraries... " >&6; } |
6302 |
|
if test "${ac_cv_fc_dummy_main+set}" = set; then |
6303 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6303 |
> |
$as_echo_n "(cached) " >&6 |
6304 |
|
else |
6305 |
|
ac_fc_dm_save_LIBS=$LIBS |
6306 |
|
LIBS="$LIBS $FCLIBS" |
6341 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6342 |
|
*) ac_try_echo=$ac_try;; |
6343 |
|
esac |
6344 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6344 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
6345 |
> |
$as_echo "$ac_try_echo") >&5 |
6346 |
|
(eval "$ac_link") 2>conftest.er1 |
6347 |
|
ac_status=$? |
6348 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
6349 |
|
rm -f conftest.er1 |
6350 |
|
cat conftest.err >&5 |
6351 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6351 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6352 |
|
(exit $ac_status); } && { |
6353 |
|
test -z "$ac_c_werror_flag" || |
6354 |
|
test ! -s conftest.err |
6355 |
< |
} && test -s conftest$ac_exeext && |
6356 |
< |
$as_test_x conftest$ac_exeext; then |
6355 |
> |
} && test -s conftest$ac_exeext && { |
6356 |
> |
test "$cross_compiling" = yes || |
6357 |
> |
$as_test_x conftest$ac_exeext |
6358 |
> |
}; then |
6359 |
|
ac_cv_fortran_dummy_main=none |
6360 |
|
else |
6361 |
< |
echo "$as_me: failed program was:" >&5 |
6361 |
> |
$as_echo "$as_me: failed program was:" >&5 |
6362 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6363 |
|
|
6364 |
|
ac_cv_fortran_dummy_main=unknown |
6365 |
|
fi |
6366 |
|
|
6367 |
+ |
rm -rf conftest.dSYM |
6368 |
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6369 |
|
conftest$ac_exeext conftest.$ac_ext |
6370 |
|
|
6399 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6400 |
|
*) ac_try_echo=$ac_try;; |
6401 |
|
esac |
6402 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6402 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
6403 |
> |
$as_echo "$ac_try_echo") >&5 |
6404 |
|
(eval "$ac_link") 2>conftest.er1 |
6405 |
|
ac_status=$? |
6406 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
6407 |
|
rm -f conftest.er1 |
6408 |
|
cat conftest.err >&5 |
6409 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6409 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6410 |
|
(exit $ac_status); } && { |
6411 |
|
test -z "$ac_c_werror_flag" || |
6412 |
|
test ! -s conftest.err |
6413 |
< |
} && test -s conftest$ac_exeext && |
6414 |
< |
$as_test_x conftest$ac_exeext; then |
6413 |
> |
} && test -s conftest$ac_exeext && { |
6414 |
> |
test "$cross_compiling" = yes || |
6415 |
> |
$as_test_x conftest$ac_exeext |
6416 |
> |
}; then |
6417 |
|
ac_cv_fortran_dummy_main=$ac_func; break |
6418 |
|
else |
6419 |
< |
echo "$as_me: failed program was:" >&5 |
6419 |
> |
$as_echo "$as_me: failed program was:" >&5 |
6420 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6421 |
|
|
6422 |
|
|
6423 |
|
fi |
6424 |
|
|
6425 |
+ |
rm -rf conftest.dSYM |
6426 |
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6427 |
|
conftest$ac_exeext conftest.$ac_ext |
6428 |
|
done |
6432 |
|
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
6433 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
6434 |
|
ac_cv_fc_dummy_main=$ac_cv_fortran_dummy_main |
6435 |
< |
rm -f conftest* |
6435 |
> |
rm -rf conftest* |
6436 |
|
LIBS=$ac_fc_dm_save_LIBS |
6437 |
|
|
6438 |
|
fi |
6439 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_fc_dummy_main" >&5 |
6440 |
< |
echo "${ECHO_T}$ac_cv_fc_dummy_main" >&6; } |
6439 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_fc_dummy_main" >&5 |
6440 |
> |
$as_echo "$ac_cv_fc_dummy_main" >&6; } |
6441 |
|
FC_DUMMY_MAIN=$ac_cv_fc_dummy_main |
6442 |
|
if test "$FC_DUMMY_MAIN" != unknown; then |
6443 |
|
if test $FC_DUMMY_MAIN != none; then |
6455 |
|
fi |
6456 |
|
fi |
6457 |
|
else |
6458 |
< |
{ { echo "$as_me:$LINENO: error: linking to Fortran libraries from C fails |
6458 |
> |
{ { $as_echo "$as_me:$LINENO: error: linking to Fortran libraries from C fails |
6459 |
|
See \`config.log' for more details." >&5 |
6460 |
< |
echo "$as_me: error: linking to Fortran libraries from C fails |
6460 |
> |
$as_echo "$as_me: error: linking to Fortran libraries from C fails |
6461 |
|
See \`config.log' for more details." >&2;} |
6462 |
|
{ (exit 1); exit 1; }; } |
6463 |
|
fi |
6472 |
|
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
6473 |
|
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
6474 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
6475 |
< |
{ echo "$as_me:$LINENO: checking for Fortran name-mangling scheme" >&5 |
6476 |
< |
echo $ECHO_N "checking for Fortran name-mangling scheme... $ECHO_C" >&6; } |
6475 |
> |
{ $as_echo "$as_me:$LINENO: checking for Fortran name-mangling scheme" >&5 |
6476 |
> |
$as_echo_n "checking for Fortran name-mangling scheme... " >&6; } |
6477 |
|
if test "${ac_cv_fc_mangling+set}" = set; then |
6478 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6478 |
> |
$as_echo_n "(cached) " >&6 |
6479 |
|
else |
6480 |
|
cat >conftest.$ac_ext <<_ACEOF |
6481 |
|
subroutine foobar() |
6491 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6492 |
|
*) ac_try_echo=$ac_try;; |
6493 |
|
esac |
6494 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6494 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
6495 |
> |
$as_echo "$ac_try_echo") >&5 |
6496 |
|
(eval "$ac_compile") 2>conftest.er1 |
6497 |
|
ac_status=$? |
6498 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
6499 |
|
rm -f conftest.er1 |
6500 |
|
cat conftest.err >&5 |
6501 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6501 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6502 |
|
(exit $ac_status); } && { |
6503 |
|
test -z "$ac_fc_werror_flag" || |
6504 |
|
test ! -s conftest.err |
6553 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6554 |
|
*) ac_try_echo=$ac_try;; |
6555 |
|
esac |
6556 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6556 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
6557 |
> |
$as_echo "$ac_try_echo") >&5 |
6558 |
|
(eval "$ac_link") 2>conftest.er1 |
6559 |
|
ac_status=$? |
6560 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
6561 |
|
rm -f conftest.er1 |
6562 |
|
cat conftest.err >&5 |
6563 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6563 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6564 |
|
(exit $ac_status); } && { |
6565 |
|
test -z "$ac_c_werror_flag" || |
6566 |
|
test ! -s conftest.err |
6567 |
< |
} && test -s conftest$ac_exeext && |
6568 |
< |
$as_test_x conftest$ac_exeext; then |
6567 |
> |
} && test -s conftest$ac_exeext && { |
6568 |
> |
test "$cross_compiling" = yes || |
6569 |
> |
$as_test_x conftest$ac_exeext |
6570 |
> |
}; then |
6571 |
|
ac_success=yes; break 2 |
6572 |
|
else |
6573 |
< |
echo "$as_me: failed program was:" >&5 |
6573 |
> |
$as_echo "$as_me: failed program was:" >&5 |
6574 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6575 |
|
|
6576 |
|
|
6577 |
|
fi |
6578 |
|
|
6579 |
+ |
rm -rf conftest.dSYM |
6580 |
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6581 |
|
conftest$ac_exeext conftest.$ac_ext |
6582 |
|
done |
6642 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6643 |
|
*) ac_try_echo=$ac_try;; |
6644 |
|
esac |
6645 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6645 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
6646 |
> |
$as_echo "$ac_try_echo") >&5 |
6647 |
|
(eval "$ac_link") 2>conftest.er1 |
6648 |
|
ac_status=$? |
6649 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
6650 |
|
rm -f conftest.er1 |
6651 |
|
cat conftest.err >&5 |
6652 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6652 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6653 |
|
(exit $ac_status); } && { |
6654 |
|
test -z "$ac_c_werror_flag" || |
6655 |
|
test ! -s conftest.err |
6656 |
< |
} && test -s conftest$ac_exeext && |
6657 |
< |
$as_test_x conftest$ac_exeext; then |
6656 |
> |
} && test -s conftest$ac_exeext && { |
6657 |
> |
test "$cross_compiling" = yes || |
6658 |
> |
$as_test_x conftest$ac_exeext |
6659 |
> |
}; then |
6660 |
|
ac_success_extra=yes; break |
6661 |
|
else |
6662 |
< |
echo "$as_me: failed program was:" >&5 |
6662 |
> |
$as_echo "$as_me: failed program was:" >&5 |
6663 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6664 |
|
|
6665 |
|
|
6666 |
|
fi |
6667 |
|
|
6668 |
+ |
rm -rf conftest.dSYM |
6669 |
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6670 |
|
conftest$ac_exeext conftest.$ac_ext |
6671 |
|
done |
6694 |
|
fi |
6695 |
|
|
6696 |
|
LIBS=$ac_save_LIBS |
6697 |
< |
rm -f cfortran_test* conftest* |
6697 |
> |
rm -rf conftest* |
6698 |
> |
rm -f cfortran_test* |
6699 |
|
else |
6700 |
< |
echo "$as_me: failed program was:" >&5 |
6700 |
> |
$as_echo "$as_me: failed program was:" >&5 |
6701 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6702 |
|
|
6703 |
< |
{ { echo "$as_me:$LINENO: error: cannot compile a simple Fortran program |
6703 |
> |
{ { $as_echo "$as_me:$LINENO: error: cannot compile a simple Fortran program |
6704 |
|
See \`config.log' for more details." >&5 |
6705 |
< |
echo "$as_me: error: cannot compile a simple Fortran program |
6705 |
> |
$as_echo "$as_me: error: cannot compile a simple Fortran program |
6706 |
|
See \`config.log' for more details." >&2;} |
6707 |
|
{ (exit 1); exit 1; }; } |
6708 |
|
fi |
6710 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6711 |
|
|
6712 |
|
fi |
6713 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_fc_mangling" >&5 |
6714 |
< |
echo "${ECHO_T}$ac_cv_fc_mangling" >&6; } |
6713 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_fc_mangling" >&5 |
6714 |
> |
$as_echo "$ac_cv_fc_mangling" >&6; } |
6715 |
|
|
6716 |
|
ac_ext=${ac_fc_srcext-f} |
6717 |
|
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
6798 |
|
_ACEOF |
6799 |
|
;; |
6800 |
|
*) |
6801 |
< |
{ echo "$as_me:$LINENO: WARNING: unknown Fortran name-mangling scheme" >&5 |
6802 |
< |
echo "$as_me: WARNING: unknown Fortran name-mangling scheme" >&2;} |
6801 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: unknown Fortran name-mangling scheme" >&5 |
6802 |
> |
$as_echo "$as_me: WARNING: unknown Fortran name-mangling scheme" >&2;} |
6803 |
|
;; |
6804 |
|
esac |
6805 |
|
|
6814 |
|
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
6815 |
|
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
6816 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
6817 |
< |
{ echo "$as_me:$LINENO: checking how to get verbose linking output from $FC" >&5 |
6818 |
< |
echo $ECHO_N "checking how to get verbose linking output from $FC... $ECHO_C" >&6; } |
6817 |
> |
{ $as_echo "$as_me:$LINENO: checking how to get verbose linking output from $FC" >&5 |
6818 |
> |
$as_echo_n "checking how to get verbose linking output from $FC... " >&6; } |
6819 |
|
if test "${ac_cv_prog_fc_v+set}" = set; then |
6820 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6820 |
> |
$as_echo_n "(cached) " >&6 |
6821 |
|
else |
6822 |
|
cat >conftest.$ac_ext <<_ACEOF |
6823 |
|
program main |
6830 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6831 |
|
*) ac_try_echo=$ac_try;; |
6832 |
|
esac |
6833 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6833 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
6834 |
> |
$as_echo "$ac_try_echo") >&5 |
6835 |
|
(eval "$ac_compile") 2>conftest.er1 |
6836 |
|
ac_status=$? |
6837 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
6838 |
|
rm -f conftest.er1 |
6839 |
|
cat conftest.err >&5 |
6840 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6840 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6841 |
|
(exit $ac_status); } && { |
6842 |
|
test -z "$ac_fc_werror_flag" || |
6843 |
|
test ! -s conftest.err |
6859 |
|
FCFLAGS="$FCFLAGS $ac_verb" |
6860 |
|
eval "set x $ac_link" |
6861 |
|
shift |
6862 |
< |
echo "$as_me:$LINENO: $*" >&5 |
6863 |
< |
ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
6864 |
< |
echo "$ac_fc_v_output" >&5 |
6862 |
> |
$as_echo "$as_me:$LINENO: $*" >&5 |
6863 |
> |
# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH, |
6864 |
> |
# LIBRARY_PATH; skip all such settings. |
6865 |
> |
ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | |
6866 |
> |
grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="` |
6867 |
> |
$as_echo "$ac_fc_v_output" >&5 |
6868 |
|
FCFLAGS=$ac_save_FFLAGS |
6869 |
|
|
6870 |
< |
rm -f conftest* |
6870 |
> |
rm -rf conftest* |
6871 |
|
|
6872 |
|
# On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where |
6873 |
|
# /foo, /bar, and /baz are search directories for the Fortran linker. |
6874 |
|
# Here, we change these into -L/foo -L/bar -L/baz (and put it first): |
6875 |
|
ac_fc_v_output="`echo $ac_fc_v_output | |
6876 |
|
grep 'LPATH is:' | |
6877 |
< |
sed 's,.*LPATH is\(: *[^ ]*\).*,\1,;s,: */, -L/,g'` $ac_fc_v_output" |
6877 |
> |
sed 's|.*LPATH is\(: *[^ ]*\).*|\1|;s|: */| -L/|g'` $ac_fc_v_output" |
6878 |
|
|
6879 |
|
# FIXME: we keep getting bitten by quoted arguments; a more general fix |
6880 |
|
# that detects unbalanced quotes in FLIBS should be implemented |
6914 |
|
done |
6915 |
|
done |
6916 |
|
if test -z "$ac_cv_prog_fc_v"; then |
6917 |
< |
{ echo "$as_me:$LINENO: WARNING: cannot determine how to obtain linking information from $FC" >&5 |
6918 |
< |
echo "$as_me: WARNING: cannot determine how to obtain linking information from $FC" >&2;} |
6917 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: cannot determine how to obtain linking information from $FC" >&5 |
6918 |
> |
$as_echo "$as_me: WARNING: cannot determine how to obtain linking information from $FC" >&2;} |
6919 |
|
fi |
6920 |
|
else |
6921 |
< |
echo "$as_me: failed program was:" >&5 |
6921 |
> |
$as_echo "$as_me: failed program was:" >&5 |
6922 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6923 |
|
|
6924 |
< |
{ echo "$as_me:$LINENO: WARNING: compilation failed" >&5 |
6925 |
< |
echo "$as_me: WARNING: compilation failed" >&2;} |
6924 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: compilation failed" >&5 |
6925 |
> |
$as_echo "$as_me: WARNING: compilation failed" >&2;} |
6926 |
|
fi |
6927 |
|
|
6928 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6929 |
|
|
6930 |
|
fi |
6931 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_fc_v" >&5 |
6932 |
< |
echo "${ECHO_T}$ac_cv_prog_fc_v" >&6; } |
6933 |
< |
{ echo "$as_me:$LINENO: checking for Fortran libraries of $FC" >&5 |
6934 |
< |
echo $ECHO_N "checking for Fortran libraries of $FC... $ECHO_C" >&6; } |
6931 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_fc_v" >&5 |
6932 |
> |
$as_echo "$ac_cv_prog_fc_v" >&6; } |
6933 |
> |
{ $as_echo "$as_me:$LINENO: checking for Fortran libraries of $FC" >&5 |
6934 |
> |
$as_echo_n "checking for Fortran libraries of $FC... " >&6; } |
6935 |
|
if test "${ac_cv_fc_libs+set}" = set; then |
6936 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6936 |
> |
$as_echo_n "(cached) " >&6 |
6937 |
|
else |
6938 |
|
if test "x$FCLIBS" != "x"; then |
6939 |
|
ac_cv_fc_libs="$FCLIBS" # Let the user override the test. |
6953 |
|
FCFLAGS="$FCFLAGS $ac_cv_prog_fc_v" |
6954 |
|
eval "set x $ac_link" |
6955 |
|
shift |
6956 |
< |
echo "$as_me:$LINENO: $*" >&5 |
6957 |
< |
ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
6958 |
< |
echo "$ac_fc_v_output" >&5 |
6956 |
> |
$as_echo "$as_me:$LINENO: $*" >&5 |
6957 |
> |
# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH, |
6958 |
> |
# LIBRARY_PATH; skip all such settings. |
6959 |
> |
ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | |
6960 |
> |
grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="` |
6961 |
> |
$as_echo "$ac_fc_v_output" >&5 |
6962 |
|
FCFLAGS=$ac_save_FFLAGS |
6963 |
|
|
6964 |
< |
rm -f conftest* |
6964 |
> |
rm -rf conftest* |
6965 |
|
|
6966 |
|
# On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where |
6967 |
|
# /foo, /bar, and /baz are search directories for the Fortran linker. |
6968 |
|
# Here, we change these into -L/foo -L/bar -L/baz (and put it first): |
6969 |
|
ac_fc_v_output="`echo $ac_fc_v_output | |
6970 |
|
grep 'LPATH is:' | |
6971 |
< |
sed 's,.*LPATH is\(: *[^ ]*\).*,\1,;s,: */, -L/,g'` $ac_fc_v_output" |
6971 |
> |
sed 's|.*LPATH is\(: *[^ ]*\).*|\1|;s|: */| -L/|g'` $ac_fc_v_output" |
6972 |
|
|
6973 |
|
# FIXME: we keep getting bitten by quoted arguments; a more general fix |
6974 |
|
# that detects unbalanced quotes in FLIBS should be implemented |
7067 |
|
esac |
7068 |
|
;; |
7069 |
|
-YP,*) |
7070 |
< |
for ac_j in `echo $ac_arg | sed -e 's/-YP,/-L/;s/:/ -L/g'`; do |
7070 |
> |
for ac_j in `$as_echo "$ac_arg" | sed -e 's/-YP,/-L/;s/:/ -L/g'`; do |
7071 |
|
ac_exists=false |
7072 |
|
for ac_i in $ac_cv_fc_libs; do |
7073 |
|
if test x"$ac_j" = x"$ac_i"; then |
7115 |
|
# must begin with a "/"). |
7116 |
|
case `(uname -sr) 2>/dev/null` in |
7117 |
|
"SunOS 5"*) |
7118 |
< |
ac_ld_run_path=`echo $ac_fc_v_output | |
7118 |
> |
ac_ld_run_path=`$as_echo "$ac_fc_v_output" | |
7119 |
|
sed -n 's,^.*LD_RUN_PATH *= *\(/[^ ]*\).*$,-R\1,p'` |
7120 |
|
test "x$ac_ld_run_path" != x && |
7121 |
|
if test "$ac_compiler_gnu" = yes; then |
7130 |
|
fi # test "x$[]_AC_LANG_PREFIX[]LIBS" = "x" |
7131 |
|
|
7132 |
|
fi |
7133 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_fc_libs" >&5 |
7134 |
< |
echo "${ECHO_T}$ac_cv_fc_libs" >&6; } |
7133 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_fc_libs" >&5 |
7134 |
> |
$as_echo "$ac_cv_fc_libs" >&6; } |
7135 |
|
FCLIBS="$ac_cv_fc_libs" |
7136 |
|
|
7137 |
|
|
7142 |
|
|
7143 |
|
|
7144 |
|
|
7145 |
< |
{ echo "$as_me:$LINENO: checking for module suffix" >&5 |
7146 |
< |
echo $ECHO_N "checking for module suffix... $ECHO_C" >&6; } |
7145 |
> |
{ $as_echo "$as_me:$LINENO: checking for module suffix" >&5 |
7146 |
> |
$as_echo_n "checking for module suffix... " >&6; } |
7147 |
|
rm -f conftest* |
7148 |
|
# Intel ifc compiler generates files by the name of work.pc and work.pcl (!) |
7149 |
|
rm -f work* |
7169 |
|
fi |
7170 |
|
fi |
7171 |
|
if test -z "$MOD" ; then |
7172 |
< |
{ echo "$as_me:$LINENO: result: unknown" >&5 |
7173 |
< |
echo "${ECHO_T}unknown" >&6; } |
7172 |
> |
{ $as_echo "$as_me:$LINENO: result: unknown" >&5 |
7173 |
> |
$as_echo "unknown" >&6; } |
7174 |
|
# Use mod if we can't figure it out |
7175 |
|
MOD="mod" |
7176 |
|
else |
7177 |
< |
{ echo "$as_me:$LINENO: result: $MOD" >&5 |
7178 |
< |
echo "${ECHO_T}$MOD" >&6; } |
7177 |
> |
{ $as_echo "$as_me:$LINENO: result: $MOD" >&5 |
7178 |
> |
$as_echo "$MOD" >&6; } |
7179 |
|
fi |
7180 |
|
if test -s work.pcl ; then |
7181 |
< |
{ echo "$as_me:$LINENO: WARNING: Compiler generates auxillery files!" >&5 |
7182 |
< |
echo "$as_me: WARNING: Compiler generates auxillery files!" >&2;} |
7181 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: Compiler generates auxillery files!" >&5 |
7182 |
> |
$as_echo "$as_me: WARNING: Compiler generates auxillery files!" >&2;} |
7183 |
|
fi |
7184 |
|
else |
7185 |
< |
{ echo "$as_me:$LINENO: result: unknown" >&5 |
7186 |
< |
echo "${ECHO_T}unknown" >&6; } |
7185 |
> |
{ $as_echo "$as_me:$LINENO: result: unknown" >&5 |
7186 |
> |
$as_echo "unknown" >&6; } |
7187 |
|
fi |
7188 |
|
|
7189 |
|
|
7196 |
|
# specified, work.pcl and work.pc are created. However, if you specify |
7197 |
|
# a file, it must contain a the name of a file ending in .pc . Ugh! |
7198 |
|
# Use the module made above |
7199 |
< |
{ echo "$as_me:$LINENO: checking for module directory path flag" >&5 |
7200 |
< |
echo $ECHO_N "checking for module directory path flag... $ECHO_C" >&6; } |
7199 |
> |
{ $as_echo "$as_me:$LINENO: checking for module directory path flag" >&5 |
7200 |
> |
$as_echo_n "checking for module directory path flag... " >&6; } |
7201 |
|
rm -f conftest* |
7202 |
|
# Intel ifc compiler generates files by the name of work.pc and work.pcl (!) |
7203 |
|
rm -f work* |
7230 |
|
if $FC -c -Iconf $FCFLAGS $FCFLAGS_SRCEXT conftest1.$ac_ext > conftest.out 2>&1 ; then |
7231 |
|
MODDIRFLAG="-I" |
7232 |
|
F90MODINCSPEC="-I<dir>" |
7233 |
< |
{ echo "$as_me:$LINENO: result: -I" >&5 |
7234 |
< |
echo "${ECHO_T}-I" >&6; } |
7233 |
> |
{ $as_echo "$as_me:$LINENO: result: -I" >&5 |
7234 |
> |
$as_echo "-I" >&6; } |
7235 |
|
elif $FC -c -Mconf $FCFLAGS $FCFLAGS_SRCEXT conftest1.$ac_ext >> conftest.out 2>&1 ; then |
7236 |
|
MODDIRFLAG="-M" |
7237 |
|
F90MODINCSPEC="-M<dir>" |
7238 |
< |
{ echo "$as_me:$LINENO: result: -M" >&5 |
7239 |
< |
echo "${ECHO_T}-M" >&6; } |
7238 |
> |
{ $as_echo "$as_me:$LINENO: result: -M" >&5 |
7239 |
> |
$as_echo "-M" >&6; } |
7240 |
|
elif $FC -c -pconf $FCFLAGS $FCFLAGS_SRCEXT conftest1.$ac_ext >> conftest.out 2>&1 ; then |
7241 |
|
MODDIRFLAG="-p" |
7242 |
|
F90MODINCSPEC="-p<dir>" |
7243 |
< |
{ echo "$as_me:$LINENO: result: -p" >&5 |
7244 |
< |
echo "${ECHO_T}-p" >&6; } |
7243 |
> |
{ $as_echo "$as_me:$LINENO: result: -p" >&5 |
7244 |
> |
$as_echo "-p" >&6; } |
7245 |
|
elif test -s work.pc ; then |
7246 |
|
cp work.pc conf/mpimod.pc |
7247 |
|
echo "mpimod.pc" > conf/mpimod.pcl |
7248 |
|
echo "`pwd`/conf/mpimod.pc" >> conf/mpimod.pcl |
7249 |
|
if $FC -c -cl,conf/mpimod.pcl $FCFLAGS $FCFLAGS_SRCEXT conftest1.$ac_ext >>conftest.out 2>&1 ; then |
7250 |
|
MODDIRFLAG='-cl,mpimod.pcl' |
7251 |
< |
{ echo "$as_me:$LINENO: result: -cl,filename where filename contains a list of files and directories" >&5 |
7252 |
< |
echo "${ECHO_T}-cl,filename where filename contains a list of files and directories" >&6; } |
7251 |
> |
{ $as_echo "$as_me:$LINENO: result: -cl,filename where filename contains a list of files and directories" >&5 |
7252 |
> |
$as_echo "-cl,filename where filename contains a list of files and directories" >&6; } |
7253 |
|
F90_WORK_FILES_ARG="-cl,mpimod.pcl" |
7254 |
|
F90MODINCSPEC="-cl,<dir>/<file>mod.pcl" |
7255 |
|
|
7261 |
|
fi |
7262 |
|
fi |
7263 |
|
if test -z "MODDIRFLAG" ; then |
7264 |
< |
{ echo "$as_me:$LINENO: result: unknown" >&5 |
7265 |
< |
echo "${ECHO_T}unknown" >&6; } |
7264 |
> |
{ $as_echo "$as_me:$LINENO: result: unknown" >&5 |
7265 |
> |
$as_echo "unknown" >&6; } |
7266 |
|
fi |
7267 |
|
|
7268 |
|
|
7271 |
|
fi |
7272 |
|
|
7273 |
|
|
7274 |
< |
{ echo "$as_me:$LINENO: checking for Fortran 90 module file names" >&5 |
7275 |
< |
echo $ECHO_N "checking for Fortran 90 module file names... $ECHO_C" >&6; } |
7274 |
> |
{ $as_echo "$as_me:$LINENO: checking for Fortran 90 module file names" >&5 |
7275 |
> |
$as_echo_n "checking for Fortran 90 module file names... " >&6; } |
7276 |
|
if test "${ac_cv_f90_module_names+set}" = set; then |
7277 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7277 |
> |
$as_echo_n "(cached) " >&6 |
7278 |
|
else |
7279 |
|
ac_ext=${ac_fc_srcext-f} |
7280 |
|
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
7294 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7295 |
|
*) ac_try_echo=$ac_try;; |
7296 |
|
esac |
7297 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
7297 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
7298 |
> |
$as_echo "$ac_try_echo") >&5 |
7299 |
|
(eval "$ac_compile") 2>conftest.er1 |
7300 |
|
ac_status=$? |
7301 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
7302 |
|
rm -f conftest.er1 |
7303 |
|
cat conftest.err >&5 |
7304 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7304 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7305 |
|
(exit $ac_status); } && { |
7306 |
|
test -z "$ac_fc_werror_flag" || |
7307 |
|
test ! -s conftest.err |
7387 |
|
;; |
7388 |
|
# Other files - we have no idea how they are generated |
7389 |
|
*) |
7390 |
< |
{ echo "$as_me:$LINENO: WARNING: Bogus file found: $ac_file" >&5 |
7391 |
< |
echo "$as_me: WARNING: Bogus file found: $ac_file" >&2;} |
7390 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: Bogus file found: $ac_file" >&5 |
7391 |
> |
$as_echo "$as_me: WARNING: Bogus file found: $ac_file" >&2;} |
7392 |
|
;; |
7393 |
|
esac |
7394 |
|
done |
7395 |
|
if test "x$ac_cv_f90_module_names" = "x"; then |
7396 |
< |
{ echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5 |
7397 |
< |
echo "$as_me: WARNING: Couldn't determine module file names" >&2;} |
7396 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5 |
7397 |
> |
$as_echo "$as_me: WARNING: Couldn't determine module file names" >&2;} |
7398 |
|
fi |
7399 |
|
|
7400 |
|
else |
7401 |
< |
echo "$as_me: failed program was:" >&5 |
7401 |
> |
$as_echo "$as_me: failed program was:" >&5 |
7402 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7403 |
|
|
7404 |
|
ac_cv_f90_module_names= |
7405 |
< |
{ echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5 |
7406 |
< |
echo "$as_me: WARNING: Couldn't determine module file names" >&2;} |
7405 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5 |
7406 |
> |
$as_echo "$as_me: WARNING: Couldn't determine module file names" >&2;} |
7407 |
|
fi |
7408 |
|
|
7409 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7416 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
7417 |
|
|
7418 |
|
fi |
7419 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_f90_module_names" >&5 |
7420 |
< |
echo "${ECHO_T}$ac_cv_f90_module_names" >&6; } # AC_CACHE_CHECK |
7419 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_f90_module_names" >&5 |
7420 |
> |
$as_echo "$ac_cv_f90_module_names" >&6; } # AC_CACHE_CHECK |
7421 |
|
|
7422 |
|
# We now generate a shell script that will help us to figure out the correct |
7423 |
|
# module file names, using the value of ac_cv_f90_module_names |
7510 |
|
|
7511 |
|
|
7512 |
|
|
7513 |
< |
{ echo "$as_me:$LINENO: checking for asin in -lm" >&5 |
7514 |
< |
echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6; } |
7513 |
> |
{ $as_echo "$as_me:$LINENO: checking for asin in -lm" >&5 |
7514 |
> |
$as_echo_n "checking for asin in -lm... " >&6; } |
7515 |
|
if test "${ac_cv_lib_m_asin+set}" = set; then |
7516 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7516 |
> |
$as_echo_n "(cached) " >&6 |
7517 |
|
else |
7518 |
|
ac_check_lib_save_LIBS=$LIBS |
7519 |
|
LIBS="-lm $LIBS" |
7553 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7554 |
|
*) ac_try_echo=$ac_try;; |
7555 |
|
esac |
7556 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
7556 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
7557 |
> |
$as_echo "$ac_try_echo") >&5 |
7558 |
|
(eval "$ac_link") 2>conftest.er1 |
7559 |
|
ac_status=$? |
7560 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
7561 |
|
rm -f conftest.er1 |
7562 |
|
cat conftest.err >&5 |
7563 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7563 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7564 |
|
(exit $ac_status); } && { |
7565 |
|
test -z "$ac_c_werror_flag" || |
7566 |
|
test ! -s conftest.err |
7567 |
< |
} && test -s conftest$ac_exeext && |
7568 |
< |
$as_test_x conftest$ac_exeext; then |
7567 |
> |
} && test -s conftest$ac_exeext && { |
7568 |
> |
test "$cross_compiling" = yes || |
7569 |
> |
$as_test_x conftest$ac_exeext |
7570 |
> |
}; then |
7571 |
|
ac_cv_lib_m_asin=yes |
7572 |
|
else |
7573 |
< |
echo "$as_me: failed program was:" >&5 |
7573 |
> |
$as_echo "$as_me: failed program was:" >&5 |
7574 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7575 |
|
|
7576 |
|
ac_cv_lib_m_asin=no |
7577 |
|
fi |
7578 |
|
|
7579 |
+ |
rm -rf conftest.dSYM |
7580 |
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
7581 |
|
conftest$ac_exeext conftest.$ac_ext |
7582 |
|
LIBS=$ac_check_lib_save_LIBS |
7583 |
|
fi |
7584 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5 |
7585 |
< |
echo "${ECHO_T}$ac_cv_lib_m_asin" >&6; } |
7584 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5 |
7585 |
> |
$as_echo "$ac_cv_lib_m_asin" >&6; } |
7586 |
|
if test $ac_cv_lib_m_asin = yes; then |
7587 |
|
cat >>confdefs.h <<_ACEOF |
7588 |
|
#define HAVE_LIBM 1 |
7595 |
|
fi |
7596 |
|
|
7597 |
|
|
7598 |
< |
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
7599 |
< |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
7598 |
> |
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
7599 |
> |
$as_echo_n "checking for ANSI C header files... " >&6; } |
7600 |
|
if test "${ac_cv_header_stdc+set}" = set; then |
7601 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7601 |
> |
$as_echo_n "(cached) " >&6 |
7602 |
|
else |
7603 |
|
cat >conftest.$ac_ext <<_ACEOF |
7604 |
|
/* confdefs.h. */ |
7633 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7634 |
|
*) ac_try_echo=$ac_try;; |
7635 |
|
esac |
7636 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
7636 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
7637 |
> |
$as_echo "$ac_try_echo") >&5 |
7638 |
|
(eval "$ac_compile") 2>conftest.er1 |
7639 |
|
ac_status=$? |
7640 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
7641 |
|
rm -f conftest.er1 |
7642 |
|
cat conftest.err >&5 |
7643 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7643 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7644 |
|
(exit $ac_status); } && { |
7645 |
|
test -z "$ac_c_werror_flag" || |
7646 |
|
test ! -s conftest.err |
7647 |
|
} && test -s conftest.$ac_objext; then |
7648 |
|
ac_cv_header_stdc=yes |
7649 |
|
else |
7650 |
< |
echo "$as_me: failed program was:" >&5 |
7650 |
> |
$as_echo "$as_me: failed program was:" >&5 |
7651 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7652 |
|
|
7653 |
|
ac_cv_header_stdc=no |
7739 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7740 |
|
*) ac_try_echo=$ac_try;; |
7741 |
|
esac |
7742 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
7742 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
7743 |
> |
$as_echo "$ac_try_echo") >&5 |
7744 |
|
(eval "$ac_link") 2>&5 |
7745 |
|
ac_status=$? |
7746 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7746 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7747 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
7748 |
|
{ (case "(($ac_try" in |
7749 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7750 |
|
*) ac_try_echo=$ac_try;; |
7751 |
|
esac |
7752 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
7752 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
7753 |
> |
$as_echo "$ac_try_echo") >&5 |
7754 |
|
(eval "$ac_try") 2>&5 |
7755 |
|
ac_status=$? |
7756 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7756 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7757 |
|
(exit $ac_status); }; }; then |
7758 |
|
: |
7759 |
|
else |
7760 |
< |
echo "$as_me: program exited with status $ac_status" >&5 |
7761 |
< |
echo "$as_me: failed program was:" >&5 |
7760 |
> |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
7761 |
> |
$as_echo "$as_me: failed program was:" >&5 |
7762 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7763 |
|
|
7764 |
|
( exit $ac_status ) |
7765 |
|
ac_cv_header_stdc=no |
7766 |
|
fi |
7767 |
+ |
rm -rf conftest.dSYM |
7768 |
|
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
7769 |
|
fi |
7770 |
|
|
7771 |
|
|
7772 |
|
fi |
7773 |
|
fi |
7774 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
7775 |
< |
echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
7774 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
7775 |
> |
$as_echo "$ac_cv_header_stdc" >&6; } |
7776 |
|
if test $ac_cv_header_stdc = yes; then |
7777 |
|
|
7778 |
|
cat >>confdefs.h <<\_ACEOF |
7794 |
|
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
7795 |
|
inttypes.h stdint.h unistd.h |
7796 |
|
do |
7797 |
< |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7798 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7799 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
7797 |
> |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7798 |
> |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7799 |
> |
$as_echo_n "checking for $ac_header... " >&6; } |
7800 |
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7801 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7801 |
> |
$as_echo_n "(cached) " >&6 |
7802 |
|
else |
7803 |
|
cat >conftest.$ac_ext <<_ACEOF |
7804 |
|
/* confdefs.h. */ |
7816 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7817 |
|
*) ac_try_echo=$ac_try;; |
7818 |
|
esac |
7819 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
7819 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
7820 |
> |
$as_echo "$ac_try_echo") >&5 |
7821 |
|
(eval "$ac_compile") 2>conftest.er1 |
7822 |
|
ac_status=$? |
7823 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
7824 |
|
rm -f conftest.er1 |
7825 |
|
cat conftest.err >&5 |
7826 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7826 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7827 |
|
(exit $ac_status); } && { |
7828 |
|
test -z "$ac_c_werror_flag" || |
7829 |
|
test ! -s conftest.err |
7830 |
|
} && test -s conftest.$ac_objext; then |
7831 |
|
eval "$as_ac_Header=yes" |
7832 |
|
else |
7833 |
< |
echo "$as_me: failed program was:" >&5 |
7833 |
> |
$as_echo "$as_me: failed program was:" >&5 |
7834 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7835 |
|
|
7836 |
|
eval "$as_ac_Header=no" |
7838 |
|
|
7839 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7840 |
|
fi |
7841 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
7842 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
7843 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
7844 |
< |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
7841 |
> |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
7842 |
> |
$as_echo "$as_val"'` |
7843 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
7844 |
> |
$as_echo "$ac_res" >&6; } |
7845 |
> |
if test `eval 'as_val=${'$as_ac_Header'} |
7846 |
> |
$as_echo "$as_val"'` = yes; then |
7847 |
|
cat >>confdefs.h <<_ACEOF |
7848 |
< |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7848 |
> |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7849 |
|
_ACEOF |
7850 |
|
|
7851 |
|
fi |
7871 |
|
then |
7872 |
|
ZLIB_HOME="$zlib_dir" |
7873 |
|
else |
7874 |
< |
{ echo "$as_me:$LINENO: WARNING: Sorry, $zlib_dir does not exist, checking usual places" >&5 |
7875 |
< |
echo "$as_me: WARNING: Sorry, $zlib_dir does not exist, checking usual places" >&2;} |
7874 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: Sorry, $zlib_dir does not exist, checking usual places" >&5 |
7875 |
> |
$as_echo "$as_me: WARNING: Sorry, $zlib_dir does not exist, checking usual places" >&2;} |
7876 |
|
ZLIB_HOME=/usr/local |
7877 |
|
if test ! -f "${ZLIB_HOME}/include/zlib.h" |
7878 |
|
then |
7896 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
7897 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
7898 |
|
|
7899 |
< |
{ echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5 |
7900 |
< |
echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6; } |
7899 |
> |
{ $as_echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5 |
7900 |
> |
$as_echo_n "checking for inflateEnd in -lz... " >&6; } |
7901 |
|
if test "${ac_cv_lib_z_inflateEnd+set}" = set; then |
7902 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7902 |
> |
$as_echo_n "(cached) " >&6 |
7903 |
|
else |
7904 |
|
ac_check_lib_save_LIBS=$LIBS |
7905 |
|
LIBS="-lz $LIBS" |
7939 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7940 |
|
*) ac_try_echo=$ac_try;; |
7941 |
|
esac |
7942 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
7942 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
7943 |
> |
$as_echo "$ac_try_echo") >&5 |
7944 |
|
(eval "$ac_link") 2>conftest.er1 |
7945 |
|
ac_status=$? |
7946 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
7947 |
|
rm -f conftest.er1 |
7948 |
|
cat conftest.err >&5 |
7949 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7949 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7950 |
|
(exit $ac_status); } && { |
7951 |
|
test -z "$ac_c_werror_flag" || |
7952 |
|
test ! -s conftest.err |
7953 |
< |
} && test -s conftest$ac_exeext && |
7954 |
< |
$as_test_x conftest$ac_exeext; then |
7953 |
> |
} && test -s conftest$ac_exeext && { |
7954 |
> |
test "$cross_compiling" = yes || |
7955 |
> |
$as_test_x conftest$ac_exeext |
7956 |
> |
}; then |
7957 |
|
ac_cv_lib_z_inflateEnd=yes |
7958 |
|
else |
7959 |
< |
echo "$as_me: failed program was:" >&5 |
7959 |
> |
$as_echo "$as_me: failed program was:" >&5 |
7960 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7961 |
|
|
7962 |
|
ac_cv_lib_z_inflateEnd=no |
7963 |
|
fi |
7964 |
|
|
7965 |
+ |
rm -rf conftest.dSYM |
7966 |
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
7967 |
|
conftest$ac_exeext conftest.$ac_ext |
7968 |
|
LIBS=$ac_check_lib_save_LIBS |
7969 |
|
fi |
7970 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5 |
7971 |
< |
echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6; } |
7970 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5 |
7971 |
> |
$as_echo "$ac_cv_lib_z_inflateEnd" >&6; } |
7972 |
|
if test $ac_cv_lib_z_inflateEnd = yes; then |
7973 |
|
zlib_cv_libz=yes |
7974 |
|
else |
7976 |
|
fi |
7977 |
|
|
7978 |
|
if test "${ac_cv_header_zlib_h+set}" = set; then |
7979 |
< |
{ echo "$as_me:$LINENO: checking for zlib.h" >&5 |
7980 |
< |
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; } |
7979 |
> |
{ $as_echo "$as_me:$LINENO: checking for zlib.h" >&5 |
7980 |
> |
$as_echo_n "checking for zlib.h... " >&6; } |
7981 |
|
if test "${ac_cv_header_zlib_h+set}" = set; then |
7982 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7982 |
> |
$as_echo_n "(cached) " >&6 |
7983 |
|
fi |
7984 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 |
7985 |
< |
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; } |
7984 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 |
7985 |
> |
$as_echo "$ac_cv_header_zlib_h" >&6; } |
7986 |
|
else |
7987 |
|
# Is the header compilable? |
7988 |
< |
{ echo "$as_me:$LINENO: checking zlib.h usability" >&5 |
7989 |
< |
echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; } |
7988 |
> |
{ $as_echo "$as_me:$LINENO: checking zlib.h usability" >&5 |
7989 |
> |
$as_echo_n "checking zlib.h usability... " >&6; } |
7990 |
|
cat >conftest.$ac_ext <<_ACEOF |
7991 |
|
/* confdefs.h. */ |
7992 |
|
_ACEOF |
8002 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8003 |
|
*) ac_try_echo=$ac_try;; |
8004 |
|
esac |
8005 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8005 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
8006 |
> |
$as_echo "$ac_try_echo") >&5 |
8007 |
|
(eval "$ac_compile") 2>conftest.er1 |
8008 |
|
ac_status=$? |
8009 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8010 |
|
rm -f conftest.er1 |
8011 |
|
cat conftest.err >&5 |
8012 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8012 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8013 |
|
(exit $ac_status); } && { |
8014 |
|
test -z "$ac_c_werror_flag" || |
8015 |
|
test ! -s conftest.err |
8016 |
|
} && test -s conftest.$ac_objext; then |
8017 |
|
ac_header_compiler=yes |
8018 |
|
else |
8019 |
< |
echo "$as_me: failed program was:" >&5 |
8019 |
> |
$as_echo "$as_me: failed program was:" >&5 |
8020 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8021 |
|
|
8022 |
|
ac_header_compiler=no |
8023 |
|
fi |
8024 |
|
|
8025 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8026 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8027 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
8026 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8027 |
> |
$as_echo "$ac_header_compiler" >&6; } |
8028 |
|
|
8029 |
|
# Is the header present? |
8030 |
< |
{ echo "$as_me:$LINENO: checking zlib.h presence" >&5 |
8031 |
< |
echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; } |
8030 |
> |
{ $as_echo "$as_me:$LINENO: checking zlib.h presence" >&5 |
8031 |
> |
$as_echo_n "checking zlib.h presence... " >&6; } |
8032 |
|
cat >conftest.$ac_ext <<_ACEOF |
8033 |
|
/* confdefs.h. */ |
8034 |
|
_ACEOF |
8042 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8043 |
|
*) ac_try_echo=$ac_try;; |
8044 |
|
esac |
8045 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8045 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
8046 |
> |
$as_echo "$ac_try_echo") >&5 |
8047 |
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
8048 |
|
ac_status=$? |
8049 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8050 |
|
rm -f conftest.er1 |
8051 |
|
cat conftest.err >&5 |
8052 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8052 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8053 |
|
(exit $ac_status); } >/dev/null && { |
8054 |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
8055 |
|
test ! -s conftest.err |
8056 |
|
}; then |
8057 |
|
ac_header_preproc=yes |
8058 |
|
else |
8059 |
< |
echo "$as_me: failed program was:" >&5 |
8059 |
> |
$as_echo "$as_me: failed program was:" >&5 |
8060 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8061 |
|
|
8062 |
|
ac_header_preproc=no |
8063 |
|
fi |
8064 |
|
|
8065 |
|
rm -f conftest.err conftest.$ac_ext |
8066 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
8067 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
8066 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
8067 |
> |
$as_echo "$ac_header_preproc" >&6; } |
8068 |
|
|
8069 |
|
# So? What about this header? |
8070 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
8071 |
|
yes:no: ) |
8072 |
< |
{ echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
8073 |
< |
echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8074 |
< |
{ echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5 |
8075 |
< |
echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;} |
8072 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
8073 |
> |
$as_echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8074 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5 |
8075 |
> |
$as_echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;} |
8076 |
|
ac_header_preproc=yes |
8077 |
|
;; |
8078 |
|
no:yes:* ) |
8079 |
< |
{ echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5 |
8080 |
< |
echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;} |
8081 |
< |
{ echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5 |
8082 |
< |
echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;} |
8083 |
< |
{ echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5 |
8084 |
< |
echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;} |
8085 |
< |
{ echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5 |
8086 |
< |
echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;} |
8087 |
< |
{ echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5 |
8088 |
< |
echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;} |
8089 |
< |
{ echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5 |
8090 |
< |
echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;} |
8079 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5 |
8080 |
> |
$as_echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;} |
8081 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5 |
8082 |
> |
$as_echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;} |
8083 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5 |
8084 |
> |
$as_echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;} |
8085 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5 |
8086 |
> |
$as_echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;} |
8087 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5 |
8088 |
> |
$as_echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;} |
8089 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5 |
8090 |
> |
$as_echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;} |
8091 |
|
( cat <<\_ASBOX |
8092 |
|
## ------------------------------ ## |
8093 |
|
## Report this to gezelter@nd.edu ## |
8096 |
|
) | sed "s/^/$as_me: WARNING: /" >&2 |
8097 |
|
;; |
8098 |
|
esac |
8099 |
< |
{ echo "$as_me:$LINENO: checking for zlib.h" >&5 |
8100 |
< |
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; } |
8099 |
> |
{ $as_echo "$as_me:$LINENO: checking for zlib.h" >&5 |
8100 |
> |
$as_echo_n "checking for zlib.h... " >&6; } |
8101 |
|
if test "${ac_cv_header_zlib_h+set}" = set; then |
8102 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8102 |
> |
$as_echo_n "(cached) " >&6 |
8103 |
|
else |
8104 |
|
ac_cv_header_zlib_h=$ac_header_preproc |
8105 |
|
fi |
8106 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 |
8107 |
< |
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; } |
8106 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 |
8107 |
> |
$as_echo "$ac_cv_header_zlib_h" >&6; } |
8108 |
|
|
8109 |
|
fi |
8110 |
|
if test $ac_cv_header_zlib_h = yes; then |
8136 |
|
ZLIB_LIB_DIR="${ZLIB_HOME}/lib" |
8137 |
|
ZLIB="-lz" |
8138 |
|
else |
8139 |
< |
{ echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5 |
8140 |
< |
echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6; } |
8139 |
> |
{ $as_echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5 |
8140 |
> |
$as_echo_n "checking zlib in ${ZLIB_HOME}... " >&6; } |
8141 |
|
ZLIB_INC_DIR= |
8142 |
|
ZLIB_LIB_DIR= |
8143 |
|
ZLIB= |
8144 |
|
LDFLAGS="$ZLIB_OLD_LDFLAGS" |
8145 |
|
CFLAGS="$ZLIB_OLD_CFLAGS" |
8146 |
< |
{ echo "$as_me:$LINENO: result: failed" >&5 |
8147 |
< |
echo "${ECHO_T}failed" >&6; } |
8146 |
> |
{ $as_echo "$as_me:$LINENO: result: failed" >&5 |
8147 |
> |
$as_echo "failed" >&6; } |
8148 |
|
echo "" |
8149 |
|
echo "*********************************************************" |
8150 |
|
echo "* WARNING: Could not find a working zlib installation *" |
8178 |
|
if test -d "$fftw_dir"; then |
8179 |
|
FFTW_HOME="$fftw_dir" |
8180 |
|
else |
8181 |
< |
{ echo "$as_me:$LINENO: WARNING: Sorry, $fftw_dir does not exist, checking usual places" >&5 |
8182 |
< |
echo "$as_me: WARNING: Sorry, $fftw_dir does not exist, checking usual places" >&2;} |
8181 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: Sorry, $fftw_dir does not exist, checking usual places" >&5 |
8182 |
> |
$as_echo "$as_me: WARNING: Sorry, $fftw_dir does not exist, checking usual places" >&2;} |
8183 |
|
FFTW_HOME=/usr/local |
8184 |
|
if test ! -f "${FFTW_HOME}/include/fftw3.h" -o -f "${FFTW_HOME}/include/fftw.h" -o -f "${FFTW_HOME}/include/dfftw.h"; then |
8185 |
|
FFTW_HOME=/usr |
8200 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
8201 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
8202 |
|
|
8203 |
< |
{ echo "$as_me:$LINENO: checking for fftw_execute in -lfftw3" >&5 |
8204 |
< |
echo $ECHO_N "checking for fftw_execute in -lfftw3... $ECHO_C" >&6; } |
8203 |
> |
{ $as_echo "$as_me:$LINENO: checking for fftw_execute in -lfftw3" >&5 |
8204 |
> |
$as_echo_n "checking for fftw_execute in -lfftw3... " >&6; } |
8205 |
|
if test "${ac_cv_lib_fftw3_fftw_execute+set}" = set; then |
8206 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8206 |
> |
$as_echo_n "(cached) " >&6 |
8207 |
|
else |
8208 |
|
ac_check_lib_save_LIBS=$LIBS |
8209 |
|
LIBS="-lfftw3 $LIBS" |
8243 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8244 |
|
*) ac_try_echo=$ac_try;; |
8245 |
|
esac |
8246 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8246 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
8247 |
> |
$as_echo "$ac_try_echo") >&5 |
8248 |
|
(eval "$ac_link") 2>conftest.er1 |
8249 |
|
ac_status=$? |
8250 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8251 |
|
rm -f conftest.er1 |
8252 |
|
cat conftest.err >&5 |
8253 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8253 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8254 |
|
(exit $ac_status); } && { |
8255 |
|
test -z "$ac_c_werror_flag" || |
8256 |
|
test ! -s conftest.err |
8257 |
< |
} && test -s conftest$ac_exeext && |
8258 |
< |
$as_test_x conftest$ac_exeext; then |
8257 |
> |
} && test -s conftest$ac_exeext && { |
8258 |
> |
test "$cross_compiling" = yes || |
8259 |
> |
$as_test_x conftest$ac_exeext |
8260 |
> |
}; then |
8261 |
|
ac_cv_lib_fftw3_fftw_execute=yes |
8262 |
|
else |
8263 |
< |
echo "$as_me: failed program was:" >&5 |
8263 |
> |
$as_echo "$as_me: failed program was:" >&5 |
8264 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8265 |
|
|
8266 |
|
ac_cv_lib_fftw3_fftw_execute=no |
8267 |
|
fi |
8268 |
|
|
8269 |
+ |
rm -rf conftest.dSYM |
8270 |
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
8271 |
|
conftest$ac_exeext conftest.$ac_ext |
8272 |
|
LIBS=$ac_check_lib_save_LIBS |
8273 |
|
fi |
8274 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_fftw3_fftw_execute" >&5 |
8275 |
< |
echo "${ECHO_T}$ac_cv_lib_fftw3_fftw_execute" >&6; } |
8274 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_fftw3_fftw_execute" >&5 |
8275 |
> |
$as_echo "$ac_cv_lib_fftw3_fftw_execute" >&6; } |
8276 |
|
if test $ac_cv_lib_fftw3_fftw_execute = yes; then |
8277 |
|
fftw_cv_libfftw3=yes |
8278 |
|
else |
8280 |
|
fi |
8281 |
|
|
8282 |
|
if test "${ac_cv_header_fftw3_h+set}" = set; then |
8283 |
< |
{ echo "$as_me:$LINENO: checking for fftw3.h" >&5 |
8284 |
< |
echo $ECHO_N "checking for fftw3.h... $ECHO_C" >&6; } |
8283 |
> |
{ $as_echo "$as_me:$LINENO: checking for fftw3.h" >&5 |
8284 |
> |
$as_echo_n "checking for fftw3.h... " >&6; } |
8285 |
|
if test "${ac_cv_header_fftw3_h+set}" = set; then |
8286 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8286 |
> |
$as_echo_n "(cached) " >&6 |
8287 |
|
fi |
8288 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_fftw3_h" >&5 |
8289 |
< |
echo "${ECHO_T}$ac_cv_header_fftw3_h" >&6; } |
8288 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_fftw3_h" >&5 |
8289 |
> |
$as_echo "$ac_cv_header_fftw3_h" >&6; } |
8290 |
|
else |
8291 |
|
# Is the header compilable? |
8292 |
< |
{ echo "$as_me:$LINENO: checking fftw3.h usability" >&5 |
8293 |
< |
echo $ECHO_N "checking fftw3.h usability... $ECHO_C" >&6; } |
8292 |
> |
{ $as_echo "$as_me:$LINENO: checking fftw3.h usability" >&5 |
8293 |
> |
$as_echo_n "checking fftw3.h usability... " >&6; } |
8294 |
|
cat >conftest.$ac_ext <<_ACEOF |
8295 |
|
/* confdefs.h. */ |
8296 |
|
_ACEOF |
8306 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8307 |
|
*) ac_try_echo=$ac_try;; |
8308 |
|
esac |
8309 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8309 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
8310 |
> |
$as_echo "$ac_try_echo") >&5 |
8311 |
|
(eval "$ac_compile") 2>conftest.er1 |
8312 |
|
ac_status=$? |
8313 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8314 |
|
rm -f conftest.er1 |
8315 |
|
cat conftest.err >&5 |
8316 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8316 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8317 |
|
(exit $ac_status); } && { |
8318 |
|
test -z "$ac_c_werror_flag" || |
8319 |
|
test ! -s conftest.err |
8320 |
|
} && test -s conftest.$ac_objext; then |
8321 |
|
ac_header_compiler=yes |
8322 |
|
else |
8323 |
< |
echo "$as_me: failed program was:" >&5 |
8323 |
> |
$as_echo "$as_me: failed program was:" >&5 |
8324 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8325 |
|
|
8326 |
|
ac_header_compiler=no |
8327 |
|
fi |
8328 |
|
|
8329 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8330 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8331 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
8330 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8331 |
> |
$as_echo "$ac_header_compiler" >&6; } |
8332 |
|
|
8333 |
|
# Is the header present? |
8334 |
< |
{ echo "$as_me:$LINENO: checking fftw3.h presence" >&5 |
8335 |
< |
echo $ECHO_N "checking fftw3.h presence... $ECHO_C" >&6; } |
8334 |
> |
{ $as_echo "$as_me:$LINENO: checking fftw3.h presence" >&5 |
8335 |
> |
$as_echo_n "checking fftw3.h presence... " >&6; } |
8336 |
|
cat >conftest.$ac_ext <<_ACEOF |
8337 |
|
/* confdefs.h. */ |
8338 |
|
_ACEOF |
8346 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8347 |
|
*) ac_try_echo=$ac_try;; |
8348 |
|
esac |
8349 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8349 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
8350 |
> |
$as_echo "$ac_try_echo") >&5 |
8351 |
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
8352 |
|
ac_status=$? |
8353 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8354 |
|
rm -f conftest.er1 |
8355 |
|
cat conftest.err >&5 |
8356 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8356 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8357 |
|
(exit $ac_status); } >/dev/null && { |
8358 |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
8359 |
|
test ! -s conftest.err |
8360 |
|
}; then |
8361 |
|
ac_header_preproc=yes |
8362 |
|
else |
8363 |
< |
echo "$as_me: failed program was:" >&5 |
8363 |
> |
$as_echo "$as_me: failed program was:" >&5 |
8364 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8365 |
|
|
8366 |
|
ac_header_preproc=no |
8367 |
|
fi |
8368 |
|
|
8369 |
|
rm -f conftest.err conftest.$ac_ext |
8370 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
8371 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
8370 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
8371 |
> |
$as_echo "$ac_header_preproc" >&6; } |
8372 |
|
|
8373 |
|
# So? What about this header? |
8374 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
8375 |
|
yes:no: ) |
8376 |
< |
{ echo "$as_me:$LINENO: WARNING: fftw3.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
8377 |
< |
echo "$as_me: WARNING: fftw3.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8378 |
< |
{ echo "$as_me:$LINENO: WARNING: fftw3.h: proceeding with the compiler's result" >&5 |
8379 |
< |
echo "$as_me: WARNING: fftw3.h: proceeding with the compiler's result" >&2;} |
8376 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: fftw3.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
8377 |
> |
$as_echo "$as_me: WARNING: fftw3.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8378 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: fftw3.h: proceeding with the compiler's result" >&5 |
8379 |
> |
$as_echo "$as_me: WARNING: fftw3.h: proceeding with the compiler's result" >&2;} |
8380 |
|
ac_header_preproc=yes |
8381 |
|
;; |
8382 |
|
no:yes:* ) |
8383 |
< |
{ echo "$as_me:$LINENO: WARNING: fftw3.h: present but cannot be compiled" >&5 |
8384 |
< |
echo "$as_me: WARNING: fftw3.h: present but cannot be compiled" >&2;} |
8385 |
< |
{ echo "$as_me:$LINENO: WARNING: fftw3.h: check for missing prerequisite headers?" >&5 |
8386 |
< |
echo "$as_me: WARNING: fftw3.h: check for missing prerequisite headers?" >&2;} |
8387 |
< |
{ echo "$as_me:$LINENO: WARNING: fftw3.h: see the Autoconf documentation" >&5 |
8388 |
< |
echo "$as_me: WARNING: fftw3.h: see the Autoconf documentation" >&2;} |
8389 |
< |
{ echo "$as_me:$LINENO: WARNING: fftw3.h: section \"Present But Cannot Be Compiled\"" >&5 |
8390 |
< |
echo "$as_me: WARNING: fftw3.h: section \"Present But Cannot Be Compiled\"" >&2;} |
8391 |
< |
{ echo "$as_me:$LINENO: WARNING: fftw3.h: proceeding with the preprocessor's result" >&5 |
8392 |
< |
echo "$as_me: WARNING: fftw3.h: proceeding with the preprocessor's result" >&2;} |
8393 |
< |
{ echo "$as_me:$LINENO: WARNING: fftw3.h: in the future, the compiler will take precedence" >&5 |
8394 |
< |
echo "$as_me: WARNING: fftw3.h: in the future, the compiler will take precedence" >&2;} |
8383 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: fftw3.h: present but cannot be compiled" >&5 |
8384 |
> |
$as_echo "$as_me: WARNING: fftw3.h: present but cannot be compiled" >&2;} |
8385 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: fftw3.h: check for missing prerequisite headers?" >&5 |
8386 |
> |
$as_echo "$as_me: WARNING: fftw3.h: check for missing prerequisite headers?" >&2;} |
8387 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: fftw3.h: see the Autoconf documentation" >&5 |
8388 |
> |
$as_echo "$as_me: WARNING: fftw3.h: see the Autoconf documentation" >&2;} |
8389 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: fftw3.h: section \"Present But Cannot Be Compiled\"" >&5 |
8390 |
> |
$as_echo "$as_me: WARNING: fftw3.h: section \"Present But Cannot Be Compiled\"" >&2;} |
8391 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: fftw3.h: proceeding with the preprocessor's result" >&5 |
8392 |
> |
$as_echo "$as_me: WARNING: fftw3.h: proceeding with the preprocessor's result" >&2;} |
8393 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: fftw3.h: in the future, the compiler will take precedence" >&5 |
8394 |
> |
$as_echo "$as_me: WARNING: fftw3.h: in the future, the compiler will take precedence" >&2;} |
8395 |
|
( cat <<\_ASBOX |
8396 |
|
## ------------------------------ ## |
8397 |
|
## Report this to gezelter@nd.edu ## |
8400 |
|
) | sed "s/^/$as_me: WARNING: /" >&2 |
8401 |
|
;; |
8402 |
|
esac |
8403 |
< |
{ echo "$as_me:$LINENO: checking for fftw3.h" >&5 |
8404 |
< |
echo $ECHO_N "checking for fftw3.h... $ECHO_C" >&6; } |
8403 |
> |
{ $as_echo "$as_me:$LINENO: checking for fftw3.h" >&5 |
8404 |
> |
$as_echo_n "checking for fftw3.h... " >&6; } |
8405 |
|
if test "${ac_cv_header_fftw3_h+set}" = set; then |
8406 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8406 |
> |
$as_echo_n "(cached) " >&6 |
8407 |
|
else |
8408 |
|
ac_cv_header_fftw3_h=$ac_header_preproc |
8409 |
|
fi |
8410 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_fftw3_h" >&5 |
8411 |
< |
echo "${ECHO_T}$ac_cv_header_fftw3_h" >&6; } |
8410 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_fftw3_h" >&5 |
8411 |
> |
$as_echo "$ac_cv_header_fftw3_h" >&6; } |
8412 |
|
|
8413 |
|
fi |
8414 |
|
if test $ac_cv_header_fftw3_h = yes; then |
8419 |
|
|
8420 |
|
|
8421 |
|
if test "$fftw_cv_libfftw3" = "no" -o "$fftw_cv_fftw3_h" = "no"; then |
8422 |
< |
{ echo "$as_me:$LINENO: checking for fftwnd_one in -lfftw" >&5 |
8423 |
< |
echo $ECHO_N "checking for fftwnd_one in -lfftw... $ECHO_C" >&6; } |
8422 |
> |
{ $as_echo "$as_me:$LINENO: checking for fftwnd_one in -lfftw" >&5 |
8423 |
> |
$as_echo_n "checking for fftwnd_one in -lfftw... " >&6; } |
8424 |
|
if test "${ac_cv_lib_fftw_fftwnd_one+set}" = set; then |
8425 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8425 |
> |
$as_echo_n "(cached) " >&6 |
8426 |
|
else |
8427 |
|
ac_check_lib_save_LIBS=$LIBS |
8428 |
|
LIBS="-lfftw $LIBS" |
8462 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8463 |
|
*) ac_try_echo=$ac_try;; |
8464 |
|
esac |
8465 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8465 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
8466 |
> |
$as_echo "$ac_try_echo") >&5 |
8467 |
|
(eval "$ac_link") 2>conftest.er1 |
8468 |
|
ac_status=$? |
8469 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8470 |
|
rm -f conftest.er1 |
8471 |
|
cat conftest.err >&5 |
8472 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8472 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8473 |
|
(exit $ac_status); } && { |
8474 |
|
test -z "$ac_c_werror_flag" || |
8475 |
|
test ! -s conftest.err |
8476 |
< |
} && test -s conftest$ac_exeext && |
8477 |
< |
$as_test_x conftest$ac_exeext; then |
8476 |
> |
} && test -s conftest$ac_exeext && { |
8477 |
> |
test "$cross_compiling" = yes || |
8478 |
> |
$as_test_x conftest$ac_exeext |
8479 |
> |
}; then |
8480 |
|
ac_cv_lib_fftw_fftwnd_one=yes |
8481 |
|
else |
8482 |
< |
echo "$as_me: failed program was:" >&5 |
8482 |
> |
$as_echo "$as_me: failed program was:" >&5 |
8483 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8484 |
|
|
8485 |
|
ac_cv_lib_fftw_fftwnd_one=no |
8486 |
|
fi |
8487 |
|
|
8488 |
+ |
rm -rf conftest.dSYM |
8489 |
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
8490 |
|
conftest$ac_exeext conftest.$ac_ext |
8491 |
|
LIBS=$ac_check_lib_save_LIBS |
8492 |
|
fi |
8493 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_fftw_fftwnd_one" >&5 |
8494 |
< |
echo "${ECHO_T}$ac_cv_lib_fftw_fftwnd_one" >&6; } |
8493 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_fftw_fftwnd_one" >&5 |
8494 |
> |
$as_echo "$ac_cv_lib_fftw_fftwnd_one" >&6; } |
8495 |
|
if test $ac_cv_lib_fftw_fftwnd_one = yes; then |
8496 |
|
fftw_cv_libfftw=yes |
8497 |
|
else |
8499 |
|
fi |
8500 |
|
|
8501 |
|
if test "${ac_cv_header_fftw_h+set}" = set; then |
8502 |
< |
{ echo "$as_me:$LINENO: checking for fftw.h" >&5 |
8503 |
< |
echo $ECHO_N "checking for fftw.h... $ECHO_C" >&6; } |
8502 |
> |
{ $as_echo "$as_me:$LINENO: checking for fftw.h" >&5 |
8503 |
> |
$as_echo_n "checking for fftw.h... " >&6; } |
8504 |
|
if test "${ac_cv_header_fftw_h+set}" = set; then |
8505 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8505 |
> |
$as_echo_n "(cached) " >&6 |
8506 |
|
fi |
8507 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_fftw_h" >&5 |
8508 |
< |
echo "${ECHO_T}$ac_cv_header_fftw_h" >&6; } |
8507 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_fftw_h" >&5 |
8508 |
> |
$as_echo "$ac_cv_header_fftw_h" >&6; } |
8509 |
|
else |
8510 |
|
# Is the header compilable? |
8511 |
< |
{ echo "$as_me:$LINENO: checking fftw.h usability" >&5 |
8512 |
< |
echo $ECHO_N "checking fftw.h usability... $ECHO_C" >&6; } |
8511 |
> |
{ $as_echo "$as_me:$LINENO: checking fftw.h usability" >&5 |
8512 |
> |
$as_echo_n "checking fftw.h usability... " >&6; } |
8513 |
|
cat >conftest.$ac_ext <<_ACEOF |
8514 |
|
/* confdefs.h. */ |
8515 |
|
_ACEOF |
8525 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8526 |
|
*) ac_try_echo=$ac_try;; |
8527 |
|
esac |
8528 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8528 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
8529 |
> |
$as_echo "$ac_try_echo") >&5 |
8530 |
|
(eval "$ac_compile") 2>conftest.er1 |
8531 |
|
ac_status=$? |
8532 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8533 |
|
rm -f conftest.er1 |
8534 |
|
cat conftest.err >&5 |
8535 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8535 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8536 |
|
(exit $ac_status); } && { |
8537 |
|
test -z "$ac_c_werror_flag" || |
8538 |
|
test ! -s conftest.err |
8539 |
|
} && test -s conftest.$ac_objext; then |
8540 |
|
ac_header_compiler=yes |
8541 |
|
else |
8542 |
< |
echo "$as_me: failed program was:" >&5 |
8542 |
> |
$as_echo "$as_me: failed program was:" >&5 |
8543 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8544 |
|
|
8545 |
|
ac_header_compiler=no |
8546 |
|
fi |
8547 |
|
|
8548 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8549 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8550 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
8549 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8550 |
> |
$as_echo "$ac_header_compiler" >&6; } |
8551 |
|
|
8552 |
|
# Is the header present? |
8553 |
< |
{ echo "$as_me:$LINENO: checking fftw.h presence" >&5 |
8554 |
< |
echo $ECHO_N "checking fftw.h presence... $ECHO_C" >&6; } |
8553 |
> |
{ $as_echo "$as_me:$LINENO: checking fftw.h presence" >&5 |
8554 |
> |
$as_echo_n "checking fftw.h presence... " >&6; } |
8555 |
|
cat >conftest.$ac_ext <<_ACEOF |
8556 |
|
/* confdefs.h. */ |
8557 |
|
_ACEOF |
8565 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8566 |
|
*) ac_try_echo=$ac_try;; |
8567 |
|
esac |
8568 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8568 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
8569 |
> |
$as_echo "$ac_try_echo") >&5 |
8570 |
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
8571 |
|
ac_status=$? |
8572 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8573 |
|
rm -f conftest.er1 |
8574 |
|
cat conftest.err >&5 |
8575 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8575 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8576 |
|
(exit $ac_status); } >/dev/null && { |
8577 |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
8578 |
|
test ! -s conftest.err |
8579 |
|
}; then |
8580 |
|
ac_header_preproc=yes |
8581 |
|
else |
8582 |
< |
echo "$as_me: failed program was:" >&5 |
8582 |
> |
$as_echo "$as_me: failed program was:" >&5 |
8583 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8584 |
|
|
8585 |
|
ac_header_preproc=no |
8586 |
|
fi |
8587 |
|
|
8588 |
|
rm -f conftest.err conftest.$ac_ext |
8589 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
8590 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
8589 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
8590 |
> |
$as_echo "$ac_header_preproc" >&6; } |
8591 |
|
|
8592 |
|
# So? What about this header? |
8593 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
8594 |
|
yes:no: ) |
8595 |
< |
{ echo "$as_me:$LINENO: WARNING: fftw.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
8596 |
< |
echo "$as_me: WARNING: fftw.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8597 |
< |
{ echo "$as_me:$LINENO: WARNING: fftw.h: proceeding with the compiler's result" >&5 |
8598 |
< |
echo "$as_me: WARNING: fftw.h: proceeding with the compiler's result" >&2;} |
8595 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: fftw.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
8596 |
> |
$as_echo "$as_me: WARNING: fftw.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8597 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: fftw.h: proceeding with the compiler's result" >&5 |
8598 |
> |
$as_echo "$as_me: WARNING: fftw.h: proceeding with the compiler's result" >&2;} |
8599 |
|
ac_header_preproc=yes |
8600 |
|
;; |
8601 |
|
no:yes:* ) |
8602 |
< |
{ echo "$as_me:$LINENO: WARNING: fftw.h: present but cannot be compiled" >&5 |
8603 |
< |
echo "$as_me: WARNING: fftw.h: present but cannot be compiled" >&2;} |
8604 |
< |
{ echo "$as_me:$LINENO: WARNING: fftw.h: check for missing prerequisite headers?" >&5 |
8605 |
< |
echo "$as_me: WARNING: fftw.h: check for missing prerequisite headers?" >&2;} |
8606 |
< |
{ echo "$as_me:$LINENO: WARNING: fftw.h: see the Autoconf documentation" >&5 |
8607 |
< |
echo "$as_me: WARNING: fftw.h: see the Autoconf documentation" >&2;} |
8608 |
< |
{ echo "$as_me:$LINENO: WARNING: fftw.h: section \"Present But Cannot Be Compiled\"" >&5 |
8609 |
< |
echo "$as_me: WARNING: fftw.h: section \"Present But Cannot Be Compiled\"" >&2;} |
8610 |
< |
{ echo "$as_me:$LINENO: WARNING: fftw.h: proceeding with the preprocessor's result" >&5 |
8611 |
< |
echo "$as_me: WARNING: fftw.h: proceeding with the preprocessor's result" >&2;} |
8612 |
< |
{ echo "$as_me:$LINENO: WARNING: fftw.h: in the future, the compiler will take precedence" >&5 |
8613 |
< |
echo "$as_me: WARNING: fftw.h: in the future, the compiler will take precedence" >&2;} |
8602 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: fftw.h: present but cannot be compiled" >&5 |
8603 |
> |
$as_echo "$as_me: WARNING: fftw.h: present but cannot be compiled" >&2;} |
8604 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: fftw.h: check for missing prerequisite headers?" >&5 |
8605 |
> |
$as_echo "$as_me: WARNING: fftw.h: check for missing prerequisite headers?" >&2;} |
8606 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: fftw.h: see the Autoconf documentation" >&5 |
8607 |
> |
$as_echo "$as_me: WARNING: fftw.h: see the Autoconf documentation" >&2;} |
8608 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: fftw.h: section \"Present But Cannot Be Compiled\"" >&5 |
8609 |
> |
$as_echo "$as_me: WARNING: fftw.h: section \"Present But Cannot Be Compiled\"" >&2;} |
8610 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: fftw.h: proceeding with the preprocessor's result" >&5 |
8611 |
> |
$as_echo "$as_me: WARNING: fftw.h: proceeding with the preprocessor's result" >&2;} |
8612 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: fftw.h: in the future, the compiler will take precedence" >&5 |
8613 |
> |
$as_echo "$as_me: WARNING: fftw.h: in the future, the compiler will take precedence" >&2;} |
8614 |
|
( cat <<\_ASBOX |
8615 |
|
## ------------------------------ ## |
8616 |
|
## Report this to gezelter@nd.edu ## |
8619 |
|
) | sed "s/^/$as_me: WARNING: /" >&2 |
8620 |
|
;; |
8621 |
|
esac |
8622 |
< |
{ echo "$as_me:$LINENO: checking for fftw.h" >&5 |
8623 |
< |
echo $ECHO_N "checking for fftw.h... $ECHO_C" >&6; } |
8622 |
> |
{ $as_echo "$as_me:$LINENO: checking for fftw.h" >&5 |
8623 |
> |
$as_echo_n "checking for fftw.h... " >&6; } |
8624 |
|
if test "${ac_cv_header_fftw_h+set}" = set; then |
8625 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8625 |
> |
$as_echo_n "(cached) " >&6 |
8626 |
|
else |
8627 |
|
ac_cv_header_fftw_h=$ac_header_preproc |
8628 |
|
fi |
8629 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_fftw_h" >&5 |
8630 |
< |
echo "${ECHO_T}$ac_cv_header_fftw_h" >&6; } |
8629 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_fftw_h" >&5 |
8630 |
> |
$as_echo "$ac_cv_header_fftw_h" >&6; } |
8631 |
|
|
8632 |
|
fi |
8633 |
|
if test $ac_cv_header_fftw_h = yes; then |
8638 |
|
|
8639 |
|
|
8640 |
|
if test "$fftw_cv_libfftw" = "no" -o "$fftw_cv_fftw_h" = "no"; then |
8641 |
< |
{ echo "$as_me:$LINENO: checking for fftwnd_one in -ldfftw" >&5 |
8642 |
< |
echo $ECHO_N "checking for fftwnd_one in -ldfftw... $ECHO_C" >&6; } |
8641 |
> |
{ $as_echo "$as_me:$LINENO: checking for fftwnd_one in -ldfftw" >&5 |
8642 |
> |
$as_echo_n "checking for fftwnd_one in -ldfftw... " >&6; } |
8643 |
|
if test "${ac_cv_lib_dfftw_fftwnd_one+set}" = set; then |
8644 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8644 |
> |
$as_echo_n "(cached) " >&6 |
8645 |
|
else |
8646 |
|
ac_check_lib_save_LIBS=$LIBS |
8647 |
|
LIBS="-ldfftw $LIBS" |
8681 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8682 |
|
*) ac_try_echo=$ac_try;; |
8683 |
|
esac |
8684 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8684 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
8685 |
> |
$as_echo "$ac_try_echo") >&5 |
8686 |
|
(eval "$ac_link") 2>conftest.er1 |
8687 |
|
ac_status=$? |
8688 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8689 |
|
rm -f conftest.er1 |
8690 |
|
cat conftest.err >&5 |
8691 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8691 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8692 |
|
(exit $ac_status); } && { |
8693 |
|
test -z "$ac_c_werror_flag" || |
8694 |
|
test ! -s conftest.err |
8695 |
< |
} && test -s conftest$ac_exeext && |
8696 |
< |
$as_test_x conftest$ac_exeext; then |
8695 |
> |
} && test -s conftest$ac_exeext && { |
8696 |
> |
test "$cross_compiling" = yes || |
8697 |
> |
$as_test_x conftest$ac_exeext |
8698 |
> |
}; then |
8699 |
|
ac_cv_lib_dfftw_fftwnd_one=yes |
8700 |
|
else |
8701 |
< |
echo "$as_me: failed program was:" >&5 |
8701 |
> |
$as_echo "$as_me: failed program was:" >&5 |
8702 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8703 |
|
|
8704 |
|
ac_cv_lib_dfftw_fftwnd_one=no |
8705 |
|
fi |
8706 |
|
|
8707 |
+ |
rm -rf conftest.dSYM |
8708 |
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
8709 |
|
conftest$ac_exeext conftest.$ac_ext |
8710 |
|
LIBS=$ac_check_lib_save_LIBS |
8711 |
|
fi |
8712 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dfftw_fftwnd_one" >&5 |
8713 |
< |
echo "${ECHO_T}$ac_cv_lib_dfftw_fftwnd_one" >&6; } |
8712 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dfftw_fftwnd_one" >&5 |
8713 |
> |
$as_echo "$ac_cv_lib_dfftw_fftwnd_one" >&6; } |
8714 |
|
if test $ac_cv_lib_dfftw_fftwnd_one = yes; then |
8715 |
|
fftw_cv_libdfftw=yes |
8716 |
|
else |
8718 |
|
fi |
8719 |
|
|
8720 |
|
if test "${ac_cv_header_dfftw_h+set}" = set; then |
8721 |
< |
{ echo "$as_me:$LINENO: checking for dfftw.h" >&5 |
8722 |
< |
echo $ECHO_N "checking for dfftw.h... $ECHO_C" >&6; } |
8723 |
< |
if test "${ac_cv_header_dfftw_h+set}" = set; then |
8724 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8721 |
> |
{ $as_echo "$as_me:$LINENO: checking for dfftw.h" >&5 |
8722 |
> |
$as_echo_n "checking for dfftw.h... " >&6; } |
8723 |
> |
if test "${ac_cv_header_dfftw_h+set}" = set; then |
8724 |
> |
$as_echo_n "(cached) " >&6 |
8725 |
|
fi |
8726 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_dfftw_h" >&5 |
8727 |
< |
echo "${ECHO_T}$ac_cv_header_dfftw_h" >&6; } |
8726 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dfftw_h" >&5 |
8727 |
> |
$as_echo "$ac_cv_header_dfftw_h" >&6; } |
8728 |
|
else |
8729 |
|
# Is the header compilable? |
8730 |
< |
{ echo "$as_me:$LINENO: checking dfftw.h usability" >&5 |
8731 |
< |
echo $ECHO_N "checking dfftw.h usability... $ECHO_C" >&6; } |
8730 |
> |
{ $as_echo "$as_me:$LINENO: checking dfftw.h usability" >&5 |
8731 |
> |
$as_echo_n "checking dfftw.h usability... " >&6; } |
8732 |
|
cat >conftest.$ac_ext <<_ACEOF |
8733 |
|
/* confdefs.h. */ |
8734 |
|
_ACEOF |
8744 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8745 |
|
*) ac_try_echo=$ac_try;; |
8746 |
|
esac |
8747 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8747 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
8748 |
> |
$as_echo "$ac_try_echo") >&5 |
8749 |
|
(eval "$ac_compile") 2>conftest.er1 |
8750 |
|
ac_status=$? |
8751 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8752 |
|
rm -f conftest.er1 |
8753 |
|
cat conftest.err >&5 |
8754 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8754 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8755 |
|
(exit $ac_status); } && { |
8756 |
|
test -z "$ac_c_werror_flag" || |
8757 |
|
test ! -s conftest.err |
8758 |
|
} && test -s conftest.$ac_objext; then |
8759 |
|
ac_header_compiler=yes |
8760 |
|
else |
8761 |
< |
echo "$as_me: failed program was:" >&5 |
8761 |
> |
$as_echo "$as_me: failed program was:" >&5 |
8762 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8763 |
|
|
8764 |
|
ac_header_compiler=no |
8765 |
|
fi |
8766 |
|
|
8767 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8768 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8769 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
8768 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8769 |
> |
$as_echo "$ac_header_compiler" >&6; } |
8770 |
|
|
8771 |
|
# Is the header present? |
8772 |
< |
{ echo "$as_me:$LINENO: checking dfftw.h presence" >&5 |
8773 |
< |
echo $ECHO_N "checking dfftw.h presence... $ECHO_C" >&6; } |
8772 |
> |
{ $as_echo "$as_me:$LINENO: checking dfftw.h presence" >&5 |
8773 |
> |
$as_echo_n "checking dfftw.h presence... " >&6; } |
8774 |
|
cat >conftest.$ac_ext <<_ACEOF |
8775 |
|
/* confdefs.h. */ |
8776 |
|
_ACEOF |
8784 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8785 |
|
*) ac_try_echo=$ac_try;; |
8786 |
|
esac |
8787 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8787 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
8788 |
> |
$as_echo "$ac_try_echo") >&5 |
8789 |
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
8790 |
|
ac_status=$? |
8791 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8792 |
|
rm -f conftest.er1 |
8793 |
|
cat conftest.err >&5 |
8794 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8794 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8795 |
|
(exit $ac_status); } >/dev/null && { |
8796 |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
8797 |
|
test ! -s conftest.err |
8798 |
|
}; then |
8799 |
|
ac_header_preproc=yes |
8800 |
|
else |
8801 |
< |
echo "$as_me: failed program was:" >&5 |
8801 |
> |
$as_echo "$as_me: failed program was:" >&5 |
8802 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8803 |
|
|
8804 |
|
ac_header_preproc=no |
8805 |
|
fi |
8806 |
|
|
8807 |
|
rm -f conftest.err conftest.$ac_ext |
8808 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
8809 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
8808 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
8809 |
> |
$as_echo "$ac_header_preproc" >&6; } |
8810 |
|
|
8811 |
|
# So? What about this header? |
8812 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
8813 |
|
yes:no: ) |
8814 |
< |
{ echo "$as_me:$LINENO: WARNING: dfftw.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
8815 |
< |
echo "$as_me: WARNING: dfftw.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8816 |
< |
{ echo "$as_me:$LINENO: WARNING: dfftw.h: proceeding with the compiler's result" >&5 |
8817 |
< |
echo "$as_me: WARNING: dfftw.h: proceeding with the compiler's result" >&2;} |
8814 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: dfftw.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
8815 |
> |
$as_echo "$as_me: WARNING: dfftw.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8816 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: dfftw.h: proceeding with the compiler's result" >&5 |
8817 |
> |
$as_echo "$as_me: WARNING: dfftw.h: proceeding with the compiler's result" >&2;} |
8818 |
|
ac_header_preproc=yes |
8819 |
|
;; |
8820 |
|
no:yes:* ) |
8821 |
< |
{ echo "$as_me:$LINENO: WARNING: dfftw.h: present but cannot be compiled" >&5 |
8822 |
< |
echo "$as_me: WARNING: dfftw.h: present but cannot be compiled" >&2;} |
8823 |
< |
{ echo "$as_me:$LINENO: WARNING: dfftw.h: check for missing prerequisite headers?" >&5 |
8824 |
< |
echo "$as_me: WARNING: dfftw.h: check for missing prerequisite headers?" >&2;} |
8825 |
< |
{ echo "$as_me:$LINENO: WARNING: dfftw.h: see the Autoconf documentation" >&5 |
8826 |
< |
echo "$as_me: WARNING: dfftw.h: see the Autoconf documentation" >&2;} |
8827 |
< |
{ echo "$as_me:$LINENO: WARNING: dfftw.h: section \"Present But Cannot Be Compiled\"" >&5 |
8828 |
< |
echo "$as_me: WARNING: dfftw.h: section \"Present But Cannot Be Compiled\"" >&2;} |
8829 |
< |
{ echo "$as_me:$LINENO: WARNING: dfftw.h: proceeding with the preprocessor's result" >&5 |
8830 |
< |
echo "$as_me: WARNING: dfftw.h: proceeding with the preprocessor's result" >&2;} |
8831 |
< |
{ echo "$as_me:$LINENO: WARNING: dfftw.h: in the future, the compiler will take precedence" >&5 |
8832 |
< |
echo "$as_me: WARNING: dfftw.h: in the future, the compiler will take precedence" >&2;} |
8821 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: dfftw.h: present but cannot be compiled" >&5 |
8822 |
> |
$as_echo "$as_me: WARNING: dfftw.h: present but cannot be compiled" >&2;} |
8823 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: dfftw.h: check for missing prerequisite headers?" >&5 |
8824 |
> |
$as_echo "$as_me: WARNING: dfftw.h: check for missing prerequisite headers?" >&2;} |
8825 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: dfftw.h: see the Autoconf documentation" >&5 |
8826 |
> |
$as_echo "$as_me: WARNING: dfftw.h: see the Autoconf documentation" >&2;} |
8827 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: dfftw.h: section \"Present But Cannot Be Compiled\"" >&5 |
8828 |
> |
$as_echo "$as_me: WARNING: dfftw.h: section \"Present But Cannot Be Compiled\"" >&2;} |
8829 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: dfftw.h: proceeding with the preprocessor's result" >&5 |
8830 |
> |
$as_echo "$as_me: WARNING: dfftw.h: proceeding with the preprocessor's result" >&2;} |
8831 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: dfftw.h: in the future, the compiler will take precedence" >&5 |
8832 |
> |
$as_echo "$as_me: WARNING: dfftw.h: in the future, the compiler will take precedence" >&2;} |
8833 |
|
( cat <<\_ASBOX |
8834 |
|
## ------------------------------ ## |
8835 |
|
## Report this to gezelter@nd.edu ## |
8838 |
|
) | sed "s/^/$as_me: WARNING: /" >&2 |
8839 |
|
;; |
8840 |
|
esac |
8841 |
< |
{ echo "$as_me:$LINENO: checking for dfftw.h" >&5 |
8842 |
< |
echo $ECHO_N "checking for dfftw.h... $ECHO_C" >&6; } |
8841 |
> |
{ $as_echo "$as_me:$LINENO: checking for dfftw.h" >&5 |
8842 |
> |
$as_echo_n "checking for dfftw.h... " >&6; } |
8843 |
|
if test "${ac_cv_header_dfftw_h+set}" = set; then |
8844 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8844 |
> |
$as_echo_n "(cached) " >&6 |
8845 |
|
else |
8846 |
|
ac_cv_header_dfftw_h=$ac_header_preproc |
8847 |
|
fi |
8848 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_dfftw_h" >&5 |
8849 |
< |
echo "${ECHO_T}$ac_cv_header_dfftw_h" >&6; } |
8848 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dfftw_h" >&5 |
8849 |
> |
$as_echo "$ac_cv_header_dfftw_h" >&6; } |
8850 |
|
|
8851 |
|
fi |
8852 |
|
if test $ac_cv_header_dfftw_h = yes; then |
8894 |
|
FFTW_LIB_DIR="${FFTW_HOME}/lib" |
8895 |
|
FFTW_LIBS="-ldfftw" |
8896 |
|
else |
8897 |
< |
{ echo "$as_me:$LINENO: checking fftw in ${FFTW_HOME}" >&5 |
8898 |
< |
echo $ECHO_N "checking fftw in ${FFTW_HOME}... $ECHO_C" >&6; } |
8897 |
> |
{ $as_echo "$as_me:$LINENO: checking fftw in ${FFTW_HOME}" >&5 |
8898 |
> |
$as_echo_n "checking fftw in ${FFTW_HOME}... " >&6; } |
8899 |
|
FFTW_INC_DIR= |
8900 |
|
FFTW_LIB_DIR= |
8901 |
|
FFTW_LIBS= |
8902 |
|
LDFLAGS="$FFTW_OLD_LDFLAGS" |
8903 |
|
CFLAGS="$FFTW_OLD_CFLAGS" |
8904 |
< |
{ echo "$as_me:$LINENO: result: failed" >&5 |
8905 |
< |
echo "${ECHO_T}failed" >&6; } |
8904 |
> |
{ $as_echo "$as_me:$LINENO: result: failed" >&5 |
8905 |
> |
$as_echo "failed" >&6; } |
8906 |
|
echo "" |
8907 |
|
echo "*********************************************************" |
8908 |
|
echo "* WARNING: Could not find a working FFTW installation *" |
8941 |
|
then |
8942 |
|
QHULL_HOME="$qhull_dir" |
8943 |
|
else |
8944 |
< |
{ echo "$as_me:$LINENO: WARNING: Sorry, $qhull_dir does not exist, checking usual places" >&5 |
8945 |
< |
echo "$as_me: WARNING: Sorry, $qhull_dir does not exist, checking usual places" >&2;} |
8944 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: Sorry, $qhull_dir does not exist, checking usual places" >&5 |
8945 |
> |
$as_echo "$as_me: WARNING: Sorry, $qhull_dir does not exist, checking usual places" >&2;} |
8946 |
|
QHULL_HOME=/usr/local |
8947 |
|
if test ! -f "${QHULL_HOME}/include/qhull/qhull.h" |
8948 |
|
then |
8955 |
|
# |
8956 |
|
if test -n "${QHULL_HOME}" |
8957 |
|
then |
9014 |
– |
QHULL_OLD_LDFLAGS=$LDFLAGS |
9015 |
– |
QHULL_OLD_CFLAGS=$CFLAGS |
9016 |
– |
LDFLAGS="$LDFLAGS -L${QHULL_HOME}/lib" |
9017 |
– |
CFLAGS="$CFLAGS -I${QHULL_HOME}/include" |
8958 |
|
|
8959 |
|
ac_ext=c |
8960 |
|
ac_cpp='$CPP $CPPFLAGS' |
8962 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
8963 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
8964 |
|
|
8965 |
< |
{ echo "$as_me:$LINENO: checking for qh_qhull in -lqhull" >&5 |
8966 |
< |
echo $ECHO_N "checking for qh_qhull in -lqhull... $ECHO_C" >&6; } |
8967 |
< |
if test "${ac_cv_lib_qhull_qh_qhull+set}" = set; then |
8968 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8969 |
< |
else |
8970 |
< |
ac_check_lib_save_LIBS=$LIBS |
9031 |
< |
LIBS="-lqhull $LIBS" |
9032 |
< |
cat >conftest.$ac_ext <<_ACEOF |
9033 |
< |
/* confdefs.h. */ |
9034 |
< |
_ACEOF |
9035 |
< |
cat confdefs.h >>conftest.$ac_ext |
9036 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
9037 |
< |
/* end confdefs.h. */ |
9038 |
< |
|
9039 |
< |
/* Override any GCC internal prototype to avoid an error. |
9040 |
< |
Use char because int might match the return type of a GCC |
9041 |
< |
builtin and then its argument prototype would still apply. */ |
9042 |
< |
#ifdef __cplusplus |
9043 |
< |
extern "C" |
9044 |
< |
#endif |
9045 |
< |
char qh_qhull (); |
9046 |
< |
#ifdef FC_DUMMY_MAIN |
9047 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
9048 |
< |
# ifdef __cplusplus |
9049 |
< |
extern "C" |
9050 |
< |
# endif |
9051 |
< |
int FC_DUMMY_MAIN() { return 1; } |
9052 |
< |
#endif |
9053 |
< |
#endif |
9054 |
< |
int |
9055 |
< |
main () |
9056 |
< |
{ |
9057 |
< |
return qh_qhull (); |
9058 |
< |
; |
9059 |
< |
return 0; |
9060 |
< |
} |
9061 |
< |
_ACEOF |
9062 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
9063 |
< |
if { (ac_try="$ac_link" |
9064 |
< |
case "(($ac_try" in |
9065 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9066 |
< |
*) ac_try_echo=$ac_try;; |
9067 |
< |
esac |
9068 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9069 |
< |
(eval "$ac_link") 2>conftest.er1 |
9070 |
< |
ac_status=$? |
9071 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
9072 |
< |
rm -f conftest.er1 |
9073 |
< |
cat conftest.err >&5 |
9074 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9075 |
< |
(exit $ac_status); } && { |
9076 |
< |
test -z "$ac_c_werror_flag" || |
9077 |
< |
test ! -s conftest.err |
9078 |
< |
} && test -s conftest$ac_exeext && |
9079 |
< |
$as_test_x conftest$ac_exeext; then |
9080 |
< |
ac_cv_lib_qhull_qh_qhull=yes |
9081 |
< |
else |
9082 |
< |
echo "$as_me: failed program was:" >&5 |
9083 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
9084 |
< |
|
9085 |
< |
ac_cv_lib_qhull_qh_qhull=no |
9086 |
< |
fi |
9087 |
< |
|
9088 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
9089 |
< |
conftest$ac_exeext conftest.$ac_ext |
9090 |
< |
LIBS=$ac_check_lib_save_LIBS |
9091 |
< |
fi |
9092 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_qhull_qh_qhull" >&5 |
9093 |
< |
echo "${ECHO_T}$ac_cv_lib_qhull_qh_qhull" >&6; } |
9094 |
< |
if test $ac_cv_lib_qhull_qh_qhull = yes; then |
9095 |
< |
qhull_cv_libqhull=yes |
9096 |
< |
else |
9097 |
< |
qhull_cv_libqhull=no |
9098 |
< |
fi |
9099 |
< |
|
8965 |
> |
QHULL_OLD_LDFLAGS=$LDFLAGS |
8966 |
> |
QHULL_OLD_CFLAGS=$CFLAGS |
8967 |
> |
QHULL_OLD_CPPFLAGS=$CPPFLAGS |
8968 |
> |
LDFLAGS="$LDFLAGS -L${QHULL_HOME}/lib" |
8969 |
> |
CFLAGS="$CFLAGS -I${QHULL_HOME}/include" |
8970 |
> |
CPPFLAGS="$CPPFLAGS -I${QHULL_HOME}/include" |
8971 |
|
if test "${ac_cv_header_qhull_qhull_h+set}" = set; then |
8972 |
< |
{ echo "$as_me:$LINENO: checking for qhull/qhull.h" >&5 |
8973 |
< |
echo $ECHO_N "checking for qhull/qhull.h... $ECHO_C" >&6; } |
8972 |
> |
{ $as_echo "$as_me:$LINENO: checking for qhull/qhull.h" >&5 |
8973 |
> |
$as_echo_n "checking for qhull/qhull.h... " >&6; } |
8974 |
|
if test "${ac_cv_header_qhull_qhull_h+set}" = set; then |
8975 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8975 |
> |
$as_echo_n "(cached) " >&6 |
8976 |
|
fi |
8977 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_qhull_qhull_h" >&5 |
8978 |
< |
echo "${ECHO_T}$ac_cv_header_qhull_qhull_h" >&6; } |
8977 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_qhull_qhull_h" >&5 |
8978 |
> |
$as_echo "$ac_cv_header_qhull_qhull_h" >&6; } |
8979 |
|
else |
8980 |
|
# Is the header compilable? |
8981 |
< |
{ echo "$as_me:$LINENO: checking qhull/qhull.h usability" >&5 |
8982 |
< |
echo $ECHO_N "checking qhull/qhull.h usability... $ECHO_C" >&6; } |
8981 |
> |
{ $as_echo "$as_me:$LINENO: checking qhull/qhull.h usability" >&5 |
8982 |
> |
$as_echo_n "checking qhull/qhull.h usability... " >&6; } |
8983 |
|
cat >conftest.$ac_ext <<_ACEOF |
8984 |
|
/* confdefs.h. */ |
8985 |
|
_ACEOF |
8995 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8996 |
|
*) ac_try_echo=$ac_try;; |
8997 |
|
esac |
8998 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8998 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
8999 |
> |
$as_echo "$ac_try_echo") >&5 |
9000 |
|
(eval "$ac_compile") 2>conftest.er1 |
9001 |
|
ac_status=$? |
9002 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
9003 |
|
rm -f conftest.er1 |
9004 |
|
cat conftest.err >&5 |
9005 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9005 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9006 |
|
(exit $ac_status); } && { |
9007 |
|
test -z "$ac_c_werror_flag" || |
9008 |
|
test ! -s conftest.err |
9009 |
|
} && test -s conftest.$ac_objext; then |
9010 |
|
ac_header_compiler=yes |
9011 |
|
else |
9012 |
< |
echo "$as_me: failed program was:" >&5 |
9012 |
> |
$as_echo "$as_me: failed program was:" >&5 |
9013 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9014 |
|
|
9015 |
|
ac_header_compiler=no |
9016 |
|
fi |
9017 |
|
|
9018 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9019 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
9020 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
9019 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
9020 |
> |
$as_echo "$ac_header_compiler" >&6; } |
9021 |
|
|
9022 |
|
# Is the header present? |
9023 |
< |
{ echo "$as_me:$LINENO: checking qhull/qhull.h presence" >&5 |
9024 |
< |
echo $ECHO_N "checking qhull/qhull.h presence... $ECHO_C" >&6; } |
9023 |
> |
{ $as_echo "$as_me:$LINENO: checking qhull/qhull.h presence" >&5 |
9024 |
> |
$as_echo_n "checking qhull/qhull.h presence... " >&6; } |
9025 |
|
cat >conftest.$ac_ext <<_ACEOF |
9026 |
|
/* confdefs.h. */ |
9027 |
|
_ACEOF |
9035 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9036 |
|
*) ac_try_echo=$ac_try;; |
9037 |
|
esac |
9038 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9038 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
9039 |
> |
$as_echo "$ac_try_echo") >&5 |
9040 |
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
9041 |
|
ac_status=$? |
9042 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
9043 |
|
rm -f conftest.er1 |
9044 |
|
cat conftest.err >&5 |
9045 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9045 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9046 |
|
(exit $ac_status); } >/dev/null && { |
9047 |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
9048 |
|
test ! -s conftest.err |
9049 |
|
}; then |
9050 |
|
ac_header_preproc=yes |
9051 |
|
else |
9052 |
< |
echo "$as_me: failed program was:" >&5 |
9052 |
> |
$as_echo "$as_me: failed program was:" >&5 |
9053 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9054 |
|
|
9055 |
|
ac_header_preproc=no |
9056 |
|
fi |
9057 |
|
|
9058 |
|
rm -f conftest.err conftest.$ac_ext |
9059 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
9060 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
9059 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
9060 |
> |
$as_echo "$ac_header_preproc" >&6; } |
9061 |
|
|
9062 |
|
# So? What about this header? |
9063 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
9064 |
|
yes:no: ) |
9065 |
< |
{ echo "$as_me:$LINENO: WARNING: qhull/qhull.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
9066 |
< |
echo "$as_me: WARNING: qhull/qhull.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
9067 |
< |
{ echo "$as_me:$LINENO: WARNING: qhull/qhull.h: proceeding with the compiler's result" >&5 |
9068 |
< |
echo "$as_me: WARNING: qhull/qhull.h: proceeding with the compiler's result" >&2;} |
9065 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: qhull/qhull.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
9066 |
> |
$as_echo "$as_me: WARNING: qhull/qhull.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
9067 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: qhull/qhull.h: proceeding with the compiler's result" >&5 |
9068 |
> |
$as_echo "$as_me: WARNING: qhull/qhull.h: proceeding with the compiler's result" >&2;} |
9069 |
|
ac_header_preproc=yes |
9070 |
|
;; |
9071 |
|
no:yes:* ) |
9072 |
< |
{ echo "$as_me:$LINENO: WARNING: qhull/qhull.h: present but cannot be compiled" >&5 |
9073 |
< |
echo "$as_me: WARNING: qhull/qhull.h: present but cannot be compiled" >&2;} |
9074 |
< |
{ echo "$as_me:$LINENO: WARNING: qhull/qhull.h: check for missing prerequisite headers?" >&5 |
9075 |
< |
echo "$as_me: WARNING: qhull/qhull.h: check for missing prerequisite headers?" >&2;} |
9076 |
< |
{ echo "$as_me:$LINENO: WARNING: qhull/qhull.h: see the Autoconf documentation" >&5 |
9077 |
< |
echo "$as_me: WARNING: qhull/qhull.h: see the Autoconf documentation" >&2;} |
9078 |
< |
{ echo "$as_me:$LINENO: WARNING: qhull/qhull.h: section \"Present But Cannot Be Compiled\"" >&5 |
9079 |
< |
echo "$as_me: WARNING: qhull/qhull.h: section \"Present But Cannot Be Compiled\"" >&2;} |
9080 |
< |
{ echo "$as_me:$LINENO: WARNING: qhull/qhull.h: proceeding with the preprocessor's result" >&5 |
9081 |
< |
echo "$as_me: WARNING: qhull/qhull.h: proceeding with the preprocessor's result" >&2;} |
9082 |
< |
{ echo "$as_me:$LINENO: WARNING: qhull/qhull.h: in the future, the compiler will take precedence" >&5 |
9083 |
< |
echo "$as_me: WARNING: qhull/qhull.h: in the future, the compiler will take precedence" >&2;} |
9072 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: qhull/qhull.h: present but cannot be compiled" >&5 |
9073 |
> |
$as_echo "$as_me: WARNING: qhull/qhull.h: present but cannot be compiled" >&2;} |
9074 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: qhull/qhull.h: check for missing prerequisite headers?" >&5 |
9075 |
> |
$as_echo "$as_me: WARNING: qhull/qhull.h: check for missing prerequisite headers?" >&2;} |
9076 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: qhull/qhull.h: see the Autoconf documentation" >&5 |
9077 |
> |
$as_echo "$as_me: WARNING: qhull/qhull.h: see the Autoconf documentation" >&2;} |
9078 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: qhull/qhull.h: section \"Present But Cannot Be Compiled\"" >&5 |
9079 |
> |
$as_echo "$as_me: WARNING: qhull/qhull.h: section \"Present But Cannot Be Compiled\"" >&2;} |
9080 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: qhull/qhull.h: proceeding with the preprocessor's result" >&5 |
9081 |
> |
$as_echo "$as_me: WARNING: qhull/qhull.h: proceeding with the preprocessor's result" >&2;} |
9082 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: qhull/qhull.h: in the future, the compiler will take precedence" >&5 |
9083 |
> |
$as_echo "$as_me: WARNING: qhull/qhull.h: in the future, the compiler will take precedence" >&2;} |
9084 |
|
( cat <<\_ASBOX |
9085 |
|
## ------------------------------ ## |
9086 |
|
## Report this to gezelter@nd.edu ## |
9089 |
|
) | sed "s/^/$as_me: WARNING: /" >&2 |
9090 |
|
;; |
9091 |
|
esac |
9092 |
< |
{ echo "$as_me:$LINENO: checking for qhull/qhull.h" >&5 |
9093 |
< |
echo $ECHO_N "checking for qhull/qhull.h... $ECHO_C" >&6; } |
9092 |
> |
{ $as_echo "$as_me:$LINENO: checking for qhull/qhull.h" >&5 |
9093 |
> |
$as_echo_n "checking for qhull/qhull.h... " >&6; } |
9094 |
|
if test "${ac_cv_header_qhull_qhull_h+set}" = set; then |
9095 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9095 |
> |
$as_echo_n "(cached) " >&6 |
9096 |
|
else |
9097 |
|
ac_cv_header_qhull_qhull_h=$ac_header_preproc |
9098 |
|
fi |
9099 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_qhull_qhull_h" >&5 |
9100 |
< |
echo "${ECHO_T}$ac_cv_header_qhull_qhull_h" >&6; } |
9099 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_qhull_qhull_h" >&5 |
9100 |
> |
$as_echo "$ac_cv_header_qhull_qhull_h" >&6; } |
9101 |
|
|
9102 |
|
fi |
9103 |
|
if test $ac_cv_header_qhull_qhull_h = yes; then |
9107 |
|
fi |
9108 |
|
|
9109 |
|
|
9110 |
+ |
{ $as_echo "$as_me:$LINENO: checking for qh_qhull in -lqhull" >&5 |
9111 |
+ |
$as_echo_n "checking for qh_qhull in -lqhull... " >&6; } |
9112 |
+ |
if test "${ac_cv_lib_qhull_qh_qhull+set}" = set; then |
9113 |
+ |
$as_echo_n "(cached) " >&6 |
9114 |
+ |
else |
9115 |
+ |
ac_check_lib_save_LIBS=$LIBS |
9116 |
+ |
LIBS="-lqhull $LIBS" |
9117 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
9118 |
+ |
/* confdefs.h. */ |
9119 |
+ |
_ACEOF |
9120 |
+ |
cat confdefs.h >>conftest.$ac_ext |
9121 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
9122 |
+ |
/* end confdefs.h. */ |
9123 |
+ |
|
9124 |
+ |
/* Override any GCC internal prototype to avoid an error. |
9125 |
+ |
Use char because int might match the return type of a GCC |
9126 |
+ |
builtin and then its argument prototype would still apply. */ |
9127 |
+ |
#ifdef __cplusplus |
9128 |
+ |
extern "C" |
9129 |
+ |
#endif |
9130 |
+ |
char qh_qhull (); |
9131 |
+ |
#ifdef FC_DUMMY_MAIN |
9132 |
+ |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
9133 |
+ |
# ifdef __cplusplus |
9134 |
+ |
extern "C" |
9135 |
+ |
# endif |
9136 |
+ |
int FC_DUMMY_MAIN() { return 1; } |
9137 |
+ |
#endif |
9138 |
+ |
#endif |
9139 |
+ |
int |
9140 |
+ |
main () |
9141 |
+ |
{ |
9142 |
+ |
return qh_qhull (); |
9143 |
+ |
; |
9144 |
+ |
return 0; |
9145 |
+ |
} |
9146 |
+ |
_ACEOF |
9147 |
+ |
rm -f conftest.$ac_objext conftest$ac_exeext |
9148 |
+ |
if { (ac_try="$ac_link" |
9149 |
+ |
case "(($ac_try" in |
9150 |
+ |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9151 |
+ |
*) ac_try_echo=$ac_try;; |
9152 |
+ |
esac |
9153 |
+ |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
9154 |
+ |
$as_echo "$ac_try_echo") >&5 |
9155 |
+ |
(eval "$ac_link") 2>conftest.er1 |
9156 |
+ |
ac_status=$? |
9157 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
9158 |
+ |
rm -f conftest.er1 |
9159 |
+ |
cat conftest.err >&5 |
9160 |
+ |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9161 |
+ |
(exit $ac_status); } && { |
9162 |
+ |
test -z "$ac_c_werror_flag" || |
9163 |
+ |
test ! -s conftest.err |
9164 |
+ |
} && test -s conftest$ac_exeext && { |
9165 |
+ |
test "$cross_compiling" = yes || |
9166 |
+ |
$as_test_x conftest$ac_exeext |
9167 |
+ |
}; then |
9168 |
+ |
ac_cv_lib_qhull_qh_qhull=yes |
9169 |
+ |
else |
9170 |
+ |
$as_echo "$as_me: failed program was:" >&5 |
9171 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
9172 |
+ |
|
9173 |
+ |
ac_cv_lib_qhull_qh_qhull=no |
9174 |
+ |
fi |
9175 |
+ |
|
9176 |
+ |
rm -rf conftest.dSYM |
9177 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
9178 |
+ |
conftest$ac_exeext conftest.$ac_ext |
9179 |
+ |
LIBS=$ac_check_lib_save_LIBS |
9180 |
+ |
fi |
9181 |
+ |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_qhull_qh_qhull" >&5 |
9182 |
+ |
$as_echo "$ac_cv_lib_qhull_qh_qhull" >&6; } |
9183 |
+ |
if test $ac_cv_lib_qhull_qh_qhull = yes; then |
9184 |
+ |
qhull_cv_libqhull=yes |
9185 |
+ |
else |
9186 |
+ |
qhull_cv_libqhull=no |
9187 |
+ |
fi |
9188 |
+ |
|
9189 |
+ |
LDFLAGS="$QHULL_OLD_LDFLAGS" |
9190 |
+ |
CFLAGS="$QHULL_OLD_CFLAGS" |
9191 |
+ |
CPPFLAGS="$QHULL_OLD_CPPFLAGS" |
9192 |
|
ac_ext=c |
9193 |
|
ac_cpp='$CPP $CPPFLAGS' |
9194 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
9212 |
|
QHULL_LIB_DIR="${QHULL_HOME}/lib" |
9213 |
|
QHULL="-lqhull" |
9214 |
|
else |
9215 |
< |
{ echo "$as_me:$LINENO: checking qhull in ${QHULL_HOME}" >&5 |
9216 |
< |
echo $ECHO_N "checking qhull in ${QHULL_HOME}... $ECHO_C" >&6; } |
9215 |
> |
{ $as_echo "$as_me:$LINENO: checking qhull in ${QHULL_HOME}" >&5 |
9216 |
> |
$as_echo_n "checking qhull in ${QHULL_HOME}... " >&6; } |
9217 |
|
QHULL_INC_DIR= |
9218 |
|
QHULL_LIB_DIR= |
9219 |
|
QHULL= |
9220 |
|
USE_QHULL=no |
9221 |
< |
LDFLAGS="$QHULL_OLD_LDFLAGS" |
9222 |
< |
CFLAGS="$QHULL_OLD_CFLAGS" |
9268 |
< |
{ echo "$as_me:$LINENO: result: failed" >&5 |
9269 |
< |
echo "${ECHO_T}failed" >&6; } |
9221 |
> |
{ $as_echo "$as_me:$LINENO: result: failed" >&5 |
9222 |
> |
$as_echo "failed" >&6; } |
9223 |
|
echo "" |
9224 |
|
echo "*********************************************************" |
9225 |
|
echo "* WARNING: Could not find a working qhull installation *" |
9244 |
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
9245 |
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
9246 |
|
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
9247 |
< |
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
9248 |
< |
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } |
9247 |
> |
{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
9248 |
> |
$as_echo_n "checking how to run the C++ preprocessor... " >&6; } |
9249 |
|
if test -z "$CXXCPP"; then |
9250 |
|
if test "${ac_cv_prog_CXXCPP+set}" = set; then |
9251 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9251 |
> |
$as_echo_n "(cached) " >&6 |
9252 |
|
else |
9253 |
|
# Double quotes because CXXCPP needs to be expanded |
9254 |
|
for CXXCPP in "$CXX -E" "/lib/cpp" |
9280 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9281 |
|
*) ac_try_echo=$ac_try;; |
9282 |
|
esac |
9283 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9283 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
9284 |
> |
$as_echo "$ac_try_echo") >&5 |
9285 |
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
9286 |
|
ac_status=$? |
9287 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
9288 |
|
rm -f conftest.er1 |
9289 |
|
cat conftest.err >&5 |
9290 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9290 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9291 |
|
(exit $ac_status); } >/dev/null && { |
9292 |
|
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
9293 |
|
test ! -s conftest.err |
9294 |
|
}; then |
9295 |
|
: |
9296 |
|
else |
9297 |
< |
echo "$as_me: failed program was:" >&5 |
9297 |
> |
$as_echo "$as_me: failed program was:" >&5 |
9298 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9299 |
|
|
9300 |
|
# Broken: fails on valid input. |
9318 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9319 |
|
*) ac_try_echo=$ac_try;; |
9320 |
|
esac |
9321 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9321 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
9322 |
> |
$as_echo "$ac_try_echo") >&5 |
9323 |
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
9324 |
|
ac_status=$? |
9325 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
9326 |
|
rm -f conftest.er1 |
9327 |
|
cat conftest.err >&5 |
9328 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9328 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9329 |
|
(exit $ac_status); } >/dev/null && { |
9330 |
|
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
9331 |
|
test ! -s conftest.err |
9333 |
|
# Broken: success on invalid input. |
9334 |
|
continue |
9335 |
|
else |
9336 |
< |
echo "$as_me: failed program was:" >&5 |
9336 |
> |
$as_echo "$as_me: failed program was:" >&5 |
9337 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9338 |
|
|
9339 |
|
# Passes both tests. |
9358 |
|
else |
9359 |
|
ac_cv_prog_CXXCPP=$CXXCPP |
9360 |
|
fi |
9361 |
< |
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
9362 |
< |
echo "${ECHO_T}$CXXCPP" >&6; } |
9361 |
> |
{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
9362 |
> |
$as_echo "$CXXCPP" >&6; } |
9363 |
|
ac_preproc_ok=false |
9364 |
|
for ac_cxx_preproc_warn_flag in '' yes |
9365 |
|
do |
9387 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9388 |
|
*) ac_try_echo=$ac_try;; |
9389 |
|
esac |
9390 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9390 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
9391 |
> |
$as_echo "$ac_try_echo") >&5 |
9392 |
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
9393 |
|
ac_status=$? |
9394 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
9395 |
|
rm -f conftest.er1 |
9396 |
|
cat conftest.err >&5 |
9397 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9397 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9398 |
|
(exit $ac_status); } >/dev/null && { |
9399 |
|
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
9400 |
|
test ! -s conftest.err |
9401 |
|
}; then |
9402 |
|
: |
9403 |
|
else |
9404 |
< |
echo "$as_me: failed program was:" >&5 |
9404 |
> |
$as_echo "$as_me: failed program was:" >&5 |
9405 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9406 |
|
|
9407 |
|
# Broken: fails on valid input. |
9425 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9426 |
|
*) ac_try_echo=$ac_try;; |
9427 |
|
esac |
9428 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9428 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
9429 |
> |
$as_echo "$ac_try_echo") >&5 |
9430 |
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
9431 |
|
ac_status=$? |
9432 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
9433 |
|
rm -f conftest.er1 |
9434 |
|
cat conftest.err >&5 |
9435 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9435 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9436 |
|
(exit $ac_status); } >/dev/null && { |
9437 |
|
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
9438 |
|
test ! -s conftest.err |
9440 |
|
# Broken: success on invalid input. |
9441 |
|
continue |
9442 |
|
else |
9443 |
< |
echo "$as_me: failed program was:" >&5 |
9443 |
> |
$as_echo "$as_me: failed program was:" >&5 |
9444 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9445 |
|
|
9446 |
|
# Passes both tests. |
9456 |
|
if $ac_preproc_ok; then |
9457 |
|
: |
9458 |
|
else |
9459 |
< |
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
9459 |
> |
{ { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
9460 |
|
See \`config.log' for more details." >&5 |
9461 |
< |
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
9461 |
> |
$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
9462 |
|
See \`config.log' for more details." >&2;} |
9463 |
|
{ (exit 1); exit 1; }; } |
9464 |
|
fi |
9488 |
|
then |
9489 |
|
OPENBABEL_HOME="$openbabel_dir" |
9490 |
|
else |
9491 |
< |
{ echo "$as_me:$LINENO: WARNING: Sorry, $openbabel_dir does not exist, checking usual places" >&5 |
9492 |
< |
echo "$as_me: WARNING: Sorry, $openbabel_dir does not exist, checking usual places" >&2;} |
9491 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: Sorry, $openbabel_dir does not exist, checking usual places" >&5 |
9492 |
> |
$as_echo "$as_me: WARNING: Sorry, $openbabel_dir does not exist, checking usual places" >&2;} |
9493 |
|
OPENBABEL_HOME=/usr/local |
9494 |
|
if test ! -f "${OPENBABEL_HOME}/include/openbabel-2.0/openbabel/babelconfig.h" -a -f "${OPENBABEL_HOME}/include/openbabel-2.0/openbabel/obconversion.h" |
9495 |
|
then |
9514 |
|
LDFLAGS="$LDFLAGS -L${OPENBABEL_HOME}/lib -lopenbabel" |
9515 |
|
CPPFLAGS="$CPPFLAGS -I${OPENBABEL_HOME}/include/openbabel-2.0" |
9516 |
|
if test "${ac_cv_header_openbabel_babelconfig_h+set}" = set; then |
9517 |
< |
{ echo "$as_me:$LINENO: checking for openbabel/babelconfig.h" >&5 |
9518 |
< |
echo $ECHO_N "checking for openbabel/babelconfig.h... $ECHO_C" >&6; } |
9517 |
> |
{ $as_echo "$as_me:$LINENO: checking for openbabel/babelconfig.h" >&5 |
9518 |
> |
$as_echo_n "checking for openbabel/babelconfig.h... " >&6; } |
9519 |
|
if test "${ac_cv_header_openbabel_babelconfig_h+set}" = set; then |
9520 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9520 |
> |
$as_echo_n "(cached) " >&6 |
9521 |
|
fi |
9522 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_openbabel_babelconfig_h" >&5 |
9523 |
< |
echo "${ECHO_T}$ac_cv_header_openbabel_babelconfig_h" >&6; } |
9522 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_openbabel_babelconfig_h" >&5 |
9523 |
> |
$as_echo "$ac_cv_header_openbabel_babelconfig_h" >&6; } |
9524 |
|
else |
9525 |
|
# Is the header compilable? |
9526 |
< |
{ echo "$as_me:$LINENO: checking openbabel/babelconfig.h usability" >&5 |
9527 |
< |
echo $ECHO_N "checking openbabel/babelconfig.h usability... $ECHO_C" >&6; } |
9526 |
> |
{ $as_echo "$as_me:$LINENO: checking openbabel/babelconfig.h usability" >&5 |
9527 |
> |
$as_echo_n "checking openbabel/babelconfig.h usability... " >&6; } |
9528 |
|
cat >conftest.$ac_ext <<_ACEOF |
9529 |
|
/* confdefs.h. */ |
9530 |
|
_ACEOF |
9540 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9541 |
|
*) ac_try_echo=$ac_try;; |
9542 |
|
esac |
9543 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9543 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
9544 |
> |
$as_echo "$ac_try_echo") >&5 |
9545 |
|
(eval "$ac_compile") 2>conftest.er1 |
9546 |
|
ac_status=$? |
9547 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
9548 |
|
rm -f conftest.er1 |
9549 |
|
cat conftest.err >&5 |
9550 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9550 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9551 |
|
(exit $ac_status); } && { |
9552 |
|
test -z "$ac_cxx_werror_flag" || |
9553 |
|
test ! -s conftest.err |
9554 |
|
} && test -s conftest.$ac_objext; then |
9555 |
|
ac_header_compiler=yes |
9556 |
|
else |
9557 |
< |
echo "$as_me: failed program was:" >&5 |
9557 |
> |
$as_echo "$as_me: failed program was:" >&5 |
9558 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9559 |
|
|
9560 |
|
ac_header_compiler=no |
9561 |
|
fi |
9562 |
|
|
9563 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9564 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
9565 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
9564 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
9565 |
> |
$as_echo "$ac_header_compiler" >&6; } |
9566 |
|
|
9567 |
|
# Is the header present? |
9568 |
< |
{ echo "$as_me:$LINENO: checking openbabel/babelconfig.h presence" >&5 |
9569 |
< |
echo $ECHO_N "checking openbabel/babelconfig.h presence... $ECHO_C" >&6; } |
9568 |
> |
{ $as_echo "$as_me:$LINENO: checking openbabel/babelconfig.h presence" >&5 |
9569 |
> |
$as_echo_n "checking openbabel/babelconfig.h presence... " >&6; } |
9570 |
|
cat >conftest.$ac_ext <<_ACEOF |
9571 |
|
/* confdefs.h. */ |
9572 |
|
_ACEOF |
9580 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9581 |
|
*) ac_try_echo=$ac_try;; |
9582 |
|
esac |
9583 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9583 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
9584 |
> |
$as_echo "$ac_try_echo") >&5 |
9585 |
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
9586 |
|
ac_status=$? |
9587 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
9588 |
|
rm -f conftest.er1 |
9589 |
|
cat conftest.err >&5 |
9590 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9590 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9591 |
|
(exit $ac_status); } >/dev/null && { |
9592 |
|
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
9593 |
|
test ! -s conftest.err |
9594 |
|
}; then |
9595 |
|
ac_header_preproc=yes |
9596 |
|
else |
9597 |
< |
echo "$as_me: failed program was:" >&5 |
9597 |
> |
$as_echo "$as_me: failed program was:" >&5 |
9598 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9599 |
|
|
9600 |
|
ac_header_preproc=no |
9601 |
|
fi |
9602 |
|
|
9603 |
|
rm -f conftest.err conftest.$ac_ext |
9604 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
9605 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
9604 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
9605 |
> |
$as_echo "$ac_header_preproc" >&6; } |
9606 |
|
|
9607 |
|
# So? What about this header? |
9608 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
9609 |
|
yes:no: ) |
9610 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
9611 |
< |
echo "$as_me: WARNING: openbabel/babelconfig.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
9612 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: proceeding with the compiler's result" >&5 |
9613 |
< |
echo "$as_me: WARNING: openbabel/babelconfig.h: proceeding with the compiler's result" >&2;} |
9610 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
9611 |
> |
$as_echo "$as_me: WARNING: openbabel/babelconfig.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
9612 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: proceeding with the compiler's result" >&5 |
9613 |
> |
$as_echo "$as_me: WARNING: openbabel/babelconfig.h: proceeding with the compiler's result" >&2;} |
9614 |
|
ac_header_preproc=yes |
9615 |
|
;; |
9616 |
|
no:yes:* ) |
9617 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: present but cannot be compiled" >&5 |
9618 |
< |
echo "$as_me: WARNING: openbabel/babelconfig.h: present but cannot be compiled" >&2;} |
9619 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: check for missing prerequisite headers?" >&5 |
9620 |
< |
echo "$as_me: WARNING: openbabel/babelconfig.h: check for missing prerequisite headers?" >&2;} |
9621 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: see the Autoconf documentation" >&5 |
9622 |
< |
echo "$as_me: WARNING: openbabel/babelconfig.h: see the Autoconf documentation" >&2;} |
9623 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: section \"Present But Cannot Be Compiled\"" >&5 |
9624 |
< |
echo "$as_me: WARNING: openbabel/babelconfig.h: section \"Present But Cannot Be Compiled\"" >&2;} |
9625 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: proceeding with the preprocessor's result" >&5 |
9626 |
< |
echo "$as_me: WARNING: openbabel/babelconfig.h: proceeding with the preprocessor's result" >&2;} |
9627 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: in the future, the compiler will take precedence" >&5 |
9628 |
< |
echo "$as_me: WARNING: openbabel/babelconfig.h: in the future, the compiler will take precedence" >&2;} |
9617 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: present but cannot be compiled" >&5 |
9618 |
> |
$as_echo "$as_me: WARNING: openbabel/babelconfig.h: present but cannot be compiled" >&2;} |
9619 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: check for missing prerequisite headers?" >&5 |
9620 |
> |
$as_echo "$as_me: WARNING: openbabel/babelconfig.h: check for missing prerequisite headers?" >&2;} |
9621 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: see the Autoconf documentation" >&5 |
9622 |
> |
$as_echo "$as_me: WARNING: openbabel/babelconfig.h: see the Autoconf documentation" >&2;} |
9623 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: section \"Present But Cannot Be Compiled\"" >&5 |
9624 |
> |
$as_echo "$as_me: WARNING: openbabel/babelconfig.h: section \"Present But Cannot Be Compiled\"" >&2;} |
9625 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: proceeding with the preprocessor's result" >&5 |
9626 |
> |
$as_echo "$as_me: WARNING: openbabel/babelconfig.h: proceeding with the preprocessor's result" >&2;} |
9627 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: in the future, the compiler will take precedence" >&5 |
9628 |
> |
$as_echo "$as_me: WARNING: openbabel/babelconfig.h: in the future, the compiler will take precedence" >&2;} |
9629 |
|
( cat <<\_ASBOX |
9630 |
|
## ------------------------------ ## |
9631 |
|
## Report this to gezelter@nd.edu ## |
9634 |
|
) | sed "s/^/$as_me: WARNING: /" >&2 |
9635 |
|
;; |
9636 |
|
esac |
9637 |
< |
{ echo "$as_me:$LINENO: checking for openbabel/babelconfig.h" >&5 |
9638 |
< |
echo $ECHO_N "checking for openbabel/babelconfig.h... $ECHO_C" >&6; } |
9637 |
> |
{ $as_echo "$as_me:$LINENO: checking for openbabel/babelconfig.h" >&5 |
9638 |
> |
$as_echo_n "checking for openbabel/babelconfig.h... " >&6; } |
9639 |
|
if test "${ac_cv_header_openbabel_babelconfig_h+set}" = set; then |
9640 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9640 |
> |
$as_echo_n "(cached) " >&6 |
9641 |
|
else |
9642 |
|
ac_cv_header_openbabel_babelconfig_h=$ac_header_preproc |
9643 |
|
fi |
9644 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_openbabel_babelconfig_h" >&5 |
9645 |
< |
echo "${ECHO_T}$ac_cv_header_openbabel_babelconfig_h" >&6; } |
9644 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_openbabel_babelconfig_h" >&5 |
9645 |
> |
$as_echo "$ac_cv_header_openbabel_babelconfig_h" >&6; } |
9646 |
|
|
9647 |
|
fi |
9648 |
|
if test $ac_cv_header_openbabel_babelconfig_h = yes; then |
9653 |
|
|
9654 |
|
|
9655 |
|
if test "${ac_cv_header_openbabel_obconversion_h+set}" = set; then |
9656 |
< |
{ echo "$as_me:$LINENO: checking for openbabel/obconversion.h" >&5 |
9657 |
< |
echo $ECHO_N "checking for openbabel/obconversion.h... $ECHO_C" >&6; } |
9656 |
> |
{ $as_echo "$as_me:$LINENO: checking for openbabel/obconversion.h" >&5 |
9657 |
> |
$as_echo_n "checking for openbabel/obconversion.h... " >&6; } |
9658 |
|
if test "${ac_cv_header_openbabel_obconversion_h+set}" = set; then |
9659 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9659 |
> |
$as_echo_n "(cached) " >&6 |
9660 |
|
fi |
9661 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_openbabel_obconversion_h" >&5 |
9662 |
< |
echo "${ECHO_T}$ac_cv_header_openbabel_obconversion_h" >&6; } |
9661 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_openbabel_obconversion_h" >&5 |
9662 |
> |
$as_echo "$ac_cv_header_openbabel_obconversion_h" >&6; } |
9663 |
|
else |
9664 |
|
# Is the header compilable? |
9665 |
< |
{ echo "$as_me:$LINENO: checking openbabel/obconversion.h usability" >&5 |
9666 |
< |
echo $ECHO_N "checking openbabel/obconversion.h usability... $ECHO_C" >&6; } |
9665 |
> |
{ $as_echo "$as_me:$LINENO: checking openbabel/obconversion.h usability" >&5 |
9666 |
> |
$as_echo_n "checking openbabel/obconversion.h usability... " >&6; } |
9667 |
|
cat >conftest.$ac_ext <<_ACEOF |
9668 |
|
/* confdefs.h. */ |
9669 |
|
_ACEOF |
9679 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9680 |
|
*) ac_try_echo=$ac_try;; |
9681 |
|
esac |
9682 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9682 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
9683 |
> |
$as_echo "$ac_try_echo") >&5 |
9684 |
|
(eval "$ac_compile") 2>conftest.er1 |
9685 |
|
ac_status=$? |
9686 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
9687 |
|
rm -f conftest.er1 |
9688 |
|
cat conftest.err >&5 |
9689 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9689 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9690 |
|
(exit $ac_status); } && { |
9691 |
|
test -z "$ac_cxx_werror_flag" || |
9692 |
|
test ! -s conftest.err |
9693 |
|
} && test -s conftest.$ac_objext; then |
9694 |
|
ac_header_compiler=yes |
9695 |
|
else |
9696 |
< |
echo "$as_me: failed program was:" >&5 |
9696 |
> |
$as_echo "$as_me: failed program was:" >&5 |
9697 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9698 |
|
|
9699 |
|
ac_header_compiler=no |
9700 |
|
fi |
9701 |
|
|
9702 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9703 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
9704 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
9703 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
9704 |
> |
$as_echo "$ac_header_compiler" >&6; } |
9705 |
|
|
9706 |
|
# Is the header present? |
9707 |
< |
{ echo "$as_me:$LINENO: checking openbabel/obconversion.h presence" >&5 |
9708 |
< |
echo $ECHO_N "checking openbabel/obconversion.h presence... $ECHO_C" >&6; } |
9707 |
> |
{ $as_echo "$as_me:$LINENO: checking openbabel/obconversion.h presence" >&5 |
9708 |
> |
$as_echo_n "checking openbabel/obconversion.h presence... " >&6; } |
9709 |
|
cat >conftest.$ac_ext <<_ACEOF |
9710 |
|
/* confdefs.h. */ |
9711 |
|
_ACEOF |
9719 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9720 |
|
*) ac_try_echo=$ac_try;; |
9721 |
|
esac |
9722 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9722 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
9723 |
> |
$as_echo "$ac_try_echo") >&5 |
9724 |
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
9725 |
|
ac_status=$? |
9726 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
9727 |
|
rm -f conftest.er1 |
9728 |
|
cat conftest.err >&5 |
9729 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9729 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9730 |
|
(exit $ac_status); } >/dev/null && { |
9731 |
|
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
9732 |
|
test ! -s conftest.err |
9733 |
|
}; then |
9734 |
|
ac_header_preproc=yes |
9735 |
|
else |
9736 |
< |
echo "$as_me: failed program was:" >&5 |
9736 |
> |
$as_echo "$as_me: failed program was:" >&5 |
9737 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9738 |
|
|
9739 |
|
ac_header_preproc=no |
9740 |
|
fi |
9741 |
|
|
9742 |
|
rm -f conftest.err conftest.$ac_ext |
9743 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
9744 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
9743 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
9744 |
> |
$as_echo "$ac_header_preproc" >&6; } |
9745 |
|
|
9746 |
|
# So? What about this header? |
9747 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
9748 |
|
yes:no: ) |
9749 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
9750 |
< |
echo "$as_me: WARNING: openbabel/obconversion.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
9751 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: proceeding with the compiler's result" >&5 |
9752 |
< |
echo "$as_me: WARNING: openbabel/obconversion.h: proceeding with the compiler's result" >&2;} |
9749 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
9750 |
> |
$as_echo "$as_me: WARNING: openbabel/obconversion.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
9751 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: proceeding with the compiler's result" >&5 |
9752 |
> |
$as_echo "$as_me: WARNING: openbabel/obconversion.h: proceeding with the compiler's result" >&2;} |
9753 |
|
ac_header_preproc=yes |
9754 |
|
;; |
9755 |
|
no:yes:* ) |
9756 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: present but cannot be compiled" >&5 |
9757 |
< |
echo "$as_me: WARNING: openbabel/obconversion.h: present but cannot be compiled" >&2;} |
9758 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: check for missing prerequisite headers?" >&5 |
9759 |
< |
echo "$as_me: WARNING: openbabel/obconversion.h: check for missing prerequisite headers?" >&2;} |
9760 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: see the Autoconf documentation" >&5 |
9761 |
< |
echo "$as_me: WARNING: openbabel/obconversion.h: see the Autoconf documentation" >&2;} |
9762 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: section \"Present But Cannot Be Compiled\"" >&5 |
9763 |
< |
echo "$as_me: WARNING: openbabel/obconversion.h: section \"Present But Cannot Be Compiled\"" >&2;} |
9764 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: proceeding with the preprocessor's result" >&5 |
9765 |
< |
echo "$as_me: WARNING: openbabel/obconversion.h: proceeding with the preprocessor's result" >&2;} |
9766 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: in the future, the compiler will take precedence" >&5 |
9767 |
< |
echo "$as_me: WARNING: openbabel/obconversion.h: in the future, the compiler will take precedence" >&2;} |
9756 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: present but cannot be compiled" >&5 |
9757 |
> |
$as_echo "$as_me: WARNING: openbabel/obconversion.h: present but cannot be compiled" >&2;} |
9758 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: check for missing prerequisite headers?" >&5 |
9759 |
> |
$as_echo "$as_me: WARNING: openbabel/obconversion.h: check for missing prerequisite headers?" >&2;} |
9760 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: see the Autoconf documentation" >&5 |
9761 |
> |
$as_echo "$as_me: WARNING: openbabel/obconversion.h: see the Autoconf documentation" >&2;} |
9762 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: section \"Present But Cannot Be Compiled\"" >&5 |
9763 |
> |
$as_echo "$as_me: WARNING: openbabel/obconversion.h: section \"Present But Cannot Be Compiled\"" >&2;} |
9764 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: proceeding with the preprocessor's result" >&5 |
9765 |
> |
$as_echo "$as_me: WARNING: openbabel/obconversion.h: proceeding with the preprocessor's result" >&2;} |
9766 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: in the future, the compiler will take precedence" >&5 |
9767 |
> |
$as_echo "$as_me: WARNING: openbabel/obconversion.h: in the future, the compiler will take precedence" >&2;} |
9768 |
|
( cat <<\_ASBOX |
9769 |
|
## ------------------------------ ## |
9770 |
|
## Report this to gezelter@nd.edu ## |
9773 |
|
) | sed "s/^/$as_me: WARNING: /" >&2 |
9774 |
|
;; |
9775 |
|
esac |
9776 |
< |
{ echo "$as_me:$LINENO: checking for openbabel/obconversion.h" >&5 |
9777 |
< |
echo $ECHO_N "checking for openbabel/obconversion.h... $ECHO_C" >&6; } |
9776 |
> |
{ $as_echo "$as_me:$LINENO: checking for openbabel/obconversion.h" >&5 |
9777 |
> |
$as_echo_n "checking for openbabel/obconversion.h... " >&6; } |
9778 |
|
if test "${ac_cv_header_openbabel_obconversion_h+set}" = set; then |
9779 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9779 |
> |
$as_echo_n "(cached) " >&6 |
9780 |
|
else |
9781 |
|
ac_cv_header_openbabel_obconversion_h=$ac_header_preproc |
9782 |
|
fi |
9783 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_openbabel_obconversion_h" >&5 |
9784 |
< |
echo "${ECHO_T}$ac_cv_header_openbabel_obconversion_h" >&6; } |
9783 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_openbabel_obconversion_h" >&5 |
9784 |
> |
$as_echo "$ac_cv_header_openbabel_obconversion_h" >&6; } |
9785 |
|
|
9786 |
|
fi |
9787 |
|
if test $ac_cv_header_openbabel_obconversion_h = yes; then |
9829 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9830 |
|
*) ac_try_echo=$ac_try;; |
9831 |
|
esac |
9832 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9832 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
9833 |
> |
$as_echo "$ac_try_echo") >&5 |
9834 |
|
(eval "$ac_link") 2>conftest.er1 |
9835 |
|
ac_status=$? |
9836 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
9837 |
|
rm -f conftest.er1 |
9838 |
|
cat conftest.err >&5 |
9839 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9839 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9840 |
|
(exit $ac_status); } && { |
9841 |
|
test -z "$ac_cxx_werror_flag" || |
9842 |
|
test ! -s conftest.err |
9843 |
< |
} && test -s conftest$ac_exeext && |
9844 |
< |
$as_test_x conftest$ac_exeext; then |
9843 |
> |
} && test -s conftest$ac_exeext && { |
9844 |
> |
test "$cross_compiling" = yes || |
9845 |
> |
$as_test_x conftest$ac_exeext |
9846 |
> |
}; then |
9847 |
|
|
9848 |
|
openbabel_lib_found="yes" |
9849 |
< |
{ echo "$as_me:$LINENO: result: found" >&5 |
9850 |
< |
echo "${ECHO_T}found" >&6; } |
9849 |
> |
{ $as_echo "$as_me:$LINENO: result: found" >&5 |
9850 |
> |
$as_echo "found" >&6; } |
9851 |
|
|
9852 |
|
else |
9853 |
< |
echo "$as_me: failed program was:" >&5 |
9853 |
> |
$as_echo "$as_me: failed program was:" >&5 |
9854 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9855 |
|
|
9856 |
|
|
9857 |
|
openbabel_lib_found="no" |
9858 |
< |
{ echo "$as_me:$LINENO: result: not found" >&5 |
9859 |
< |
echo "${ECHO_T}not found" >&6; } |
9858 |
> |
{ $as_echo "$as_me:$LINENO: result: not found" >&5 |
9859 |
> |
$as_echo "not found" >&6; } |
9860 |
|
|
9861 |
|
|
9862 |
|
fi |
9863 |
|
|
9864 |
+ |
rm -rf conftest.dSYM |
9865 |
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
9866 |
|
conftest$ac_exeext conftest.$ac_ext |
9867 |
|
ac_ext=c |
9879 |
|
OPENBABEL_LIB_DIR="${OPENBABEL_HOME}/lib" |
9880 |
|
OPENBABEL_LIB="-lopenbabel" |
9881 |
|
else |
9882 |
< |
{ echo "$as_me:$LINENO: checking openbabel in ${OPENBABEL_HOME}" >&5 |
9883 |
< |
echo $ECHO_N "checking openbabel in ${OPENBABEL_HOME}... $ECHO_C" >&6; } |
9882 |
> |
{ $as_echo "$as_me:$LINENO: checking openbabel in ${OPENBABEL_HOME}" >&5 |
9883 |
> |
$as_echo_n "checking openbabel in ${OPENBABEL_HOME}... " >&6; } |
9884 |
|
OPENBABEL_INC_DIR= |
9885 |
|
OPENBABEL_LIB_DIR= |
9886 |
|
OPENBABEL_LIB= |
9887 |
|
USE_OPENBABEL=no |
9888 |
< |
{ echo "$as_me:$LINENO: result: failed" >&5 |
9889 |
< |
echo "${ECHO_T}failed" >&6; } |
9888 |
> |
{ $as_echo "$as_me:$LINENO: result: failed" >&5 |
9889 |
> |
$as_echo "failed" >&6; } |
9890 |
|
echo "" |
9891 |
|
echo "*********************************************************" |
9892 |
|
echo "* WARNING: Could not find a working openbabel-2.x *" |
9907 |
|
|
9908 |
|
|
9909 |
|
# Checks for header files. |
9910 |
< |
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
9911 |
< |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
9910 |
> |
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
9911 |
> |
$as_echo_n "checking for ANSI C header files... " >&6; } |
9912 |
|
if test "${ac_cv_header_stdc+set}" = set; then |
9913 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9913 |
> |
$as_echo_n "(cached) " >&6 |
9914 |
|
else |
9915 |
|
cat >conftest.$ac_ext <<_ACEOF |
9916 |
|
/* confdefs.h. */ |
9945 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9946 |
|
*) ac_try_echo=$ac_try;; |
9947 |
|
esac |
9948 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9948 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
9949 |
> |
$as_echo "$ac_try_echo") >&5 |
9950 |
|
(eval "$ac_compile") 2>conftest.er1 |
9951 |
|
ac_status=$? |
9952 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
9953 |
|
rm -f conftest.er1 |
9954 |
|
cat conftest.err >&5 |
9955 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9955 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9956 |
|
(exit $ac_status); } && { |
9957 |
|
test -z "$ac_c_werror_flag" || |
9958 |
|
test ! -s conftest.err |
9959 |
|
} && test -s conftest.$ac_objext; then |
9960 |
|
ac_cv_header_stdc=yes |
9961 |
|
else |
9962 |
< |
echo "$as_me: failed program was:" >&5 |
9962 |
> |
$as_echo "$as_me: failed program was:" >&5 |
9963 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9964 |
|
|
9965 |
|
ac_cv_header_stdc=no |
10051 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10052 |
|
*) ac_try_echo=$ac_try;; |
10053 |
|
esac |
10054 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10054 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
10055 |
> |
$as_echo "$ac_try_echo") >&5 |
10056 |
|
(eval "$ac_link") 2>&5 |
10057 |
|
ac_status=$? |
10058 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10058 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10059 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
10060 |
|
{ (case "(($ac_try" in |
10061 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10062 |
|
*) ac_try_echo=$ac_try;; |
10063 |
|
esac |
10064 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10064 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
10065 |
> |
$as_echo "$ac_try_echo") >&5 |
10066 |
|
(eval "$ac_try") 2>&5 |
10067 |
|
ac_status=$? |
10068 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10068 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10069 |
|
(exit $ac_status); }; }; then |
10070 |
|
: |
10071 |
|
else |
10072 |
< |
echo "$as_me: program exited with status $ac_status" >&5 |
10073 |
< |
echo "$as_me: failed program was:" >&5 |
10072 |
> |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
10073 |
> |
$as_echo "$as_me: failed program was:" >&5 |
10074 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
10075 |
|
|
10076 |
|
( exit $ac_status ) |
10077 |
|
ac_cv_header_stdc=no |
10078 |
|
fi |
10079 |
+ |
rm -rf conftest.dSYM |
10080 |
|
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
10081 |
|
fi |
10082 |
|
|
10083 |
|
|
10084 |
|
fi |
10085 |
|
fi |
10086 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
10087 |
< |
echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
10086 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
10087 |
> |
$as_echo "$ac_cv_header_stdc" >&6; } |
10088 |
|
if test $ac_cv_header_stdc = yes; then |
10089 |
|
|
10090 |
|
cat >>confdefs.h <<\_ACEOF |
10108 |
|
|
10109 |
|
|
10110 |
|
|
10111 |
< |
|
10143 |
< |
|
10144 |
< |
|
10145 |
< |
|
10146 |
< |
|
10147 |
< |
|
10148 |
< |
|
10149 |
< |
|
10150 |
< |
|
10151 |
< |
|
10152 |
< |
for ac_header in conio.h dlfcn.h fstream.h iostream.h libintl.h limits.h machine/hal_sysinfo.h math.h stddef.h stdio.h stdlib.h string.h strings.h strstream.h sys/param.h sys/pstat.h sys/sysmp.h sys/sysctl.h sys/sysinfo.h sys/systemcfg.h sys/table.h sys/time.h time.h unistd.h zlib.h |
10111 |
> |
for ac_header in libintl.h limits.h machine/hal_sysinfo.h stdlib.h string.h strings.h sys/param.h sys/pstat.h sys/sysctl.h sys/sysinfo.h sys/sysmp.h sys/systemcfg.h sys/table.h sys/time.h unistd.h |
10112 |
|
do |
10113 |
< |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10113 |
> |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10114 |
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10115 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10116 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
10115 |
> |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10116 |
> |
$as_echo_n "checking for $ac_header... " >&6; } |
10117 |
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10118 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10118 |
> |
$as_echo_n "(cached) " >&6 |
10119 |
|
fi |
10120 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
10121 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
10122 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
10120 |
> |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
10121 |
> |
$as_echo "$as_val"'` |
10122 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
10123 |
> |
$as_echo "$ac_res" >&6; } |
10124 |
|
else |
10125 |
|
# Is the header compilable? |
10126 |
< |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
10127 |
< |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
10126 |
> |
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
10127 |
> |
$as_echo_n "checking $ac_header usability... " >&6; } |
10128 |
|
cat >conftest.$ac_ext <<_ACEOF |
10129 |
|
/* confdefs.h. */ |
10130 |
|
_ACEOF |
10140 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10141 |
|
*) ac_try_echo=$ac_try;; |
10142 |
|
esac |
10143 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10143 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
10144 |
> |
$as_echo "$ac_try_echo") >&5 |
10145 |
|
(eval "$ac_compile") 2>conftest.er1 |
10146 |
|
ac_status=$? |
10147 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10148 |
|
rm -f conftest.er1 |
10149 |
|
cat conftest.err >&5 |
10150 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10150 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10151 |
|
(exit $ac_status); } && { |
10152 |
|
test -z "$ac_c_werror_flag" || |
10153 |
|
test ! -s conftest.err |
10154 |
|
} && test -s conftest.$ac_objext; then |
10155 |
|
ac_header_compiler=yes |
10156 |
|
else |
10157 |
< |
echo "$as_me: failed program was:" >&5 |
10157 |
> |
$as_echo "$as_me: failed program was:" >&5 |
10158 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
10159 |
|
|
10160 |
|
ac_header_compiler=no |
10161 |
|
fi |
10162 |
|
|
10163 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10164 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
10165 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
10164 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
10165 |
> |
$as_echo "$ac_header_compiler" >&6; } |
10166 |
|
|
10167 |
|
# Is the header present? |
10168 |
< |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
10169 |
< |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
10168 |
> |
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
10169 |
> |
$as_echo_n "checking $ac_header presence... " >&6; } |
10170 |
|
cat >conftest.$ac_ext <<_ACEOF |
10171 |
|
/* confdefs.h. */ |
10172 |
|
_ACEOF |
10180 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10181 |
|
*) ac_try_echo=$ac_try;; |
10182 |
|
esac |
10183 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10183 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
10184 |
> |
$as_echo "$ac_try_echo") >&5 |
10185 |
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
10186 |
|
ac_status=$? |
10187 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10188 |
|
rm -f conftest.er1 |
10189 |
|
cat conftest.err >&5 |
10190 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10190 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10191 |
|
(exit $ac_status); } >/dev/null && { |
10192 |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
10193 |
|
test ! -s conftest.err |
10194 |
|
}; then |
10195 |
|
ac_header_preproc=yes |
10196 |
|
else |
10197 |
< |
echo "$as_me: failed program was:" >&5 |
10197 |
> |
$as_echo "$as_me: failed program was:" >&5 |
10198 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
10199 |
|
|
10200 |
|
ac_header_preproc=no |
10201 |
|
fi |
10202 |
|
|
10203 |
|
rm -f conftest.err conftest.$ac_ext |
10204 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
10205 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
10204 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
10205 |
> |
$as_echo "$ac_header_preproc" >&6; } |
10206 |
|
|
10207 |
|
# So? What about this header? |
10208 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
10209 |
|
yes:no: ) |
10210 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
10211 |
< |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
10212 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
10213 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
10210 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
10211 |
> |
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
10212 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
10213 |
> |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
10214 |
|
ac_header_preproc=yes |
10215 |
|
;; |
10216 |
|
no:yes:* ) |
10217 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
10218 |
< |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
10219 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
10220 |
< |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
10221 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
10222 |
< |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
10223 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
10224 |
< |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
10225 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
10226 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
10227 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
10228 |
< |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
10217 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
10218 |
> |
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
10219 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
10220 |
> |
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
10221 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
10222 |
> |
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
10223 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
10224 |
> |
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
10225 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
10226 |
> |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
10227 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
10228 |
> |
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
10229 |
|
( cat <<\_ASBOX |
10230 |
|
## ------------------------------ ## |
10231 |
|
## Report this to gezelter@nd.edu ## |
10234 |
|
) | sed "s/^/$as_me: WARNING: /" >&2 |
10235 |
|
;; |
10236 |
|
esac |
10237 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10238 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
10237 |
> |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10238 |
> |
$as_echo_n "checking for $ac_header... " >&6; } |
10239 |
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10240 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10240 |
> |
$as_echo_n "(cached) " >&6 |
10241 |
|
else |
10242 |
|
eval "$as_ac_Header=\$ac_header_preproc" |
10243 |
|
fi |
10244 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
10245 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
10246 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
10244 |
> |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
10245 |
> |
$as_echo "$as_val"'` |
10246 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
10247 |
> |
$as_echo "$ac_res" >&6; } |
10248 |
|
|
10249 |
|
fi |
10250 |
< |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
10250 |
> |
if test `eval 'as_val=${'$as_ac_Header'} |
10251 |
> |
$as_echo "$as_val"'` = yes; then |
10252 |
|
cat >>confdefs.h <<_ACEOF |
10253 |
< |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10253 |
> |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10254 |
|
_ACEOF |
10255 |
|
|
10256 |
|
fi |
10259 |
|
|
10260 |
|
|
10261 |
|
# Checks for typedefs, structures, and compiler characteristics. |
10262 |
< |
{ echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 |
10263 |
< |
echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; } |
10262 |
> |
{ $as_echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 |
10263 |
> |
$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } |
10264 |
|
if test "${ac_cv_header_stdbool_h+set}" = set; then |
10265 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10265 |
> |
$as_echo_n "(cached) " >&6 |
10266 |
|
else |
10267 |
|
cat >conftest.$ac_ext <<_ACEOF |
10268 |
|
/* confdefs.h. */ |
10303 |
|
char h[sizeof (_Bool)]; |
10304 |
|
char i[sizeof s.t]; |
10305 |
|
enum { j = false, k = true, l = false * true, m = true * 256 }; |
10306 |
+ |
/* The following fails for |
10307 |
+ |
HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ |
10308 |
|
_Bool n[m]; |
10309 |
|
char o[sizeof n == m * sizeof n[0] ? 1 : -1]; |
10310 |
|
char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; |
10362 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10363 |
|
*) ac_try_echo=$ac_try;; |
10364 |
|
esac |
10365 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10365 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
10366 |
> |
$as_echo "$ac_try_echo") >&5 |
10367 |
|
(eval "$ac_compile") 2>conftest.er1 |
10368 |
|
ac_status=$? |
10369 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10370 |
|
rm -f conftest.er1 |
10371 |
|
cat conftest.err >&5 |
10372 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10372 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10373 |
|
(exit $ac_status); } && { |
10374 |
|
test -z "$ac_c_werror_flag" || |
10375 |
|
test ! -s conftest.err |
10376 |
|
} && test -s conftest.$ac_objext; then |
10377 |
|
ac_cv_header_stdbool_h=yes |
10378 |
|
else |
10379 |
< |
echo "$as_me: failed program was:" >&5 |
10379 |
> |
$as_echo "$as_me: failed program was:" >&5 |
10380 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
10381 |
|
|
10382 |
|
ac_cv_header_stdbool_h=no |
10384 |
|
|
10385 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10386 |
|
fi |
10387 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 |
10388 |
< |
echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; } |
10389 |
< |
{ echo "$as_me:$LINENO: checking for _Bool" >&5 |
10390 |
< |
echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; } |
10387 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 |
10388 |
> |
$as_echo "$ac_cv_header_stdbool_h" >&6; } |
10389 |
> |
{ $as_echo "$as_me:$LINENO: checking for _Bool" >&5 |
10390 |
> |
$as_echo_n "checking for _Bool... " >&6; } |
10391 |
|
if test "${ac_cv_type__Bool+set}" = set; then |
10392 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10392 |
> |
$as_echo_n "(cached) " >&6 |
10393 |
|
else |
10394 |
< |
cat >conftest.$ac_ext <<_ACEOF |
10394 |
> |
ac_cv_type__Bool=no |
10395 |
> |
cat >conftest.$ac_ext <<_ACEOF |
10396 |
|
/* confdefs.h. */ |
10397 |
|
_ACEOF |
10398 |
|
cat confdefs.h >>conftest.$ac_ext |
10399 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10400 |
|
/* end confdefs.h. */ |
10401 |
|
$ac_includes_default |
10434 |
– |
typedef _Bool ac__type_new_; |
10402 |
|
#ifdef FC_DUMMY_MAIN |
10403 |
|
#ifndef FC_DUMMY_MAIN_EQ_F77 |
10404 |
|
# ifdef __cplusplus |
10410 |
|
int |
10411 |
|
main () |
10412 |
|
{ |
10413 |
< |
if ((ac__type_new_ *) 0) |
10414 |
< |
return 0; |
10448 |
< |
if (sizeof (ac__type_new_)) |
10449 |
< |
return 0; |
10413 |
> |
if (sizeof (_Bool)) |
10414 |
> |
return 0; |
10415 |
|
; |
10416 |
|
return 0; |
10417 |
|
} |
10422 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10423 |
|
*) ac_try_echo=$ac_try;; |
10424 |
|
esac |
10425 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10425 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
10426 |
> |
$as_echo "$ac_try_echo") >&5 |
10427 |
|
(eval "$ac_compile") 2>conftest.er1 |
10428 |
|
ac_status=$? |
10429 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10430 |
|
rm -f conftest.er1 |
10431 |
|
cat conftest.err >&5 |
10432 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10432 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10433 |
|
(exit $ac_status); } && { |
10434 |
|
test -z "$ac_c_werror_flag" || |
10435 |
|
test ! -s conftest.err |
10436 |
|
} && test -s conftest.$ac_objext; then |
10437 |
< |
ac_cv_type__Bool=yes |
10438 |
< |
else |
10439 |
< |
echo "$as_me: failed program was:" >&5 |
10437 |
> |
cat >conftest.$ac_ext <<_ACEOF |
10438 |
> |
/* confdefs.h. */ |
10439 |
> |
_ACEOF |
10440 |
> |
cat confdefs.h >>conftest.$ac_ext |
10441 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
10442 |
> |
/* end confdefs.h. */ |
10443 |
> |
$ac_includes_default |
10444 |
> |
#ifdef FC_DUMMY_MAIN |
10445 |
> |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
10446 |
> |
# ifdef __cplusplus |
10447 |
> |
extern "C" |
10448 |
> |
# endif |
10449 |
> |
int FC_DUMMY_MAIN() { return 1; } |
10450 |
> |
#endif |
10451 |
> |
#endif |
10452 |
> |
int |
10453 |
> |
main () |
10454 |
> |
{ |
10455 |
> |
if (sizeof ((_Bool))) |
10456 |
> |
return 0; |
10457 |
> |
; |
10458 |
> |
return 0; |
10459 |
> |
} |
10460 |
> |
_ACEOF |
10461 |
> |
rm -f conftest.$ac_objext |
10462 |
> |
if { (ac_try="$ac_compile" |
10463 |
> |
case "(($ac_try" in |
10464 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10465 |
> |
*) ac_try_echo=$ac_try;; |
10466 |
> |
esac |
10467 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
10468 |
> |
$as_echo "$ac_try_echo") >&5 |
10469 |
> |
(eval "$ac_compile") 2>conftest.er1 |
10470 |
> |
ac_status=$? |
10471 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
10472 |
> |
rm -f conftest.er1 |
10473 |
> |
cat conftest.err >&5 |
10474 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10475 |
> |
(exit $ac_status); } && { |
10476 |
> |
test -z "$ac_c_werror_flag" || |
10477 |
> |
test ! -s conftest.err |
10478 |
> |
} && test -s conftest.$ac_objext; then |
10479 |
> |
: |
10480 |
> |
else |
10481 |
> |
$as_echo "$as_me: failed program was:" >&5 |
10482 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
10483 |
|
|
10484 |
< |
ac_cv_type__Bool=no |
10484 |
> |
ac_cv_type__Bool=yes |
10485 |
|
fi |
10486 |
|
|
10487 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10488 |
+ |
else |
10489 |
+ |
$as_echo "$as_me: failed program was:" >&5 |
10490 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
10491 |
+ |
|
10492 |
+ |
|
10493 |
|
fi |
10494 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 |
10495 |
< |
echo "${ECHO_T}$ac_cv_type__Bool" >&6; } |
10494 |
> |
|
10495 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10496 |
> |
fi |
10497 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 |
10498 |
> |
$as_echo "$ac_cv_type__Bool" >&6; } |
10499 |
|
if test $ac_cv_type__Bool = yes; then |
10500 |
|
|
10501 |
|
cat >>confdefs.h <<_ACEOF |
10513 |
|
|
10514 |
|
fi |
10515 |
|
|
10516 |
< |
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
10517 |
< |
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } |
10516 |
> |
{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
10517 |
> |
$as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
10518 |
|
if test "${ac_cv_c_const+set}" = set; then |
10519 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10519 |
> |
$as_echo_n "(cached) " >&6 |
10520 |
|
else |
10521 |
|
cat >conftest.$ac_ext <<_ACEOF |
10522 |
|
/* confdefs.h. */ |
10596 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10597 |
|
*) ac_try_echo=$ac_try;; |
10598 |
|
esac |
10599 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10599 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
10600 |
> |
$as_echo "$ac_try_echo") >&5 |
10601 |
|
(eval "$ac_compile") 2>conftest.er1 |
10602 |
|
ac_status=$? |
10603 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10604 |
|
rm -f conftest.er1 |
10605 |
|
cat conftest.err >&5 |
10606 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10606 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10607 |
|
(exit $ac_status); } && { |
10608 |
|
test -z "$ac_c_werror_flag" || |
10609 |
|
test ! -s conftest.err |
10610 |
|
} && test -s conftest.$ac_objext; then |
10611 |
|
ac_cv_c_const=yes |
10612 |
|
else |
10613 |
< |
echo "$as_me: failed program was:" >&5 |
10613 |
> |
$as_echo "$as_me: failed program was:" >&5 |
10614 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
10615 |
|
|
10616 |
|
ac_cv_c_const=no |
10618 |
|
|
10619 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10620 |
|
fi |
10621 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
10622 |
< |
echo "${ECHO_T}$ac_cv_c_const" >&6; } |
10621 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
10622 |
> |
$as_echo "$ac_cv_c_const" >&6; } |
10623 |
|
if test $ac_cv_c_const = no; then |
10624 |
|
|
10625 |
|
cat >>confdefs.h <<\_ACEOF |
10626 |
< |
#define const |
10626 |
> |
#define const /**/ |
10627 |
|
_ACEOF |
10628 |
|
|
10629 |
|
fi |
10630 |
|
|
10631 |
< |
{ echo "$as_me:$LINENO: checking for inline" >&5 |
10632 |
< |
echo $ECHO_N "checking for inline... $ECHO_C" >&6; } |
10631 |
> |
{ $as_echo "$as_me:$LINENO: checking for inline" >&5 |
10632 |
> |
$as_echo_n "checking for inline... " >&6; } |
10633 |
|
if test "${ac_cv_c_inline+set}" = set; then |
10634 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10634 |
> |
$as_echo_n "(cached) " >&6 |
10635 |
|
else |
10636 |
|
ac_cv_c_inline=no |
10637 |
|
for ac_kw in inline __inline__ __inline; do |
10654 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10655 |
|
*) ac_try_echo=$ac_try;; |
10656 |
|
esac |
10657 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10657 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
10658 |
> |
$as_echo "$ac_try_echo") >&5 |
10659 |
|
(eval "$ac_compile") 2>conftest.er1 |
10660 |
|
ac_status=$? |
10661 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10662 |
|
rm -f conftest.er1 |
10663 |
|
cat conftest.err >&5 |
10664 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10664 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10665 |
|
(exit $ac_status); } && { |
10666 |
|
test -z "$ac_c_werror_flag" || |
10667 |
|
test ! -s conftest.err |
10668 |
|
} && test -s conftest.$ac_objext; then |
10669 |
|
ac_cv_c_inline=$ac_kw |
10670 |
|
else |
10671 |
< |
echo "$as_me: failed program was:" >&5 |
10671 |
> |
$as_echo "$as_me: failed program was:" >&5 |
10672 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
10673 |
|
|
10674 |
|
|
10679 |
|
done |
10680 |
|
|
10681 |
|
fi |
10682 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
10683 |
< |
echo "${ECHO_T}$ac_cv_c_inline" >&6; } |
10682 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
10683 |
> |
$as_echo "$ac_cv_c_inline" >&6; } |
10684 |
|
|
10685 |
|
|
10686 |
|
case $ac_cv_c_inline in |
10698 |
|
;; |
10699 |
|
esac |
10700 |
|
|
10701 |
< |
{ echo "$as_me:$LINENO: checking for C/C++ restrict keyword" >&5 |
10702 |
< |
echo $ECHO_N "checking for C/C++ restrict keyword... $ECHO_C" >&6; } |
10703 |
< |
if test "${ac_cv_c_restrict+set}" = set; then |
10704 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10701 |
> |
{ $as_echo "$as_me:$LINENO: checking for size_t" >&5 |
10702 |
> |
$as_echo_n "checking for size_t... " >&6; } |
10703 |
> |
if test "${ac_cv_type_size_t+set}" = set; then |
10704 |
> |
$as_echo_n "(cached) " >&6 |
10705 |
|
else |
10706 |
< |
ac_cv_c_restrict=no |
10707 |
< |
# Try the official restrict keyword, then gcc's __restrict, and |
10690 |
< |
# the less common variants. |
10691 |
< |
for ac_kw in restrict __restrict __restrict__ _Restrict; do |
10692 |
< |
cat >conftest.$ac_ext <<_ACEOF |
10706 |
> |
ac_cv_type_size_t=no |
10707 |
> |
cat >conftest.$ac_ext <<_ACEOF |
10708 |
|
/* confdefs.h. */ |
10709 |
|
_ACEOF |
10710 |
|
cat confdefs.h >>conftest.$ac_ext |
10711 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10712 |
|
/* end confdefs.h. */ |
10713 |
< |
typedef int * int_ptr; |
10699 |
< |
int foo (int_ptr $ac_kw ip) { |
10700 |
< |
return ip[0]; |
10701 |
< |
} |
10713 |
> |
$ac_includes_default |
10714 |
|
#ifdef FC_DUMMY_MAIN |
10715 |
|
#ifndef FC_DUMMY_MAIN_EQ_F77 |
10716 |
|
# ifdef __cplusplus |
10722 |
|
int |
10723 |
|
main () |
10724 |
|
{ |
10725 |
< |
int s[1]; |
10726 |
< |
int * $ac_kw t = s; |
10715 |
< |
t[0] = 0; |
10716 |
< |
return foo(t) |
10725 |
> |
if (sizeof (size_t)) |
10726 |
> |
return 0; |
10727 |
|
; |
10728 |
|
return 0; |
10729 |
|
} |
10734 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10735 |
|
*) ac_try_echo=$ac_try;; |
10736 |
|
esac |
10737 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10737 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
10738 |
> |
$as_echo "$ac_try_echo") >&5 |
10739 |
|
(eval "$ac_compile") 2>conftest.er1 |
10740 |
|
ac_status=$? |
10741 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10742 |
|
rm -f conftest.er1 |
10743 |
|
cat conftest.err >&5 |
10744 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10744 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10745 |
|
(exit $ac_status); } && { |
10746 |
|
test -z "$ac_c_werror_flag" || |
10747 |
|
test ! -s conftest.err |
10748 |
|
} && test -s conftest.$ac_objext; then |
10738 |
– |
ac_cv_c_restrict=$ac_kw |
10739 |
– |
else |
10740 |
– |
echo "$as_me: failed program was:" >&5 |
10741 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
10742 |
– |
|
10743 |
– |
|
10744 |
– |
fi |
10745 |
– |
|
10746 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10747 |
– |
test "$ac_cv_c_restrict" != no && break |
10748 |
– |
done |
10749 |
– |
|
10750 |
– |
fi |
10751 |
– |
{ echo "$as_me:$LINENO: result: $ac_cv_c_restrict" >&5 |
10752 |
– |
echo "${ECHO_T}$ac_cv_c_restrict" >&6; } |
10753 |
– |
case $ac_cv_c_restrict in |
10754 |
– |
restrict) ;; |
10755 |
– |
no) |
10756 |
– |
cat >>confdefs.h <<\_ACEOF |
10757 |
– |
#define restrict |
10758 |
– |
_ACEOF |
10759 |
– |
;; |
10760 |
– |
*) cat >>confdefs.h <<_ACEOF |
10761 |
– |
#define restrict $ac_cv_c_restrict |
10762 |
– |
_ACEOF |
10763 |
– |
;; |
10764 |
– |
esac |
10765 |
– |
|
10766 |
– |
{ echo "$as_me:$LINENO: checking for size_t" >&5 |
10767 |
– |
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } |
10768 |
– |
if test "${ac_cv_type_size_t+set}" = set; then |
10769 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10770 |
– |
else |
10749 |
|
cat >conftest.$ac_ext <<_ACEOF |
10750 |
|
/* confdefs.h. */ |
10751 |
|
_ACEOF |
10753 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10754 |
|
/* end confdefs.h. */ |
10755 |
|
$ac_includes_default |
10778 |
– |
typedef size_t ac__type_new_; |
10756 |
|
#ifdef FC_DUMMY_MAIN |
10757 |
|
#ifndef FC_DUMMY_MAIN_EQ_F77 |
10758 |
|
# ifdef __cplusplus |
10764 |
|
int |
10765 |
|
main () |
10766 |
|
{ |
10767 |
< |
if ((ac__type_new_ *) 0) |
10768 |
< |
return 0; |
10792 |
< |
if (sizeof (ac__type_new_)) |
10793 |
< |
return 0; |
10767 |
> |
if (sizeof ((size_t))) |
10768 |
> |
return 0; |
10769 |
|
; |
10770 |
|
return 0; |
10771 |
|
} |
10776 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10777 |
|
*) ac_try_echo=$ac_try;; |
10778 |
|
esac |
10779 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10779 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
10780 |
> |
$as_echo "$ac_try_echo") >&5 |
10781 |
|
(eval "$ac_compile") 2>conftest.er1 |
10782 |
|
ac_status=$? |
10783 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10784 |
|
rm -f conftest.er1 |
10785 |
|
cat conftest.err >&5 |
10786 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10786 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10787 |
|
(exit $ac_status); } && { |
10788 |
|
test -z "$ac_c_werror_flag" || |
10789 |
|
test ! -s conftest.err |
10790 |
|
} && test -s conftest.$ac_objext; then |
10791 |
< |
ac_cv_type_size_t=yes |
10791 |
> |
: |
10792 |
|
else |
10793 |
< |
echo "$as_me: failed program was:" >&5 |
10793 |
> |
$as_echo "$as_me: failed program was:" >&5 |
10794 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
10795 |
|
|
10796 |
< |
ac_cv_type_size_t=no |
10796 |
> |
ac_cv_type_size_t=yes |
10797 |
|
fi |
10798 |
|
|
10799 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10800 |
+ |
else |
10801 |
+ |
$as_echo "$as_me: failed program was:" >&5 |
10802 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
10803 |
+ |
|
10804 |
+ |
|
10805 |
|
fi |
10806 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 |
10807 |
< |
echo "${ECHO_T}$ac_cv_type_size_t" >&6; } |
10806 |
> |
|
10807 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10808 |
> |
fi |
10809 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 |
10810 |
> |
$as_echo "$ac_cv_type_size_t" >&6; } |
10811 |
|
if test $ac_cv_type_size_t = yes; then |
10812 |
|
: |
10813 |
|
else |
10818 |
|
|
10819 |
|
fi |
10820 |
|
|
10821 |
< |
{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 |
10822 |
< |
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } |
10821 |
> |
{ $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 |
10822 |
> |
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } |
10823 |
|
if test "${ac_cv_header_time+set}" = set; then |
10824 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10824 |
> |
$as_echo_n "(cached) " >&6 |
10825 |
|
else |
10826 |
|
cat >conftest.$ac_ext <<_ACEOF |
10827 |
|
/* confdefs.h. */ |
10856 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10857 |
|
*) ac_try_echo=$ac_try;; |
10858 |
|
esac |
10859 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10859 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
10860 |
> |
$as_echo "$ac_try_echo") >&5 |
10861 |
|
(eval "$ac_compile") 2>conftest.er1 |
10862 |
|
ac_status=$? |
10863 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10864 |
|
rm -f conftest.er1 |
10865 |
|
cat conftest.err >&5 |
10866 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10866 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10867 |
|
(exit $ac_status); } && { |
10868 |
|
test -z "$ac_c_werror_flag" || |
10869 |
|
test ! -s conftest.err |
10870 |
|
} && test -s conftest.$ac_objext; then |
10871 |
|
ac_cv_header_time=yes |
10872 |
|
else |
10873 |
< |
echo "$as_me: failed program was:" >&5 |
10873 |
> |
$as_echo "$as_me: failed program was:" >&5 |
10874 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
10875 |
|
|
10876 |
|
ac_cv_header_time=no |
10878 |
|
|
10879 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10880 |
|
fi |
10881 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
10882 |
< |
echo "${ECHO_T}$ac_cv_header_time" >&6; } |
10881 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
10882 |
> |
$as_echo "$ac_cv_header_time" >&6; } |
10883 |
|
if test $ac_cv_header_time = yes; then |
10884 |
|
|
10885 |
|
cat >>confdefs.h <<\_ACEOF |
10886 |
|
#define TIME_WITH_SYS_TIME 1 |
10902 |
– |
_ACEOF |
10903 |
– |
|
10904 |
– |
fi |
10905 |
– |
|
10906 |
– |
{ echo "$as_me:$LINENO: checking for clock_t" >&5 |
10907 |
– |
echo $ECHO_N "checking for clock_t... $ECHO_C" >&6; } |
10908 |
– |
if test "${ac_cv_type_clock_t+set}" = set; then |
10909 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10910 |
– |
else |
10911 |
– |
cat >conftest.$ac_ext <<_ACEOF |
10912 |
– |
/* confdefs.h. */ |
10913 |
– |
_ACEOF |
10914 |
– |
cat confdefs.h >>conftest.$ac_ext |
10915 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
10916 |
– |
/* end confdefs.h. */ |
10917 |
– |
$ac_includes_default |
10918 |
– |
typedef clock_t ac__type_new_; |
10919 |
– |
#ifdef FC_DUMMY_MAIN |
10920 |
– |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
10921 |
– |
# ifdef __cplusplus |
10922 |
– |
extern "C" |
10923 |
– |
# endif |
10924 |
– |
int FC_DUMMY_MAIN() { return 1; } |
10925 |
– |
#endif |
10926 |
– |
#endif |
10927 |
– |
int |
10928 |
– |
main () |
10929 |
– |
{ |
10930 |
– |
if ((ac__type_new_ *) 0) |
10931 |
– |
return 0; |
10932 |
– |
if (sizeof (ac__type_new_)) |
10933 |
– |
return 0; |
10934 |
– |
; |
10935 |
– |
return 0; |
10936 |
– |
} |
10937 |
– |
_ACEOF |
10938 |
– |
rm -f conftest.$ac_objext |
10939 |
– |
if { (ac_try="$ac_compile" |
10940 |
– |
case "(($ac_try" in |
10941 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10942 |
– |
*) ac_try_echo=$ac_try;; |
10943 |
– |
esac |
10944 |
– |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10945 |
– |
(eval "$ac_compile") 2>conftest.er1 |
10946 |
– |
ac_status=$? |
10947 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
10948 |
– |
rm -f conftest.er1 |
10949 |
– |
cat conftest.err >&5 |
10950 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10951 |
– |
(exit $ac_status); } && { |
10952 |
– |
test -z "$ac_c_werror_flag" || |
10953 |
– |
test ! -s conftest.err |
10954 |
– |
} && test -s conftest.$ac_objext; then |
10955 |
– |
ac_cv_type_clock_t=yes |
10956 |
– |
else |
10957 |
– |
echo "$as_me: failed program was:" >&5 |
10958 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
10959 |
– |
|
10960 |
– |
ac_cv_type_clock_t=no |
10961 |
– |
fi |
10962 |
– |
|
10963 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10964 |
– |
fi |
10965 |
– |
{ echo "$as_me:$LINENO: result: $ac_cv_type_clock_t" >&5 |
10966 |
– |
echo "${ECHO_T}$ac_cv_type_clock_t" >&6; } |
10967 |
– |
if test $ac_cv_type_clock_t = yes; then |
10968 |
– |
|
10969 |
– |
cat >>confdefs.h <<_ACEOF |
10970 |
– |
#define HAVE_CLOCK_T 1 |
10971 |
– |
_ACEOF |
10972 |
– |
|
10973 |
– |
|
10974 |
– |
fi |
10975 |
– |
|
10976 |
– |
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
10977 |
– |
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } |
10978 |
– |
if test "${ac_cv_c_const+set}" = set; then |
10979 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10980 |
– |
else |
10981 |
– |
cat >conftest.$ac_ext <<_ACEOF |
10982 |
– |
/* confdefs.h. */ |
10983 |
– |
_ACEOF |
10984 |
– |
cat confdefs.h >>conftest.$ac_ext |
10985 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
10986 |
– |
/* end confdefs.h. */ |
10987 |
– |
|
10988 |
– |
#ifdef FC_DUMMY_MAIN |
10989 |
– |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
10990 |
– |
# ifdef __cplusplus |
10991 |
– |
extern "C" |
10992 |
– |
# endif |
10993 |
– |
int FC_DUMMY_MAIN() { return 1; } |
10994 |
– |
#endif |
10995 |
– |
#endif |
10996 |
– |
int |
10997 |
– |
main () |
10998 |
– |
{ |
10999 |
– |
/* FIXME: Include the comments suggested by Paul. */ |
11000 |
– |
#ifndef __cplusplus |
11001 |
– |
/* Ultrix mips cc rejects this. */ |
11002 |
– |
typedef int charset[2]; |
11003 |
– |
const charset cs; |
11004 |
– |
/* SunOS 4.1.1 cc rejects this. */ |
11005 |
– |
char const *const *pcpcc; |
11006 |
– |
char **ppc; |
11007 |
– |
/* NEC SVR4.0.2 mips cc rejects this. */ |
11008 |
– |
struct point {int x, y;}; |
11009 |
– |
static struct point const zero = {0,0}; |
11010 |
– |
/* AIX XL C 1.02.0.0 rejects this. |
11011 |
– |
It does not let you subtract one const X* pointer from another in |
11012 |
– |
an arm of an if-expression whose if-part is not a constant |
11013 |
– |
expression */ |
11014 |
– |
const char *g = "string"; |
11015 |
– |
pcpcc = &g + (g ? g-g : 0); |
11016 |
– |
/* HPUX 7.0 cc rejects these. */ |
11017 |
– |
++pcpcc; |
11018 |
– |
ppc = (char**) pcpcc; |
11019 |
– |
pcpcc = (char const *const *) ppc; |
11020 |
– |
{ /* SCO 3.2v4 cc rejects this. */ |
11021 |
– |
char *t; |
11022 |
– |
char const *s = 0 ? (char *) 0 : (char const *) 0; |
11023 |
– |
|
11024 |
– |
*t++ = 0; |
11025 |
– |
if (s) return 0; |
11026 |
– |
} |
11027 |
– |
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
11028 |
– |
int x[] = {25, 17}; |
11029 |
– |
const int *foo = &x[0]; |
11030 |
– |
++foo; |
11031 |
– |
} |
11032 |
– |
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
11033 |
– |
typedef const int *iptr; |
11034 |
– |
iptr p = 0; |
11035 |
– |
++p; |
11036 |
– |
} |
11037 |
– |
{ /* AIX XL C 1.02.0.0 rejects this saying |
11038 |
– |
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
11039 |
– |
struct s { int j; const int *ap[3]; }; |
11040 |
– |
struct s *b; b->j = 5; |
11041 |
– |
} |
11042 |
– |
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
11043 |
– |
const int foo = 10; |
11044 |
– |
if (!foo) return 0; |
11045 |
– |
} |
11046 |
– |
return !cs[0] && !zero.x; |
11047 |
– |
#endif |
11048 |
– |
|
11049 |
– |
; |
11050 |
– |
return 0; |
11051 |
– |
} |
11052 |
– |
_ACEOF |
11053 |
– |
rm -f conftest.$ac_objext |
11054 |
– |
if { (ac_try="$ac_compile" |
11055 |
– |
case "(($ac_try" in |
11056 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11057 |
– |
*) ac_try_echo=$ac_try;; |
11058 |
– |
esac |
11059 |
– |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11060 |
– |
(eval "$ac_compile") 2>conftest.er1 |
11061 |
– |
ac_status=$? |
11062 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
11063 |
– |
rm -f conftest.er1 |
11064 |
– |
cat conftest.err >&5 |
11065 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11066 |
– |
(exit $ac_status); } && { |
11067 |
– |
test -z "$ac_c_werror_flag" || |
11068 |
– |
test ! -s conftest.err |
11069 |
– |
} && test -s conftest.$ac_objext; then |
11070 |
– |
ac_cv_c_const=yes |
11071 |
– |
else |
11072 |
– |
echo "$as_me: failed program was:" >&5 |
11073 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
11074 |
– |
|
11075 |
– |
ac_cv_c_const=no |
11076 |
– |
fi |
11077 |
– |
|
11078 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
11079 |
– |
fi |
11080 |
– |
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
11081 |
– |
echo "${ECHO_T}$ac_cv_c_const" >&6; } |
11082 |
– |
if test $ac_cv_c_const = no; then |
11083 |
– |
|
11084 |
– |
cat >>confdefs.h <<\_ACEOF |
11085 |
– |
#define const |
10887 |
|
_ACEOF |
10888 |
|
|
10889 |
|
fi |
10890 |
|
|
11090 |
– |
{ echo "$as_me:$LINENO: checking for inline" >&5 |
11091 |
– |
echo $ECHO_N "checking for inline... $ECHO_C" >&6; } |
11092 |
– |
if test "${ac_cv_c_inline+set}" = set; then |
11093 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11094 |
– |
else |
11095 |
– |
ac_cv_c_inline=no |
11096 |
– |
for ac_kw in inline __inline__ __inline; do |
11097 |
– |
cat >conftest.$ac_ext <<_ACEOF |
11098 |
– |
/* confdefs.h. */ |
11099 |
– |
_ACEOF |
11100 |
– |
cat confdefs.h >>conftest.$ac_ext |
11101 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
11102 |
– |
/* end confdefs.h. */ |
11103 |
– |
#ifndef __cplusplus |
11104 |
– |
typedef int foo_t; |
11105 |
– |
static $ac_kw foo_t static_foo () {return 0; } |
11106 |
– |
$ac_kw foo_t foo () {return 0; } |
11107 |
– |
#endif |
10891 |
|
|
11109 |
– |
_ACEOF |
11110 |
– |
rm -f conftest.$ac_objext |
11111 |
– |
if { (ac_try="$ac_compile" |
11112 |
– |
case "(($ac_try" in |
11113 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11114 |
– |
*) ac_try_echo=$ac_try;; |
11115 |
– |
esac |
11116 |
– |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11117 |
– |
(eval "$ac_compile") 2>conftest.er1 |
11118 |
– |
ac_status=$? |
11119 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
11120 |
– |
rm -f conftest.er1 |
11121 |
– |
cat conftest.err >&5 |
11122 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11123 |
– |
(exit $ac_status); } && { |
11124 |
– |
test -z "$ac_c_werror_flag" || |
11125 |
– |
test ! -s conftest.err |
11126 |
– |
} && test -s conftest.$ac_objext; then |
11127 |
– |
ac_cv_c_inline=$ac_kw |
11128 |
– |
else |
11129 |
– |
echo "$as_me: failed program was:" >&5 |
11130 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
11131 |
– |
|
11132 |
– |
|
11133 |
– |
fi |
11134 |
– |
|
11135 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
11136 |
– |
test "$ac_cv_c_inline" != no && break |
11137 |
– |
done |
11138 |
– |
|
11139 |
– |
fi |
11140 |
– |
{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
11141 |
– |
echo "${ECHO_T}$ac_cv_c_inline" >&6; } |
11142 |
– |
|
11143 |
– |
|
11144 |
– |
case $ac_cv_c_inline in |
11145 |
– |
inline | yes) ;; |
11146 |
– |
*) |
11147 |
– |
case $ac_cv_c_inline in |
11148 |
– |
no) ac_val=;; |
11149 |
– |
*) ac_val=$ac_cv_c_inline;; |
11150 |
– |
esac |
11151 |
– |
cat >>confdefs.h <<_ACEOF |
11152 |
– |
#ifndef __cplusplus |
11153 |
– |
#define inline $ac_val |
11154 |
– |
#endif |
11155 |
– |
_ACEOF |
11156 |
– |
;; |
11157 |
– |
esac |
11158 |
– |
|
11159 |
– |
|
10892 |
|
# Checks for library functions. |
10893 |
|
|
10894 |
|
for ac_header in stdlib.h |
10895 |
|
do |
10896 |
< |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10896 |
> |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10897 |
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10898 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10899 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
10898 |
> |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10899 |
> |
$as_echo_n "checking for $ac_header... " >&6; } |
10900 |
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10901 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10901 |
> |
$as_echo_n "(cached) " >&6 |
10902 |
|
fi |
10903 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
10904 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
10905 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
10903 |
> |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
10904 |
> |
$as_echo "$as_val"'` |
10905 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
10906 |
> |
$as_echo "$ac_res" >&6; } |
10907 |
|
else |
10908 |
|
# Is the header compilable? |
10909 |
< |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
10910 |
< |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
10909 |
> |
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
10910 |
> |
$as_echo_n "checking $ac_header usability... " >&6; } |
10911 |
|
cat >conftest.$ac_ext <<_ACEOF |
10912 |
|
/* confdefs.h. */ |
10913 |
|
_ACEOF |
10923 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10924 |
|
*) ac_try_echo=$ac_try;; |
10925 |
|
esac |
10926 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10926 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
10927 |
> |
$as_echo "$ac_try_echo") >&5 |
10928 |
|
(eval "$ac_compile") 2>conftest.er1 |
10929 |
|
ac_status=$? |
10930 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10931 |
|
rm -f conftest.er1 |
10932 |
|
cat conftest.err >&5 |
10933 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10933 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10934 |
|
(exit $ac_status); } && { |
10935 |
|
test -z "$ac_c_werror_flag" || |
10936 |
|
test ! -s conftest.err |
10937 |
|
} && test -s conftest.$ac_objext; then |
10938 |
|
ac_header_compiler=yes |
10939 |
|
else |
10940 |
< |
echo "$as_me: failed program was:" >&5 |
10940 |
> |
$as_echo "$as_me: failed program was:" >&5 |
10941 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
10942 |
|
|
10943 |
|
ac_header_compiler=no |
10944 |
|
fi |
10945 |
|
|
10946 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10947 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
10948 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
10947 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
10948 |
> |
$as_echo "$ac_header_compiler" >&6; } |
10949 |
|
|
10950 |
|
# Is the header present? |
10951 |
< |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
10952 |
< |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
10951 |
> |
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
10952 |
> |
$as_echo_n "checking $ac_header presence... " >&6; } |
10953 |
|
cat >conftest.$ac_ext <<_ACEOF |
10954 |
|
/* confdefs.h. */ |
10955 |
|
_ACEOF |
10963 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10964 |
|
*) ac_try_echo=$ac_try;; |
10965 |
|
esac |
10966 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10966 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
10967 |
> |
$as_echo "$ac_try_echo") >&5 |
10968 |
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
10969 |
|
ac_status=$? |
10970 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10971 |
|
rm -f conftest.er1 |
10972 |
|
cat conftest.err >&5 |
10973 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10973 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10974 |
|
(exit $ac_status); } >/dev/null && { |
10975 |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
10976 |
|
test ! -s conftest.err |
10977 |
|
}; then |
10978 |
|
ac_header_preproc=yes |
10979 |
|
else |
10980 |
< |
echo "$as_me: failed program was:" >&5 |
10980 |
> |
$as_echo "$as_me: failed program was:" >&5 |
10981 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
10982 |
|
|
10983 |
|
ac_header_preproc=no |
10984 |
|
fi |
10985 |
|
|
10986 |
|
rm -f conftest.err conftest.$ac_ext |
10987 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
10988 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
10987 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
10988 |
> |
$as_echo "$ac_header_preproc" >&6; } |
10989 |
|
|
10990 |
|
# So? What about this header? |
10991 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
10992 |
|
yes:no: ) |
10993 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
10994 |
< |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
10995 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
10996 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
10993 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
10994 |
> |
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
10995 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
10996 |
> |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
10997 |
|
ac_header_preproc=yes |
10998 |
|
;; |
10999 |
|
no:yes:* ) |
11000 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
11001 |
< |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
11002 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
11003 |
< |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
11004 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
11005 |
< |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
11006 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
11007 |
< |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
11008 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
11009 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
11010 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
11011 |
< |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
11000 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
11001 |
> |
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
11002 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
11003 |
> |
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
11004 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
11005 |
> |
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
11006 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
11007 |
> |
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
11008 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
11009 |
> |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
11010 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
11011 |
> |
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
11012 |
|
( cat <<\_ASBOX |
11013 |
|
## ------------------------------ ## |
11014 |
|
## Report this to gezelter@nd.edu ## |
11017 |
|
) | sed "s/^/$as_me: WARNING: /" >&2 |
11018 |
|
;; |
11019 |
|
esac |
11020 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11021 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
11020 |
> |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11021 |
> |
$as_echo_n "checking for $ac_header... " >&6; } |
11022 |
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
11023 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11023 |
> |
$as_echo_n "(cached) " >&6 |
11024 |
|
else |
11025 |
|
eval "$as_ac_Header=\$ac_header_preproc" |
11026 |
|
fi |
11027 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
11028 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
11029 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
11027 |
> |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
11028 |
> |
$as_echo "$as_val"'` |
11029 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
11030 |
> |
$as_echo "$ac_res" >&6; } |
11031 |
|
|
11032 |
|
fi |
11033 |
< |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
11033 |
> |
if test `eval 'as_val=${'$as_ac_Header'} |
11034 |
> |
$as_echo "$as_val"'` = yes; then |
11035 |
|
cat >>confdefs.h <<_ACEOF |
11036 |
< |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
11036 |
> |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
11037 |
|
_ACEOF |
11038 |
|
|
11039 |
|
fi |
11040 |
|
|
11041 |
|
done |
11042 |
|
|
11043 |
< |
{ echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 |
11044 |
< |
echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; } |
11043 |
> |
{ $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 |
11044 |
> |
$as_echo_n "checking for GNU libc compatible malloc... " >&6; } |
11045 |
|
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then |
11046 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11046 |
> |
$as_echo_n "(cached) " >&6 |
11047 |
|
else |
11048 |
|
if test "$cross_compiling" = yes; then |
11049 |
|
ac_cv_func_malloc_0_nonnull=no |
11082 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11083 |
|
*) ac_try_echo=$ac_try;; |
11084 |
|
esac |
11085 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11085 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11086 |
> |
$as_echo "$ac_try_echo") >&5 |
11087 |
|
(eval "$ac_link") 2>&5 |
11088 |
|
ac_status=$? |
11089 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11089 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11090 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11091 |
|
{ (case "(($ac_try" in |
11092 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11093 |
|
*) ac_try_echo=$ac_try;; |
11094 |
|
esac |
11095 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11095 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11096 |
> |
$as_echo "$ac_try_echo") >&5 |
11097 |
|
(eval "$ac_try") 2>&5 |
11098 |
|
ac_status=$? |
11099 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11099 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11100 |
|
(exit $ac_status); }; }; then |
11101 |
|
ac_cv_func_malloc_0_nonnull=yes |
11102 |
|
else |
11103 |
< |
echo "$as_me: program exited with status $ac_status" >&5 |
11104 |
< |
echo "$as_me: failed program was:" >&5 |
11103 |
> |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
11104 |
> |
$as_echo "$as_me: failed program was:" >&5 |
11105 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
11106 |
|
|
11107 |
|
( exit $ac_status ) |
11108 |
|
ac_cv_func_malloc_0_nonnull=no |
11109 |
|
fi |
11110 |
+ |
rm -rf conftest.dSYM |
11111 |
|
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11112 |
|
fi |
11113 |
|
|
11114 |
|
|
11115 |
|
fi |
11116 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5 |
11117 |
< |
echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; } |
11116 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5 |
11117 |
> |
$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } |
11118 |
|
if test $ac_cv_func_malloc_0_nonnull = yes; then |
11119 |
|
|
11120 |
|
cat >>confdefs.h <<\_ACEOF |
11141 |
|
|
11142 |
|
|
11143 |
|
|
11144 |
< |
{ echo "$as_me:$LINENO: checking for working memcmp" >&5 |
11145 |
< |
echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; } |
11146 |
< |
if test "${ac_cv_func_memcmp_working+set}" = set; then |
11147 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11144 |
> |
|
11145 |
> |
for ac_header in stdlib.h |
11146 |
> |
do |
11147 |
> |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11148 |
> |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
11149 |
> |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11150 |
> |
$as_echo_n "checking for $ac_header... " >&6; } |
11151 |
> |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
11152 |
> |
$as_echo_n "(cached) " >&6 |
11153 |
> |
fi |
11154 |
> |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
11155 |
> |
$as_echo "$as_val"'` |
11156 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
11157 |
> |
$as_echo "$ac_res" >&6; } |
11158 |
|
else |
11159 |
< |
if test "$cross_compiling" = yes; then |
11160 |
< |
ac_cv_func_memcmp_working=no |
11161 |
< |
else |
11162 |
< |
cat >conftest.$ac_ext <<_ACEOF |
11159 |
> |
# Is the header compilable? |
11160 |
> |
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
11161 |
> |
$as_echo_n "checking $ac_header usability... " >&6; } |
11162 |
> |
cat >conftest.$ac_ext <<_ACEOF |
11163 |
|
/* confdefs.h. */ |
11164 |
|
_ACEOF |
11165 |
|
cat confdefs.h >>conftest.$ac_ext |
11166 |
|
cat >>conftest.$ac_ext <<_ACEOF |
11167 |
|
/* end confdefs.h. */ |
11168 |
|
$ac_includes_default |
11419 |
– |
#ifdef FC_DUMMY_MAIN |
11420 |
– |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
11421 |
– |
# ifdef __cplusplus |
11422 |
– |
extern "C" |
11423 |
– |
# endif |
11424 |
– |
int FC_DUMMY_MAIN() { return 1; } |
11425 |
– |
#endif |
11426 |
– |
#endif |
11427 |
– |
int |
11428 |
– |
main () |
11429 |
– |
{ |
11430 |
– |
|
11431 |
– |
/* Some versions of memcmp are not 8-bit clean. */ |
11432 |
– |
char c0 = '\100', c1 = '\200', c2 = '\201'; |
11433 |
– |
if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0) |
11434 |
– |
return 1; |
11435 |
– |
|
11436 |
– |
/* The Next x86 OpenStep bug shows up only when comparing 16 bytes |
11437 |
– |
or more and with at least one buffer not starting on a 4-byte boundary. |
11438 |
– |
William Lewis provided this test program. */ |
11439 |
– |
{ |
11440 |
– |
char foo[21]; |
11441 |
– |
char bar[21]; |
11442 |
– |
int i; |
11443 |
– |
for (i = 0; i < 4; i++) |
11444 |
– |
{ |
11445 |
– |
char *a = foo + i; |
11446 |
– |
char *b = bar + i; |
11447 |
– |
strcpy (a, "--------01111111"); |
11448 |
– |
strcpy (b, "--------10000000"); |
11449 |
– |
if (memcmp (a, b, 16) >= 0) |
11450 |
– |
return 1; |
11451 |
– |
} |
11452 |
– |
return 0; |
11453 |
– |
} |
11454 |
– |
|
11455 |
– |
; |
11456 |
– |
return 0; |
11457 |
– |
} |
11458 |
– |
_ACEOF |
11459 |
– |
rm -f conftest$ac_exeext |
11460 |
– |
if { (ac_try="$ac_link" |
11461 |
– |
case "(($ac_try" in |
11462 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11463 |
– |
*) ac_try_echo=$ac_try;; |
11464 |
– |
esac |
11465 |
– |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11466 |
– |
(eval "$ac_link") 2>&5 |
11467 |
– |
ac_status=$? |
11468 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11469 |
– |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11470 |
– |
{ (case "(($ac_try" in |
11471 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11472 |
– |
*) ac_try_echo=$ac_try;; |
11473 |
– |
esac |
11474 |
– |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11475 |
– |
(eval "$ac_try") 2>&5 |
11476 |
– |
ac_status=$? |
11477 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11478 |
– |
(exit $ac_status); }; }; then |
11479 |
– |
ac_cv_func_memcmp_working=yes |
11480 |
– |
else |
11481 |
– |
echo "$as_me: program exited with status $ac_status" >&5 |
11482 |
– |
echo "$as_me: failed program was:" >&5 |
11483 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
11484 |
– |
|
11485 |
– |
( exit $ac_status ) |
11486 |
– |
ac_cv_func_memcmp_working=no |
11487 |
– |
fi |
11488 |
– |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11489 |
– |
fi |
11490 |
– |
|
11491 |
– |
|
11492 |
– |
fi |
11493 |
– |
{ echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5 |
11494 |
– |
echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; } |
11495 |
– |
test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in |
11496 |
– |
*" memcmp.$ac_objext "* ) ;; |
11497 |
– |
*) LIBOBJS="$LIBOBJS memcmp.$ac_objext" |
11498 |
– |
;; |
11499 |
– |
esac |
11500 |
– |
|
11501 |
– |
|
11502 |
– |
|
11503 |
– |
for ac_header in stdlib.h |
11504 |
– |
do |
11505 |
– |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11506 |
– |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
11507 |
– |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11508 |
– |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
11509 |
– |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
11510 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11511 |
– |
fi |
11512 |
– |
ac_res=`eval echo '${'$as_ac_Header'}'` |
11513 |
– |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
11514 |
– |
echo "${ECHO_T}$ac_res" >&6; } |
11515 |
– |
else |
11516 |
– |
# Is the header compilable? |
11517 |
– |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
11518 |
– |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
11519 |
– |
cat >conftest.$ac_ext <<_ACEOF |
11520 |
– |
/* confdefs.h. */ |
11521 |
– |
_ACEOF |
11522 |
– |
cat confdefs.h >>conftest.$ac_ext |
11523 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
11524 |
– |
/* end confdefs.h. */ |
11525 |
– |
$ac_includes_default |
11169 |
|
#include <$ac_header> |
11170 |
|
_ACEOF |
11171 |
|
rm -f conftest.$ac_objext |
11174 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11175 |
|
*) ac_try_echo=$ac_try;; |
11176 |
|
esac |
11177 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11177 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11178 |
> |
$as_echo "$ac_try_echo") >&5 |
11179 |
|
(eval "$ac_compile") 2>conftest.er1 |
11180 |
|
ac_status=$? |
11181 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
11182 |
|
rm -f conftest.er1 |
11183 |
|
cat conftest.err >&5 |
11184 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11184 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11185 |
|
(exit $ac_status); } && { |
11186 |
|
test -z "$ac_c_werror_flag" || |
11187 |
|
test ! -s conftest.err |
11188 |
|
} && test -s conftest.$ac_objext; then |
11189 |
|
ac_header_compiler=yes |
11190 |
|
else |
11191 |
< |
echo "$as_me: failed program was:" >&5 |
11191 |
> |
$as_echo "$as_me: failed program was:" >&5 |
11192 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
11193 |
|
|
11194 |
|
ac_header_compiler=no |
11195 |
|
fi |
11196 |
|
|
11197 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
11198 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
11199 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
11198 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
11199 |
> |
$as_echo "$ac_header_compiler" >&6; } |
11200 |
|
|
11201 |
|
# Is the header present? |
11202 |
< |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
11203 |
< |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
11202 |
> |
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
11203 |
> |
$as_echo_n "checking $ac_header presence... " >&6; } |
11204 |
|
cat >conftest.$ac_ext <<_ACEOF |
11205 |
|
/* confdefs.h. */ |
11206 |
|
_ACEOF |
11214 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11215 |
|
*) ac_try_echo=$ac_try;; |
11216 |
|
esac |
11217 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11217 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11218 |
> |
$as_echo "$ac_try_echo") >&5 |
11219 |
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
11220 |
|
ac_status=$? |
11221 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
11222 |
|
rm -f conftest.er1 |
11223 |
|
cat conftest.err >&5 |
11224 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11224 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11225 |
|
(exit $ac_status); } >/dev/null && { |
11226 |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
11227 |
|
test ! -s conftest.err |
11228 |
|
}; then |
11229 |
|
ac_header_preproc=yes |
11230 |
|
else |
11231 |
< |
echo "$as_me: failed program was:" >&5 |
11231 |
> |
$as_echo "$as_me: failed program was:" >&5 |
11232 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
11233 |
|
|
11234 |
|
ac_header_preproc=no |
11235 |
|
fi |
11236 |
|
|
11237 |
|
rm -f conftest.err conftest.$ac_ext |
11238 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
11239 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
11238 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
11239 |
> |
$as_echo "$ac_header_preproc" >&6; } |
11240 |
|
|
11241 |
|
# So? What about this header? |
11242 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
11243 |
|
yes:no: ) |
11244 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
11245 |
< |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
11246 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
11247 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
11244 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
11245 |
> |
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
11246 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
11247 |
> |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
11248 |
|
ac_header_preproc=yes |
11249 |
|
;; |
11250 |
|
no:yes:* ) |
11251 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
11252 |
< |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
11253 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
11254 |
< |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
11255 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
11256 |
< |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
11257 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
11258 |
< |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
11259 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
11260 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
11261 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
11262 |
< |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
11251 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
11252 |
> |
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
11253 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
11254 |
> |
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
11255 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
11256 |
> |
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
11257 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
11258 |
> |
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
11259 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
11260 |
> |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
11261 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
11262 |
> |
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
11263 |
|
( cat <<\_ASBOX |
11264 |
|
## ------------------------------ ## |
11265 |
|
## Report this to gezelter@nd.edu ## |
11268 |
|
) | sed "s/^/$as_me: WARNING: /" >&2 |
11269 |
|
;; |
11270 |
|
esac |
11271 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11272 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
11271 |
> |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11272 |
> |
$as_echo_n "checking for $ac_header... " >&6; } |
11273 |
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
11274 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11274 |
> |
$as_echo_n "(cached) " >&6 |
11275 |
|
else |
11276 |
|
eval "$as_ac_Header=\$ac_header_preproc" |
11277 |
|
fi |
11278 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
11279 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
11280 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
11278 |
> |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
11279 |
> |
$as_echo "$as_val"'` |
11280 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
11281 |
> |
$as_echo "$ac_res" >&6; } |
11282 |
|
|
11283 |
|
fi |
11284 |
< |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
11284 |
> |
if test `eval 'as_val=${'$as_ac_Header'} |
11285 |
> |
$as_echo "$as_val"'` = yes; then |
11286 |
|
cat >>confdefs.h <<_ACEOF |
11287 |
< |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
11287 |
> |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
11288 |
|
_ACEOF |
11289 |
|
|
11290 |
|
fi |
11291 |
|
|
11292 |
|
done |
11293 |
|
|
11294 |
< |
{ echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5 |
11295 |
< |
echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6; } |
11294 |
> |
{ $as_echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5 |
11295 |
> |
$as_echo_n "checking for GNU libc compatible realloc... " >&6; } |
11296 |
|
if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then |
11297 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11297 |
> |
$as_echo_n "(cached) " >&6 |
11298 |
|
else |
11299 |
|
if test "$cross_compiling" = yes; then |
11300 |
|
ac_cv_func_realloc_0_nonnull=no |
11333 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11334 |
|
*) ac_try_echo=$ac_try;; |
11335 |
|
esac |
11336 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11336 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11337 |
> |
$as_echo "$ac_try_echo") >&5 |
11338 |
|
(eval "$ac_link") 2>&5 |
11339 |
|
ac_status=$? |
11340 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11340 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11341 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11342 |
|
{ (case "(($ac_try" in |
11343 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11344 |
|
*) ac_try_echo=$ac_try;; |
11345 |
|
esac |
11346 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11346 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11347 |
> |
$as_echo "$ac_try_echo") >&5 |
11348 |
|
(eval "$ac_try") 2>&5 |
11349 |
|
ac_status=$? |
11350 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11350 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11351 |
|
(exit $ac_status); }; }; then |
11352 |
|
ac_cv_func_realloc_0_nonnull=yes |
11353 |
|
else |
11354 |
< |
echo "$as_me: program exited with status $ac_status" >&5 |
11355 |
< |
echo "$as_me: failed program was:" >&5 |
11354 |
> |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
11355 |
> |
$as_echo "$as_me: failed program was:" >&5 |
11356 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
11357 |
|
|
11358 |
|
( exit $ac_status ) |
11359 |
|
ac_cv_func_realloc_0_nonnull=no |
11360 |
|
fi |
11361 |
+ |
rm -rf conftest.dSYM |
11362 |
|
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11363 |
|
fi |
11364 |
|
|
11365 |
|
|
11366 |
|
fi |
11367 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5 |
11368 |
< |
echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6; } |
11367 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5 |
11368 |
> |
$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; } |
11369 |
|
if test $ac_cv_func_realloc_0_nonnull = yes; then |
11370 |
|
|
11371 |
|
cat >>confdefs.h <<\_ACEOF |
11396 |
|
|
11397 |
|
for ac_header in sys/select.h sys/socket.h |
11398 |
|
do |
11399 |
< |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11399 |
> |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11400 |
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
11401 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11402 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
11401 |
> |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11402 |
> |
$as_echo_n "checking for $ac_header... " >&6; } |
11403 |
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
11404 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11404 |
> |
$as_echo_n "(cached) " >&6 |
11405 |
|
fi |
11406 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
11407 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
11408 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
11406 |
> |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
11407 |
> |
$as_echo "$as_val"'` |
11408 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
11409 |
> |
$as_echo "$ac_res" >&6; } |
11410 |
|
else |
11411 |
|
# Is the header compilable? |
11412 |
< |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
11413 |
< |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
11412 |
> |
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
11413 |
> |
$as_echo_n "checking $ac_header usability... " >&6; } |
11414 |
|
cat >conftest.$ac_ext <<_ACEOF |
11415 |
|
/* confdefs.h. */ |
11416 |
|
_ACEOF |
11426 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11427 |
|
*) ac_try_echo=$ac_try;; |
11428 |
|
esac |
11429 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11429 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11430 |
> |
$as_echo "$ac_try_echo") >&5 |
11431 |
|
(eval "$ac_compile") 2>conftest.er1 |
11432 |
|
ac_status=$? |
11433 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
11434 |
|
rm -f conftest.er1 |
11435 |
|
cat conftest.err >&5 |
11436 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11436 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11437 |
|
(exit $ac_status); } && { |
11438 |
|
test -z "$ac_c_werror_flag" || |
11439 |
|
test ! -s conftest.err |
11440 |
|
} && test -s conftest.$ac_objext; then |
11441 |
|
ac_header_compiler=yes |
11442 |
|
else |
11443 |
< |
echo "$as_me: failed program was:" >&5 |
11443 |
> |
$as_echo "$as_me: failed program was:" >&5 |
11444 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
11445 |
|
|
11446 |
|
ac_header_compiler=no |
11447 |
|
fi |
11448 |
|
|
11449 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
11450 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
11451 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
11450 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
11451 |
> |
$as_echo "$ac_header_compiler" >&6; } |
11452 |
|
|
11453 |
|
# Is the header present? |
11454 |
< |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
11455 |
< |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
11454 |
> |
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
11455 |
> |
$as_echo_n "checking $ac_header presence... " >&6; } |
11456 |
|
cat >conftest.$ac_ext <<_ACEOF |
11457 |
|
/* confdefs.h. */ |
11458 |
|
_ACEOF |
11466 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11467 |
|
*) ac_try_echo=$ac_try;; |
11468 |
|
esac |
11469 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11469 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11470 |
> |
$as_echo "$ac_try_echo") >&5 |
11471 |
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
11472 |
|
ac_status=$? |
11473 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
11474 |
|
rm -f conftest.er1 |
11475 |
|
cat conftest.err >&5 |
11476 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11476 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11477 |
|
(exit $ac_status); } >/dev/null && { |
11478 |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
11479 |
|
test ! -s conftest.err |
11480 |
|
}; then |
11481 |
|
ac_header_preproc=yes |
11482 |
|
else |
11483 |
< |
echo "$as_me: failed program was:" >&5 |
11483 |
> |
$as_echo "$as_me: failed program was:" >&5 |
11484 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
11485 |
|
|
11486 |
|
ac_header_preproc=no |
11487 |
|
fi |
11488 |
|
|
11489 |
|
rm -f conftest.err conftest.$ac_ext |
11490 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
11491 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
11490 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
11491 |
> |
$as_echo "$ac_header_preproc" >&6; } |
11492 |
|
|
11493 |
|
# So? What about this header? |
11494 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
11495 |
|
yes:no: ) |
11496 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
11497 |
< |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
11498 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
11499 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
11496 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
11497 |
> |
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
11498 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
11499 |
> |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
11500 |
|
ac_header_preproc=yes |
11501 |
|
;; |
11502 |
|
no:yes:* ) |
11503 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
11504 |
< |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
11505 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
11506 |
< |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
11507 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
11508 |
< |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
11509 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
11510 |
< |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
11511 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
11512 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
11513 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
11514 |
< |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
11503 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
11504 |
> |
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
11505 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
11506 |
> |
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
11507 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
11508 |
> |
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
11509 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
11510 |
> |
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
11511 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
11512 |
> |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
11513 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
11514 |
> |
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
11515 |
|
( cat <<\_ASBOX |
11516 |
|
## ------------------------------ ## |
11517 |
|
## Report this to gezelter@nd.edu ## |
11520 |
|
) | sed "s/^/$as_me: WARNING: /" >&2 |
11521 |
|
;; |
11522 |
|
esac |
11523 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11524 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
11523 |
> |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11524 |
> |
$as_echo_n "checking for $ac_header... " >&6; } |
11525 |
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
11526 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11526 |
> |
$as_echo_n "(cached) " >&6 |
11527 |
|
else |
11528 |
|
eval "$as_ac_Header=\$ac_header_preproc" |
11529 |
|
fi |
11530 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
11531 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
11532 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
11530 |
> |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
11531 |
> |
$as_echo "$as_val"'` |
11532 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
11533 |
> |
$as_echo "$ac_res" >&6; } |
11534 |
|
|
11535 |
|
fi |
11536 |
< |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
11536 |
> |
if test `eval 'as_val=${'$as_ac_Header'} |
11537 |
> |
$as_echo "$as_val"'` = yes; then |
11538 |
|
cat >>confdefs.h <<_ACEOF |
11539 |
< |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
11539 |
> |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
11540 |
|
_ACEOF |
11541 |
|
|
11542 |
|
fi |
11543 |
|
|
11544 |
|
done |
11545 |
|
|
11546 |
< |
{ echo "$as_me:$LINENO: checking types of arguments for select" >&5 |
11547 |
< |
echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6; } |
11546 |
> |
{ $as_echo "$as_me:$LINENO: checking types of arguments for select" >&5 |
11547 |
> |
$as_echo_n "checking types of arguments for select... " >&6; } |
11548 |
|
if test "${ac_cv_func_select_args+set}" = set; then |
11549 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11549 |
> |
$as_echo_n "(cached) " >&6 |
11550 |
|
else |
11551 |
|
for ac_arg234 in 'fd_set *' 'int *' 'void *'; do |
11552 |
|
for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do |
11589 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11590 |
|
*) ac_try_echo=$ac_try;; |
11591 |
|
esac |
11592 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11592 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11593 |
> |
$as_echo "$ac_try_echo") >&5 |
11594 |
|
(eval "$ac_compile") 2>conftest.er1 |
11595 |
|
ac_status=$? |
11596 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
11597 |
|
rm -f conftest.er1 |
11598 |
|
cat conftest.err >&5 |
11599 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11599 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11600 |
|
(exit $ac_status); } && { |
11601 |
|
test -z "$ac_c_werror_flag" || |
11602 |
|
test ! -s conftest.err |
11603 |
|
} && test -s conftest.$ac_objext; then |
11604 |
|
ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3 |
11605 |
|
else |
11606 |
< |
echo "$as_me: failed program was:" >&5 |
11606 |
> |
$as_echo "$as_me: failed program was:" >&5 |
11607 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
11608 |
|
|
11609 |
|
|
11617 |
|
: ${ac_cv_func_select_args='int,int *,struct timeval *'} |
11618 |
|
|
11619 |
|
fi |
11620 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5 |
11621 |
< |
echo "${ECHO_T}$ac_cv_func_select_args" >&6; } |
11620 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5 |
11621 |
> |
$as_echo "$ac_cv_func_select_args" >&6; } |
11622 |
|
ac_save_IFS=$IFS; IFS=',' |
11623 |
|
set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'` |
11624 |
|
IFS=$ac_save_IFS |
11640 |
|
|
11641 |
|
rm -f conftest* |
11642 |
|
|
11643 |
< |
|
11644 |
< |
for ac_func in strftime |
11989 |
< |
do |
11990 |
< |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11991 |
< |
{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
11992 |
< |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
11993 |
< |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
11994 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11995 |
< |
else |
11996 |
< |
cat >conftest.$ac_ext <<_ACEOF |
11997 |
< |
/* confdefs.h. */ |
11998 |
< |
_ACEOF |
11999 |
< |
cat confdefs.h >>conftest.$ac_ext |
12000 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12001 |
< |
/* end confdefs.h. */ |
12002 |
< |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
12003 |
< |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
12004 |
< |
#define $ac_func innocuous_$ac_func |
12005 |
< |
|
12006 |
< |
/* System header to define __stub macros and hopefully few prototypes, |
12007 |
< |
which can conflict with char $ac_func (); below. |
12008 |
< |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
12009 |
< |
<limits.h> exists even on freestanding compilers. */ |
12010 |
< |
|
12011 |
< |
#ifdef __STDC__ |
12012 |
< |
# include <limits.h> |
12013 |
< |
#else |
12014 |
< |
# include <assert.h> |
12015 |
< |
#endif |
12016 |
< |
|
12017 |
< |
#undef $ac_func |
12018 |
< |
|
12019 |
< |
/* Override any GCC internal prototype to avoid an error. |
12020 |
< |
Use char because int might match the return type of a GCC |
12021 |
< |
builtin and then its argument prototype would still apply. */ |
12022 |
< |
#ifdef __cplusplus |
12023 |
< |
extern "C" |
12024 |
< |
#endif |
12025 |
< |
char $ac_func (); |
12026 |
< |
/* The GNU C library defines this for functions which it implements |
12027 |
< |
to always fail with ENOSYS. Some functions are actually named |
12028 |
< |
something starting with __ and the normal name is an alias. */ |
12029 |
< |
#if defined __stub_$ac_func || defined __stub___$ac_func |
12030 |
< |
choke me |
12031 |
< |
#endif |
12032 |
< |
|
12033 |
< |
#ifdef FC_DUMMY_MAIN |
12034 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
12035 |
< |
# ifdef __cplusplus |
12036 |
< |
extern "C" |
12037 |
< |
# endif |
12038 |
< |
int FC_DUMMY_MAIN() { return 1; } |
12039 |
< |
#endif |
12040 |
< |
#endif |
12041 |
< |
int |
12042 |
< |
main () |
12043 |
< |
{ |
12044 |
< |
return $ac_func (); |
12045 |
< |
; |
12046 |
< |
return 0; |
12047 |
< |
} |
12048 |
< |
_ACEOF |
12049 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
12050 |
< |
if { (ac_try="$ac_link" |
12051 |
< |
case "(($ac_try" in |
12052 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12053 |
< |
*) ac_try_echo=$ac_try;; |
12054 |
< |
esac |
12055 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12056 |
< |
(eval "$ac_link") 2>conftest.er1 |
12057 |
< |
ac_status=$? |
12058 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12059 |
< |
rm -f conftest.er1 |
12060 |
< |
cat conftest.err >&5 |
12061 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12062 |
< |
(exit $ac_status); } && { |
12063 |
< |
test -z "$ac_c_werror_flag" || |
12064 |
< |
test ! -s conftest.err |
12065 |
< |
} && test -s conftest$ac_exeext && |
12066 |
< |
$as_test_x conftest$ac_exeext; then |
12067 |
< |
eval "$as_ac_var=yes" |
12068 |
< |
else |
12069 |
< |
echo "$as_me: failed program was:" >&5 |
12070 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12071 |
< |
|
12072 |
< |
eval "$as_ac_var=no" |
12073 |
< |
fi |
12074 |
< |
|
12075 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12076 |
< |
conftest$ac_exeext conftest.$ac_ext |
12077 |
< |
fi |
12078 |
< |
ac_res=`eval echo '${'$as_ac_var'}'` |
12079 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
12080 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
12081 |
< |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
12082 |
< |
cat >>confdefs.h <<_ACEOF |
12083 |
< |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12084 |
< |
_ACEOF |
12085 |
< |
|
12086 |
< |
else |
12087 |
< |
# strftime is in -lintl on SCO UNIX. |
12088 |
< |
{ echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 |
12089 |
< |
echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; } |
12090 |
< |
if test "${ac_cv_lib_intl_strftime+set}" = set; then |
12091 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12092 |
< |
else |
12093 |
< |
ac_check_lib_save_LIBS=$LIBS |
12094 |
< |
LIBS="-lintl $LIBS" |
12095 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12096 |
< |
/* confdefs.h. */ |
12097 |
< |
_ACEOF |
12098 |
< |
cat confdefs.h >>conftest.$ac_ext |
12099 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12100 |
< |
/* end confdefs.h. */ |
12101 |
< |
|
12102 |
< |
/* Override any GCC internal prototype to avoid an error. |
12103 |
< |
Use char because int might match the return type of a GCC |
12104 |
< |
builtin and then its argument prototype would still apply. */ |
12105 |
< |
#ifdef __cplusplus |
12106 |
< |
extern "C" |
12107 |
< |
#endif |
12108 |
< |
char strftime (); |
12109 |
< |
#ifdef FC_DUMMY_MAIN |
12110 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
12111 |
< |
# ifdef __cplusplus |
12112 |
< |
extern "C" |
12113 |
< |
# endif |
12114 |
< |
int FC_DUMMY_MAIN() { return 1; } |
12115 |
< |
#endif |
12116 |
< |
#endif |
12117 |
< |
int |
12118 |
< |
main () |
12119 |
< |
{ |
12120 |
< |
return strftime (); |
12121 |
< |
; |
12122 |
< |
return 0; |
12123 |
< |
} |
12124 |
< |
_ACEOF |
12125 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
12126 |
< |
if { (ac_try="$ac_link" |
12127 |
< |
case "(($ac_try" in |
12128 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12129 |
< |
*) ac_try_echo=$ac_try;; |
12130 |
< |
esac |
12131 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12132 |
< |
(eval "$ac_link") 2>conftest.er1 |
12133 |
< |
ac_status=$? |
12134 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12135 |
< |
rm -f conftest.er1 |
12136 |
< |
cat conftest.err >&5 |
12137 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12138 |
< |
(exit $ac_status); } && { |
12139 |
< |
test -z "$ac_c_werror_flag" || |
12140 |
< |
test ! -s conftest.err |
12141 |
< |
} && test -s conftest$ac_exeext && |
12142 |
< |
$as_test_x conftest$ac_exeext; then |
12143 |
< |
ac_cv_lib_intl_strftime=yes |
12144 |
< |
else |
12145 |
< |
echo "$as_me: failed program was:" >&5 |
12146 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12147 |
< |
|
12148 |
< |
ac_cv_lib_intl_strftime=no |
12149 |
< |
fi |
12150 |
< |
|
12151 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12152 |
< |
conftest$ac_exeext conftest.$ac_ext |
12153 |
< |
LIBS=$ac_check_lib_save_LIBS |
12154 |
< |
fi |
12155 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 |
12156 |
< |
echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; } |
12157 |
< |
if test $ac_cv_lib_intl_strftime = yes; then |
12158 |
< |
cat >>confdefs.h <<\_ACEOF |
12159 |
< |
#define HAVE_STRFTIME 1 |
12160 |
< |
_ACEOF |
12161 |
< |
|
12162 |
< |
LIBS="-lintl $LIBS" |
12163 |
< |
fi |
12164 |
< |
|
12165 |
< |
fi |
12166 |
< |
done |
12167 |
< |
|
12168 |
< |
{ echo "$as_me:$LINENO: checking for working strtod" >&5 |
12169 |
< |
echo $ECHO_N "checking for working strtod... $ECHO_C" >&6; } |
11643 |
> |
{ $as_echo "$as_me:$LINENO: checking for working strtod" >&5 |
11644 |
> |
$as_echo_n "checking for working strtod... " >&6; } |
11645 |
|
if test "${ac_cv_func_strtod+set}" = set; then |
11646 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11646 |
> |
$as_echo_n "(cached) " >&6 |
11647 |
|
else |
11648 |
|
if test "$cross_compiling" = yes; then |
11649 |
|
ac_cv_func_strtod=no |
11691 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11692 |
|
*) ac_try_echo=$ac_try;; |
11693 |
|
esac |
11694 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11694 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11695 |
> |
$as_echo "$ac_try_echo") >&5 |
11696 |
|
(eval "$ac_link") 2>&5 |
11697 |
|
ac_status=$? |
11698 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11698 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11699 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11700 |
|
{ (case "(($ac_try" in |
11701 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11702 |
|
*) ac_try_echo=$ac_try;; |
11703 |
|
esac |
11704 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11704 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11705 |
> |
$as_echo "$ac_try_echo") >&5 |
11706 |
|
(eval "$ac_try") 2>&5 |
11707 |
|
ac_status=$? |
11708 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11708 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11709 |
|
(exit $ac_status); }; }; then |
11710 |
|
ac_cv_func_strtod=yes |
11711 |
|
else |
11712 |
< |
echo "$as_me: program exited with status $ac_status" >&5 |
11713 |
< |
echo "$as_me: failed program was:" >&5 |
11712 |
> |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
11713 |
> |
$as_echo "$as_me: failed program was:" >&5 |
11714 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
11715 |
|
|
11716 |
|
( exit $ac_status ) |
11717 |
|
ac_cv_func_strtod=no |
11718 |
|
fi |
11719 |
+ |
rm -rf conftest.dSYM |
11720 |
|
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11721 |
|
fi |
11722 |
|
|
11723 |
|
|
11724 |
|
fi |
11725 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5 |
11726 |
< |
echo "${ECHO_T}$ac_cv_func_strtod" >&6; } |
11725 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5 |
11726 |
> |
$as_echo "$ac_cv_func_strtod" >&6; } |
11727 |
|
if test $ac_cv_func_strtod = no; then |
11728 |
|
case " $LIBOBJS " in |
11729 |
|
*" strtod.$ac_objext "* ) ;; |
11731 |
|
;; |
11732 |
|
esac |
11733 |
|
|
11734 |
< |
{ echo "$as_me:$LINENO: checking for pow" >&5 |
11735 |
< |
echo $ECHO_N "checking for pow... $ECHO_C" >&6; } |
11734 |
> |
{ $as_echo "$as_me:$LINENO: checking for pow" >&5 |
11735 |
> |
$as_echo_n "checking for pow... " >&6; } |
11736 |
|
if test "${ac_cv_func_pow+set}" = set; then |
11737 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11737 |
> |
$as_echo_n "(cached) " >&6 |
11738 |
|
else |
11739 |
|
cat >conftest.$ac_ext <<_ACEOF |
11740 |
|
/* confdefs.h. */ |
11795 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11796 |
|
*) ac_try_echo=$ac_try;; |
11797 |
|
esac |
11798 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11798 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11799 |
> |
$as_echo "$ac_try_echo") >&5 |
11800 |
|
(eval "$ac_link") 2>conftest.er1 |
11801 |
|
ac_status=$? |
11802 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
11803 |
|
rm -f conftest.er1 |
11804 |
|
cat conftest.err >&5 |
11805 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11805 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11806 |
|
(exit $ac_status); } && { |
11807 |
|
test -z "$ac_c_werror_flag" || |
11808 |
|
test ! -s conftest.err |
11809 |
< |
} && test -s conftest$ac_exeext && |
11810 |
< |
$as_test_x conftest$ac_exeext; then |
11809 |
> |
} && test -s conftest$ac_exeext && { |
11810 |
> |
test "$cross_compiling" = yes || |
11811 |
> |
$as_test_x conftest$ac_exeext |
11812 |
> |
}; then |
11813 |
|
ac_cv_func_pow=yes |
11814 |
|
else |
11815 |
< |
echo "$as_me: failed program was:" >&5 |
11815 |
> |
$as_echo "$as_me: failed program was:" >&5 |
11816 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
11817 |
|
|
11818 |
|
ac_cv_func_pow=no |
11819 |
|
fi |
11820 |
|
|
11821 |
+ |
rm -rf conftest.dSYM |
11822 |
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11823 |
|
conftest$ac_exeext conftest.$ac_ext |
11824 |
|
fi |
11825 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5 |
11826 |
< |
echo "${ECHO_T}$ac_cv_func_pow" >&6; } |
11825 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5 |
11826 |
> |
$as_echo "$ac_cv_func_pow" >&6; } |
11827 |
|
|
11828 |
|
if test $ac_cv_func_pow = no; then |
11829 |
< |
{ echo "$as_me:$LINENO: checking for pow in -lm" >&5 |
11830 |
< |
echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6; } |
11829 |
> |
{ $as_echo "$as_me:$LINENO: checking for pow in -lm" >&5 |
11830 |
> |
$as_echo_n "checking for pow in -lm... " >&6; } |
11831 |
|
if test "${ac_cv_lib_m_pow+set}" = set; then |
11832 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11832 |
> |
$as_echo_n "(cached) " >&6 |
11833 |
|
else |
11834 |
|
ac_check_lib_save_LIBS=$LIBS |
11835 |
|
LIBS="-lm $LIBS" |
11869 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11870 |
|
*) ac_try_echo=$ac_try;; |
11871 |
|
esac |
11872 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11872 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11873 |
> |
$as_echo "$ac_try_echo") >&5 |
11874 |
|
(eval "$ac_link") 2>conftest.er1 |
11875 |
|
ac_status=$? |
11876 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
11877 |
|
rm -f conftest.er1 |
11878 |
|
cat conftest.err >&5 |
11879 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11879 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11880 |
|
(exit $ac_status); } && { |
11881 |
|
test -z "$ac_c_werror_flag" || |
11882 |
|
test ! -s conftest.err |
11883 |
< |
} && test -s conftest$ac_exeext && |
11884 |
< |
$as_test_x conftest$ac_exeext; then |
11883 |
> |
} && test -s conftest$ac_exeext && { |
11884 |
> |
test "$cross_compiling" = yes || |
11885 |
> |
$as_test_x conftest$ac_exeext |
11886 |
> |
}; then |
11887 |
|
ac_cv_lib_m_pow=yes |
11888 |
|
else |
11889 |
< |
echo "$as_me: failed program was:" >&5 |
11889 |
> |
$as_echo "$as_me: failed program was:" >&5 |
11890 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
11891 |
|
|
11892 |
|
ac_cv_lib_m_pow=no |
11893 |
|
fi |
11894 |
|
|
11895 |
+ |
rm -rf conftest.dSYM |
11896 |
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11897 |
|
conftest$ac_exeext conftest.$ac_ext |
11898 |
|
LIBS=$ac_check_lib_save_LIBS |
11899 |
|
fi |
11900 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5 |
11901 |
< |
echo "${ECHO_T}$ac_cv_lib_m_pow" >&6; } |
11900 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5 |
11901 |
> |
$as_echo "$ac_cv_lib_m_pow" >&6; } |
11902 |
|
if test $ac_cv_lib_m_pow = yes; then |
11903 |
|
POW_LIB=-lm |
11904 |
|
else |
11905 |
< |
{ echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5 |
11906 |
< |
echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;} |
11905 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5 |
11906 |
> |
$as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;} |
11907 |
|
fi |
11908 |
|
|
11909 |
|
fi |
11931 |
|
|
11932 |
|
|
11933 |
|
|
11934 |
< |
|
12449 |
< |
|
12450 |
< |
|
12451 |
< |
|
12452 |
< |
|
12453 |
< |
|
12454 |
< |
for ac_func in floor getpagesize gettimeofday memchr memmove memset pow pstat_getdynamic pstat_getstatic rint select snprintf sranddev sqrt strcasecmp strchr strdup stricmp strncasecmp strnicmp strrchr strstr strtol sysmp getsysinfo sysctl table |
11934 |
> |
for ac_func in floor getpagesize gettimeofday memset pow pstat_getdynamic pstat_getstatic select sqrt strcasecmp strchr strdup stricmp strncasecmp strnicmp strstr strtol sysmp getsysinfo sysctl table |
11935 |
|
do |
11936 |
< |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11937 |
< |
{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
11938 |
< |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
11936 |
> |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11937 |
> |
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
11938 |
> |
$as_echo_n "checking for $ac_func... " >&6; } |
11939 |
|
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
11940 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11940 |
> |
$as_echo_n "(cached) " >&6 |
11941 |
|
else |
11942 |
|
cat >conftest.$ac_ext <<_ACEOF |
11943 |
|
/* confdefs.h. */ |
11998 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11999 |
|
*) ac_try_echo=$ac_try;; |
12000 |
|
esac |
12001 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12001 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12002 |
> |
$as_echo "$ac_try_echo") >&5 |
12003 |
|
(eval "$ac_link") 2>conftest.er1 |
12004 |
|
ac_status=$? |
12005 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
12006 |
|
rm -f conftest.er1 |
12007 |
|
cat conftest.err >&5 |
12008 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12008 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12009 |
|
(exit $ac_status); } && { |
12010 |
|
test -z "$ac_c_werror_flag" || |
12011 |
|
test ! -s conftest.err |
12012 |
< |
} && test -s conftest$ac_exeext && |
12013 |
< |
$as_test_x conftest$ac_exeext; then |
12012 |
> |
} && test -s conftest$ac_exeext && { |
12013 |
> |
test "$cross_compiling" = yes || |
12014 |
> |
$as_test_x conftest$ac_exeext |
12015 |
> |
}; then |
12016 |
|
eval "$as_ac_var=yes" |
12017 |
|
else |
12018 |
< |
echo "$as_me: failed program was:" >&5 |
12018 |
> |
$as_echo "$as_me: failed program was:" >&5 |
12019 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
12020 |
|
|
12021 |
|
eval "$as_ac_var=no" |
12022 |
|
fi |
12023 |
|
|
12024 |
+ |
rm -rf conftest.dSYM |
12025 |
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12026 |
|
conftest$ac_exeext conftest.$ac_ext |
12027 |
|
fi |
12028 |
< |
ac_res=`eval echo '${'$as_ac_var'}'` |
12029 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
12030 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
12031 |
< |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
12028 |
> |
ac_res=`eval 'as_val=${'$as_ac_var'} |
12029 |
> |
$as_echo "$as_val"'` |
12030 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
12031 |
> |
$as_echo "$ac_res" >&6; } |
12032 |
> |
if test `eval 'as_val=${'$as_ac_var'} |
12033 |
> |
$as_echo "$as_val"'` = yes; then |
12034 |
|
cat >>confdefs.h <<_ACEOF |
12035 |
< |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12035 |
> |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12036 |
|
_ACEOF |
12037 |
|
|
12038 |
|
fi |
12041 |
|
|
12042 |
|
# special check for _system_configuration because AIX <4.3.2 do not |
12043 |
|
# contain the `physmem' member. |
12044 |
< |
{ echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5 |
12045 |
< |
echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6; } |
12044 |
> |
{ $as_echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5 |
12045 |
> |
$as_echo_n "checking for external symbol _system_configuration... " >&6; } |
12046 |
|
cat >conftest.$ac_ext <<_ACEOF |
12047 |
|
/* confdefs.h. */ |
12048 |
|
_ACEOF |
12072 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12073 |
|
*) ac_try_echo=$ac_try;; |
12074 |
|
esac |
12075 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12075 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12076 |
> |
$as_echo "$ac_try_echo") >&5 |
12077 |
|
(eval "$ac_compile") 2>conftest.er1 |
12078 |
|
ac_status=$? |
12079 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
12080 |
|
rm -f conftest.er1 |
12081 |
|
cat conftest.err >&5 |
12082 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12082 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12083 |
|
(exit $ac_status); } && { |
12084 |
|
test -z "$ac_c_werror_flag" || |
12085 |
|
test ! -s conftest.err |
12086 |
|
} && test -s conftest.$ac_objext; then |
12087 |
< |
{ echo "$as_me:$LINENO: result: yes" >&5 |
12088 |
< |
echo "${ECHO_T}yes" >&6; } |
12087 |
> |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
12088 |
> |
$as_echo "yes" >&6; } |
12089 |
|
|
12090 |
|
cat >>confdefs.h <<\_ACEOF |
12091 |
|
#define HAVE__SYSTEM_CONFIGURATION 1 |
12092 |
|
_ACEOF |
12093 |
|
|
12094 |
|
else |
12095 |
< |
echo "$as_me: failed program was:" >&5 |
12095 |
> |
$as_echo "$as_me: failed program was:" >&5 |
12096 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
12097 |
|
|
12098 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
12099 |
< |
echo "${ECHO_T}no" >&6; } |
12098 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
12099 |
> |
$as_echo "no" >&6; } |
12100 |
|
fi |
12101 |
|
|
12102 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12103 |
|
|
12617 |
– |
# clean out junk possibly left behind by a previous configuration |
12618 |
– |
rm -f src/getopt.h |
12619 |
– |
# Check for getopt_long support |
12104 |
|
|
12105 |
< |
for ac_header in getopt.h |
12106 |
< |
do |
12107 |
< |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12108 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
12625 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
12626 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
12627 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
12628 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12629 |
< |
fi |
12630 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
12631 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
12632 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
12633 |
< |
else |
12634 |
< |
# Is the header compilable? |
12635 |
< |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
12636 |
< |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
12637 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12638 |
< |
/* confdefs.h. */ |
12639 |
< |
_ACEOF |
12640 |
< |
cat confdefs.h >>conftest.$ac_ext |
12641 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12642 |
< |
/* end confdefs.h. */ |
12643 |
< |
$ac_includes_default |
12644 |
< |
#include <$ac_header> |
12645 |
< |
_ACEOF |
12646 |
< |
rm -f conftest.$ac_objext |
12647 |
< |
if { (ac_try="$ac_compile" |
12648 |
< |
case "(($ac_try" in |
12649 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12650 |
< |
*) ac_try_echo=$ac_try;; |
12651 |
< |
esac |
12652 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12653 |
< |
(eval "$ac_compile") 2>conftest.er1 |
12654 |
< |
ac_status=$? |
12655 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12656 |
< |
rm -f conftest.er1 |
12657 |
< |
cat conftest.err >&5 |
12658 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12659 |
< |
(exit $ac_status); } && { |
12660 |
< |
test -z "$ac_c_werror_flag" || |
12661 |
< |
test ! -s conftest.err |
12662 |
< |
} && test -s conftest.$ac_objext; then |
12663 |
< |
ac_header_compiler=yes |
12664 |
< |
else |
12665 |
< |
echo "$as_me: failed program was:" >&5 |
12666 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12667 |
< |
|
12668 |
< |
ac_header_compiler=no |
12669 |
< |
fi |
12105 |
> |
case $debug in |
12106 |
> |
1) |
12107 |
> |
;; |
12108 |
> |
*) |
12109 |
|
|
12671 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12672 |
– |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
12673 |
– |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
12110 |
|
|
12675 |
– |
# Is the header present? |
12676 |
– |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
12677 |
– |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
12678 |
– |
cat >conftest.$ac_ext <<_ACEOF |
12679 |
– |
/* confdefs.h. */ |
12680 |
– |
_ACEOF |
12681 |
– |
cat confdefs.h >>conftest.$ac_ext |
12682 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
12683 |
– |
/* end confdefs.h. */ |
12684 |
– |
#include <$ac_header> |
12685 |
– |
_ACEOF |
12686 |
– |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
12687 |
– |
case "(($ac_try" in |
12688 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12689 |
– |
*) ac_try_echo=$ac_try;; |
12690 |
– |
esac |
12691 |
– |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12692 |
– |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
12693 |
– |
ac_status=$? |
12694 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
12695 |
– |
rm -f conftest.er1 |
12696 |
– |
cat conftest.err >&5 |
12697 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12698 |
– |
(exit $ac_status); } >/dev/null && { |
12699 |
– |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
12700 |
– |
test ! -s conftest.err |
12701 |
– |
}; then |
12702 |
– |
ac_header_preproc=yes |
12703 |
– |
else |
12704 |
– |
echo "$as_me: failed program was:" >&5 |
12705 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
12111 |
|
|
12707 |
– |
ac_header_preproc=no |
12708 |
– |
fi |
12112 |
|
|
12710 |
– |
rm -f conftest.err conftest.$ac_ext |
12711 |
– |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
12712 |
– |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
12113 |
|
|
12114 |
< |
# So? What about this header? |
12115 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
12716 |
< |
yes:no: ) |
12717 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
12718 |
< |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
12719 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
12720 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
12721 |
< |
ac_header_preproc=yes |
12722 |
< |
;; |
12723 |
< |
no:yes:* ) |
12724 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
12725 |
< |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
12726 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
12727 |
< |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
12728 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
12729 |
< |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
12730 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
12731 |
< |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
12732 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
12733 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
12734 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
12735 |
< |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
12736 |
< |
( cat <<\_ASBOX |
12737 |
< |
## ------------------------------ ## |
12738 |
< |
## Report this to gezelter@nd.edu ## |
12739 |
< |
## ------------------------------ ## |
12740 |
< |
_ASBOX |
12741 |
< |
) | sed "s/^/$as_me: WARNING: /" >&2 |
12742 |
< |
;; |
12743 |
< |
esac |
12744 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
12745 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
12746 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
12747 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12748 |
< |
else |
12749 |
< |
eval "$as_ac_Header=\$ac_header_preproc" |
12750 |
< |
fi |
12751 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
12752 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
12753 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
12114 |
> |
# Try to determine "good" native compiler flags if none specified on command |
12115 |
> |
# line |
12116 |
|
|
12117 |
< |
fi |
12118 |
< |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
12119 |
< |
cat >>confdefs.h <<_ACEOF |
12120 |
< |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12121 |
< |
_ACEOF |
12117 |
> |
if test "$ac_test_FFLAGS" != "set"; then |
12118 |
> |
FCFLAGS="" |
12119 |
> |
case "${host_cpu}-${host_os}" in |
12120 |
> |
|
12121 |
> |
*linux*) if test "$FC" = ifc -o "$FC" = ifort; then |
12122 |
> |
FCFLAGS="-O2" |
12123 |
> |
fi;; |
12124 |
> |
rs6000*-aix*) if test "$FC" = xlf90 -o "$FC" = f90 -o "$FC" = xlf95; then |
12125 |
> |
FCFLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w" |
12126 |
> |
fi;; |
12127 |
> |
powerpc*-aix*) |
12128 |
> |
if test "$FC" = f90 -o "$FC" = xlf90 -o "$FC" = xlf95; then |
12129 |
> |
FCFLAGS="-O3 -qarch=ppc -qansialias -w" |
12130 |
> |
echo "*******************************************************" |
12131 |
> |
echo "* You have AIX on an unknown powerpc system. It is *" |
12132 |
> |
echo "* recommended that you use *" |
12133 |
> |
echo "* *" |
12134 |
> |
echo "* FCFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w *" |
12135 |
> |
echo "* ^^^ *" |
12136 |
> |
echo "* where xxx is 601, 603, 604, or whatever kind of *" |
12137 |
> |
echo "* PowerPC CPU you have. For more info, man xlf. *" |
12138 |
> |
echo "*******************************************************" |
12139 |
> |
fi;; |
12140 |
> |
*darwin*) |
12141 |
> |
if test "$FC" = f90 -o "$FC" = xlf90 -o "$FC" = xlf95; then |
12142 |
> |
FCFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto" |
12143 |
> |
fi |
12144 |
> |
if test "$FC" = ifort; then |
12145 |
> |
FCFLAGS="-O2" |
12146 |
> |
fi |
12147 |
> |
if test "$FC" = gfortran; then |
12148 |
> |
FCFLAGS="-Os" |
12149 |
> |
fi;; |
12150 |
> |
esac |
12151 |
> |
|
12152 |
> |
if test -z "$FCFLAGS"; then |
12153 |
> |
echo "" |
12154 |
> |
echo "*********************************************************" |
12155 |
> |
echo "* WARNING: Don't know the best FCFLAGS for this system *" |
12156 |
> |
echo "* Use make FCFLAGS=..., or edit the top level Makefile *" |
12157 |
> |
echo "* (otherwise, a default of FCFLAGS=-O will be used) *" |
12158 |
> |
echo "*********************************************************" |
12159 |
> |
echo "" |
12160 |
> |
FCFLAGS="-O" |
12161 |
> |
fi |
12162 |
|
|
12761 |
– |
fi |
12163 |
|
|
12164 |
< |
done |
12165 |
< |
|
12166 |
< |
|
12167 |
< |
for ac_func in getopt_long |
12767 |
< |
do |
12768 |
< |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12769 |
< |
{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12770 |
< |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
12771 |
< |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
12772 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12164 |
> |
{ $as_echo "$as_me:$LINENO: checking whether ${FC} accepts ${FCFLAGS}" >&5 |
12165 |
> |
$as_echo_n "checking whether ${FC} accepts ${FCFLAGS}... " >&6; } |
12166 |
> |
if test "${ac_guessed_f90flags+set}" = set; then |
12167 |
> |
$as_echo_n "(cached) " >&6 |
12168 |
|
else |
12774 |
– |
cat >conftest.$ac_ext <<_ACEOF |
12775 |
– |
/* confdefs.h. */ |
12776 |
– |
_ACEOF |
12777 |
– |
cat confdefs.h >>conftest.$ac_ext |
12778 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
12779 |
– |
/* end confdefs.h. */ |
12780 |
– |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
12781 |
– |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
12782 |
– |
#define $ac_func innocuous_$ac_func |
12169 |
|
|
12784 |
– |
/* System header to define __stub macros and hopefully few prototypes, |
12785 |
– |
which can conflict with char $ac_func (); below. |
12786 |
– |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
12787 |
– |
<limits.h> exists even on freestanding compilers. */ |
12170 |
|
|
12171 |
< |
#ifdef __STDC__ |
12172 |
< |
# include <limits.h> |
12173 |
< |
#else |
12174 |
< |
# include <assert.h> |
12793 |
< |
#endif |
12171 |
> |
ac_ext=${ac_fc_srcext-f} |
12172 |
> |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
12173 |
> |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
12174 |
> |
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
12175 |
|
|
12176 |
< |
#undef $ac_func |
12177 |
< |
|
12178 |
< |
/* Override any GCC internal prototype to avoid an error. |
12179 |
< |
Use char because int might match the return type of a GCC |
12180 |
< |
builtin and then its argument prototype would still apply. */ |
12800 |
< |
#ifdef __cplusplus |
12801 |
< |
extern "C" |
12802 |
< |
#endif |
12803 |
< |
char $ac_func (); |
12804 |
< |
/* The GNU C library defines this for functions which it implements |
12805 |
< |
to always fail with ENOSYS. Some functions are actually named |
12806 |
< |
something starting with __ and the normal name is an alias. */ |
12807 |
< |
#if defined __stub_$ac_func || defined __stub___$ac_func |
12808 |
< |
choke me |
12809 |
< |
#endif |
12810 |
< |
|
12811 |
< |
#ifdef FC_DUMMY_MAIN |
12812 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
12813 |
< |
# ifdef __cplusplus |
12814 |
< |
extern "C" |
12815 |
< |
# endif |
12816 |
< |
int FC_DUMMY_MAIN() { return 1; } |
12817 |
< |
#endif |
12818 |
< |
#endif |
12819 |
< |
int |
12820 |
< |
main () |
12821 |
< |
{ |
12822 |
< |
return $ac_func (); |
12823 |
< |
; |
12824 |
< |
return 0; |
12825 |
< |
} |
12826 |
< |
_ACEOF |
12827 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
12828 |
< |
if { (ac_try="$ac_link" |
12829 |
< |
case "(($ac_try" in |
12830 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12831 |
< |
*) ac_try_echo=$ac_try;; |
12832 |
< |
esac |
12833 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12834 |
< |
(eval "$ac_link") 2>conftest.er1 |
12176 |
> |
echo 'program main' > conftest.$ac_ext |
12177 |
> |
echo 'end program main' >> conftest.$ac_ext |
12178 |
> |
ac_compile='${FC} -c ${FCFLAGS} $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext 1>&5' |
12179 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
12180 |
> |
(eval $ac_compile) 2>&5 |
12181 |
|
ac_status=$? |
12182 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12183 |
< |
rm -f conftest.er1 |
12184 |
< |
cat conftest.err >&5 |
12839 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12840 |
< |
(exit $ac_status); } && { |
12841 |
< |
test -z "$ac_c_werror_flag" || |
12842 |
< |
test ! -s conftest.err |
12843 |
< |
} && test -s conftest$ac_exeext && |
12844 |
< |
$as_test_x conftest$ac_exeext; then |
12845 |
< |
eval "$as_ac_var=yes" |
12182 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12183 |
> |
(exit $ac_status); }; then |
12184 |
> |
ac_guessed_f90flags=yes |
12185 |
|
else |
12186 |
< |
echo "$as_me: failed program was:" >&5 |
12848 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12849 |
< |
|
12850 |
< |
eval "$as_ac_var=no" |
12186 |
> |
ac_guessed_f90flags=no |
12187 |
|
fi |
12188 |
+ |
rm -f conftest* |
12189 |
+ |
ac_ext=c |
12190 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
12191 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
12192 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
12193 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
12194 |
|
|
12195 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12854 |
< |
conftest$ac_exeext conftest.$ac_ext |
12195 |
> |
|
12196 |
|
fi |
12197 |
< |
ac_res=`eval echo '${'$as_ac_var'}'` |
12198 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
12199 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
12200 |
< |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
12860 |
< |
cat >>confdefs.h <<_ACEOF |
12861 |
< |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12862 |
< |
_ACEOF |
12197 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5 |
12198 |
> |
$as_echo "$ac_guessed_f90flags" >&6; } |
12199 |
> |
if test "$ac_guessed_f90flags" = yes; then |
12200 |
> |
: |
12201 |
|
|
12202 |
|
else |
12203 |
< |
# FreeBSD has a gnugetopt library for this |
12866 |
< |
{ echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5 |
12867 |
< |
echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6; } |
12868 |
< |
if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then |
12869 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12870 |
< |
else |
12871 |
< |
ac_check_lib_save_LIBS=$LIBS |
12872 |
< |
LIBS="-lgnugetopt $LIBS" |
12873 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12874 |
< |
/* confdefs.h. */ |
12875 |
< |
_ACEOF |
12876 |
< |
cat confdefs.h >>conftest.$ac_ext |
12877 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12878 |
< |
/* end confdefs.h. */ |
12203 |
> |
: |
12204 |
|
|
12205 |
< |
/* Override any GCC internal prototype to avoid an error. |
12206 |
< |
Use char because int might match the return type of a GCC |
12207 |
< |
builtin and then its argument prototype would still apply. */ |
12208 |
< |
#ifdef __cplusplus |
12209 |
< |
extern "C" |
12210 |
< |
#endif |
12211 |
< |
char getopt_long (); |
12212 |
< |
#ifdef FC_DUMMY_MAIN |
12888 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
12889 |
< |
# ifdef __cplusplus |
12890 |
< |
extern "C" |
12891 |
< |
# endif |
12892 |
< |
int FC_DUMMY_MAIN() { return 1; } |
12893 |
< |
#endif |
12894 |
< |
#endif |
12895 |
< |
int |
12896 |
< |
main () |
12897 |
< |
{ |
12898 |
< |
return getopt_long (); |
12899 |
< |
; |
12900 |
< |
return 0; |
12901 |
< |
} |
12902 |
< |
_ACEOF |
12903 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
12904 |
< |
if { (ac_try="$ac_link" |
12905 |
< |
case "(($ac_try" in |
12906 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12907 |
< |
*) ac_try_echo=$ac_try;; |
12908 |
< |
esac |
12909 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12910 |
< |
(eval "$ac_link") 2>conftest.er1 |
12911 |
< |
ac_status=$? |
12912 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12913 |
< |
rm -f conftest.er1 |
12914 |
< |
cat conftest.err >&5 |
12915 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12916 |
< |
(exit $ac_status); } && { |
12917 |
< |
test -z "$ac_c_werror_flag" || |
12918 |
< |
test ! -s conftest.err |
12919 |
< |
} && test -s conftest$ac_exeext && |
12920 |
< |
$as_test_x conftest$ac_exeext; then |
12921 |
< |
ac_cv_lib_gnugetopt_getopt_long=yes |
12922 |
< |
else |
12923 |
< |
echo "$as_me: failed program was:" >&5 |
12924 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12205 |
> |
echo "" |
12206 |
> |
echo "**********************************************************" |
12207 |
> |
echo "* WARNING: The guessed FCFLAGS don't seem to work with *" |
12208 |
> |
echo "* your compiler. *" |
12209 |
> |
echo "* Use make FCFLAGS=..., or edit the top level Makefile *" |
12210 |
> |
echo "*********************************************************" |
12211 |
> |
echo "" |
12212 |
> |
FCFLAGS="" |
12213 |
|
|
12926 |
– |
ac_cv_lib_gnugetopt_getopt_long=no |
12214 |
|
fi |
12215 |
|
|
12216 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12930 |
< |
conftest$ac_exeext conftest.$ac_ext |
12931 |
< |
LIBS=$ac_check_lib_save_LIBS |
12216 |
> |
|
12217 |
|
fi |
12933 |
– |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5 |
12934 |
– |
echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6; } |
12935 |
– |
if test $ac_cv_lib_gnugetopt_getopt_long = yes; then |
12936 |
– |
cat >>confdefs.h <<\_ACEOF |
12937 |
– |
#define HAVE_GETOPT_LONG 1 |
12938 |
– |
_ACEOF |
12218 |
|
|
12940 |
– |
else |
12941 |
– |
# use the GNU replacement |
12942 |
– |
case " $LIBOBJS " in |
12943 |
– |
*" getopt.$ac_objext "* ) ;; |
12944 |
– |
*) LIBOBJS="$LIBOBJS getopt.$ac_objext" |
12945 |
– |
;; |
12946 |
– |
esac |
12219 |
|
|
12948 |
– |
case " $LIBOBJS " in |
12949 |
– |
*" getopt1.$ac_objext "* ) ;; |
12950 |
– |
*) LIBOBJS="$LIBOBJS getopt1.$ac_objext" |
12951 |
– |
;; |
12952 |
– |
esac |
12220 |
|
|
12954 |
– |
ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h" |
12221 |
|
|
12956 |
– |
fi |
12222 |
|
|
12958 |
– |
fi |
12959 |
– |
done |
12223 |
|
|
12224 |
|
|
12225 |
< |
ac_ext=cpp |
12226 |
< |
ac_cpp='$CXXCPP $CPPFLAGS' |
12227 |
< |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
12228 |
< |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
12966 |
< |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
12967 |
< |
|
12968 |
< |
{ echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5 |
12969 |
< |
echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6; } |
12970 |
< |
if test "${ac_cv_cxx_namespaces+set}" = set; then |
12971 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12225 |
> |
{ $as_echo "$as_me:$LINENO: checking whether we are *really* using GNU cc" >&5 |
12226 |
> |
$as_echo_n "checking whether we are *really* using GNU cc... " >&6; } |
12227 |
> |
if test "${ac_cv_prog_really_gcc+set}" = set; then |
12228 |
> |
$as_echo_n "(cached) " >&6 |
12229 |
|
else |
12230 |
|
|
12231 |
< |
ac_ext=cpp |
12232 |
< |
ac_cpp='$CXXCPP $CPPFLAGS' |
12233 |
< |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
12234 |
< |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
12235 |
< |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
12236 |
< |
|
12237 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12238 |
< |
/* confdefs.h. */ |
12239 |
< |
_ACEOF |
12240 |
< |
cat confdefs.h >>conftest.$ac_ext |
12241 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12242 |
< |
/* end confdefs.h. */ |
12243 |
< |
namespace Outer { namespace Inner { int i = 0; }} |
12244 |
< |
#ifdef FC_DUMMY_MAIN |
12245 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
12246 |
< |
# ifdef __cplusplus |
12247 |
< |
extern "C" |
12248 |
< |
# endif |
12249 |
< |
int FC_DUMMY_MAIN() { return 1; } |
12250 |
< |
#endif |
12251 |
< |
#endif |
12252 |
< |
int |
12253 |
< |
main () |
12254 |
< |
{ |
12255 |
< |
using namespace Outer::Inner; return i; |
12256 |
< |
; |
12257 |
< |
return 0; |
12258 |
< |
} |
12259 |
< |
_ACEOF |
12260 |
< |
rm -f conftest.$ac_objext |
12261 |
< |
if { (ac_try="$ac_compile" |
12262 |
< |
case "(($ac_try" in |
12263 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12264 |
< |
*) ac_try_echo=$ac_try;; |
12265 |
< |
esac |
12266 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12267 |
< |
(eval "$ac_compile") 2>conftest.er1 |
12268 |
< |
ac_status=$? |
12269 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12270 |
< |
rm -f conftest.er1 |
12271 |
< |
cat conftest.err >&5 |
12272 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12273 |
< |
(exit $ac_status); } && { |
12274 |
< |
test -z "$ac_cxx_werror_flag" || |
12275 |
< |
test ! -s conftest.err |
12276 |
< |
} && test -s conftest.$ac_objext; then |
12277 |
< |
ac_cv_cxx_namespaces=yes |
12278 |
< |
else |
12279 |
< |
echo "$as_me: failed program was:" >&5 |
12280 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12281 |
< |
|
12282 |
< |
ac_cv_cxx_namespaces=no |
12283 |
< |
fi |
12284 |
< |
|
12285 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12286 |
< |
ac_ext=cpp |
12287 |
< |
ac_cpp='$CXXCPP $CPPFLAGS' |
12288 |
< |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
12289 |
< |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
12290 |
< |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
12291 |
< |
|
12292 |
< |
|
12293 |
< |
fi |
12294 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5 |
12295 |
< |
echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6; } |
12296 |
< |
if test "$ac_cv_cxx_namespaces" = yes; then |
12297 |
< |
|
12298 |
< |
cat >>confdefs.h <<\_ACEOF |
12299 |
< |
#define HAVE_NAMESPACES |
12300 |
< |
_ACEOF |
12301 |
< |
|
12302 |
< |
fi |
12303 |
< |
|
12304 |
< |
{ echo "$as_me:$LINENO: checking whether the compiler supports Standard Template Library" >&5 |
12305 |
< |
echo $ECHO_N "checking whether the compiler supports Standard Template Library... $ECHO_C" >&6; } |
12306 |
< |
if test "${ac_cv_cxx_have_stl+set}" = set; then |
12307 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12308 |
< |
else |
12309 |
< |
|
12310 |
< |
|
12311 |
< |
ac_ext=cpp |
12312 |
< |
ac_cpp='$CXXCPP $CPPFLAGS' |
12313 |
< |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
12314 |
< |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
12315 |
< |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
12316 |
< |
|
12317 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12318 |
< |
/* confdefs.h. */ |
12319 |
< |
_ACEOF |
12320 |
< |
cat confdefs.h >>conftest.$ac_ext |
12321 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12322 |
< |
/* end confdefs.h. */ |
12323 |
< |
#include <list> |
12324 |
< |
#include <deque> |
12325 |
< |
#ifdef HAVE_NAMESPACES |
12326 |
< |
using namespace std; |
12327 |
< |
#endif |
12328 |
< |
#ifdef FC_DUMMY_MAIN |
12329 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
12330 |
< |
# ifdef __cplusplus |
12331 |
< |
extern "C" |
12332 |
< |
# endif |
12333 |
< |
int FC_DUMMY_MAIN() { return 1; } |
12334 |
< |
#endif |
12335 |
< |
#endif |
12336 |
< |
int |
12337 |
< |
main () |
12338 |
< |
{ |
12339 |
< |
list<int> x; x.push_back(5); |
12340 |
< |
list<int>::iterator iter = x.begin(); if (iter != x.end()) ++iter; return 0; |
12341 |
< |
; |
12342 |
< |
return 0; |
12343 |
< |
} |
12344 |
< |
_ACEOF |
12345 |
< |
rm -f conftest.$ac_objext |
12346 |
< |
if { (ac_try="$ac_compile" |
12347 |
< |
case "(($ac_try" in |
12348 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12349 |
< |
*) ac_try_echo=$ac_try;; |
12350 |
< |
esac |
12351 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12352 |
< |
(eval "$ac_compile") 2>conftest.er1 |
12353 |
< |
ac_status=$? |
12354 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12355 |
< |
rm -f conftest.er1 |
12356 |
< |
cat conftest.err >&5 |
12357 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12358 |
< |
(exit $ac_status); } && { |
12359 |
< |
test -z "$ac_cxx_werror_flag" || |
12360 |
< |
test ! -s conftest.err |
12361 |
< |
} && test -s conftest.$ac_objext; then |
12362 |
< |
ac_cv_cxx_have_stl=yes |
12363 |
< |
else |
12364 |
< |
echo "$as_me: failed program was:" >&5 |
12365 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12366 |
< |
|
12367 |
< |
ac_cv_cxx_have_stl=no |
12368 |
< |
fi |
12369 |
< |
|
12370 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12371 |
< |
ac_ext=cpp |
12372 |
< |
ac_cpp='$CXXCPP $CPPFLAGS' |
12373 |
< |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
12374 |
< |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
12375 |
< |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
12376 |
< |
|
12377 |
< |
|
12378 |
< |
fi |
12379 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_have_stl" >&5 |
12380 |
< |
echo "${ECHO_T}$ac_cv_cxx_have_stl" >&6; } |
12381 |
< |
if test "$ac_cv_cxx_have_stl" = yes; then |
12382 |
< |
|
12383 |
< |
cat >>confdefs.h <<\_ACEOF |
12384 |
< |
#define HAVE_STL |
12385 |
< |
_ACEOF |
12386 |
< |
|
12387 |
< |
fi |
12388 |
< |
|
12389 |
< |
|
12390 |
< |
|
12391 |
< |
if test "${ac_cv_header_iostream+set}" = set; then |
12392 |
< |
{ echo "$as_me:$LINENO: checking for iostream" >&5 |
12393 |
< |
echo $ECHO_N "checking for iostream... $ECHO_C" >&6; } |
12394 |
< |
if test "${ac_cv_header_iostream+set}" = set; then |
12395 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12396 |
< |
fi |
12397 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5 |
12398 |
< |
echo "${ECHO_T}$ac_cv_header_iostream" >&6; } |
12399 |
< |
else |
12400 |
< |
# Is the header compilable? |
12401 |
< |
{ echo "$as_me:$LINENO: checking iostream usability" >&5 |
12402 |
< |
echo $ECHO_N "checking iostream usability... $ECHO_C" >&6; } |
12403 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12404 |
< |
/* confdefs.h. */ |
12405 |
< |
_ACEOF |
12406 |
< |
cat confdefs.h >>conftest.$ac_ext |
12407 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12408 |
< |
/* end confdefs.h. */ |
12409 |
< |
$ac_includes_default |
12410 |
< |
#include <iostream> |
12411 |
< |
_ACEOF |
12412 |
< |
rm -f conftest.$ac_objext |
12413 |
< |
if { (ac_try="$ac_compile" |
12414 |
< |
case "(($ac_try" in |
12415 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12416 |
< |
*) ac_try_echo=$ac_try;; |
12417 |
< |
esac |
12418 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12419 |
< |
(eval "$ac_compile") 2>conftest.er1 |
12420 |
< |
ac_status=$? |
12421 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12422 |
< |
rm -f conftest.er1 |
12423 |
< |
cat conftest.err >&5 |
12424 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12425 |
< |
(exit $ac_status); } && { |
12426 |
< |
test -z "$ac_cxx_werror_flag" || |
12427 |
< |
test ! -s conftest.err |
12428 |
< |
} && test -s conftest.$ac_objext; then |
12429 |
< |
ac_header_compiler=yes |
12430 |
< |
else |
12431 |
< |
echo "$as_me: failed program was:" >&5 |
12432 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12433 |
< |
|
12434 |
< |
ac_header_compiler=no |
12435 |
< |
fi |
12436 |
< |
|
12437 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12438 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
12439 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
12440 |
< |
|
12441 |
< |
# Is the header present? |
12442 |
< |
{ echo "$as_me:$LINENO: checking iostream presence" >&5 |
12443 |
< |
echo $ECHO_N "checking iostream presence... $ECHO_C" >&6; } |
12444 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12445 |
< |
/* confdefs.h. */ |
12446 |
< |
_ACEOF |
12447 |
< |
cat confdefs.h >>conftest.$ac_ext |
12448 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12449 |
< |
/* end confdefs.h. */ |
12450 |
< |
#include <iostream> |
12451 |
< |
_ACEOF |
12452 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
12453 |
< |
case "(($ac_try" in |
12454 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12455 |
< |
*) ac_try_echo=$ac_try;; |
12456 |
< |
esac |
12457 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12458 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
12459 |
< |
ac_status=$? |
12460 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12461 |
< |
rm -f conftest.er1 |
12462 |
< |
cat conftest.err >&5 |
12463 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12464 |
< |
(exit $ac_status); } >/dev/null && { |
12465 |
< |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
12466 |
< |
test ! -s conftest.err |
12467 |
< |
}; then |
12468 |
< |
ac_header_preproc=yes |
12469 |
< |
else |
12470 |
< |
echo "$as_me: failed program was:" >&5 |
12471 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12472 |
< |
|
12473 |
< |
ac_header_preproc=no |
12474 |
< |
fi |
12475 |
< |
|
12476 |
< |
rm -f conftest.err conftest.$ac_ext |
12477 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
12478 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
12479 |
< |
|
12480 |
< |
# So? What about this header? |
12481 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
12482 |
< |
yes:no: ) |
12483 |
< |
{ echo "$as_me:$LINENO: WARNING: iostream: accepted by the compiler, rejected by the preprocessor!" >&5 |
12484 |
< |
echo "$as_me: WARNING: iostream: accepted by the compiler, rejected by the preprocessor!" >&2;} |
12485 |
< |
{ echo "$as_me:$LINENO: WARNING: iostream: proceeding with the compiler's result" >&5 |
12486 |
< |
echo "$as_me: WARNING: iostream: proceeding with the compiler's result" >&2;} |
12487 |
< |
ac_header_preproc=yes |
12488 |
< |
;; |
12489 |
< |
no:yes:* ) |
12490 |
< |
{ echo "$as_me:$LINENO: WARNING: iostream: present but cannot be compiled" >&5 |
12491 |
< |
echo "$as_me: WARNING: iostream: present but cannot be compiled" >&2;} |
12492 |
< |
{ echo "$as_me:$LINENO: WARNING: iostream: check for missing prerequisite headers?" >&5 |
12493 |
< |
echo "$as_me: WARNING: iostream: check for missing prerequisite headers?" >&2;} |
12494 |
< |
{ echo "$as_me:$LINENO: WARNING: iostream: see the Autoconf documentation" >&5 |
12495 |
< |
echo "$as_me: WARNING: iostream: see the Autoconf documentation" >&2;} |
12496 |
< |
{ echo "$as_me:$LINENO: WARNING: iostream: section \"Present But Cannot Be Compiled\"" >&5 |
12497 |
< |
echo "$as_me: WARNING: iostream: section \"Present But Cannot Be Compiled\"" >&2;} |
12498 |
< |
{ echo "$as_me:$LINENO: WARNING: iostream: proceeding with the preprocessor's result" >&5 |
12499 |
< |
echo "$as_me: WARNING: iostream: proceeding with the preprocessor's result" >&2;} |
12500 |
< |
{ echo "$as_me:$LINENO: WARNING: iostream: in the future, the compiler will take precedence" >&5 |
12501 |
< |
echo "$as_me: WARNING: iostream: in the future, the compiler will take precedence" >&2;} |
12502 |
< |
( cat <<\_ASBOX |
12503 |
< |
## ------------------------------ ## |
12504 |
< |
## Report this to gezelter@nd.edu ## |
12505 |
< |
## ------------------------------ ## |
12506 |
< |
_ASBOX |
12507 |
< |
) | sed "s/^/$as_me: WARNING: /" >&2 |
12508 |
< |
;; |
12509 |
< |
esac |
12510 |
< |
{ echo "$as_me:$LINENO: checking for iostream" >&5 |
12511 |
< |
echo $ECHO_N "checking for iostream... $ECHO_C" >&6; } |
12512 |
< |
if test "${ac_cv_header_iostream+set}" = set; then |
12513 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12514 |
< |
else |
12515 |
< |
ac_cv_header_iostream=$ac_header_preproc |
12516 |
< |
fi |
12517 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5 |
12518 |
< |
echo "${ECHO_T}$ac_cv_header_iostream" >&6; } |
12519 |
< |
|
12520 |
< |
fi |
12521 |
< |
if test $ac_cv_header_iostream = yes; then |
12522 |
< |
|
12523 |
< |
|
12524 |
< |
cat >>confdefs.h <<\_ACEOF |
12525 |
< |
#define HAVE_IOSTREAM 1 |
12526 |
< |
_ACEOF |
12527 |
< |
|
12528 |
< |
|
12529 |
< |
else |
12530 |
< |
|
12531 |
< |
|
12532 |
< |
for ac_header in iostream.h |
12533 |
< |
do |
12534 |
< |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12535 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
12536 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
12537 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
12538 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
12539 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12540 |
< |
fi |
12541 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
12542 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
12543 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
12544 |
< |
else |
12545 |
< |
# Is the header compilable? |
12546 |
< |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
12547 |
< |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
12548 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12549 |
< |
/* confdefs.h. */ |
12550 |
< |
_ACEOF |
12551 |
< |
cat confdefs.h >>conftest.$ac_ext |
12552 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12553 |
< |
/* end confdefs.h. */ |
12554 |
< |
$ac_includes_default |
12555 |
< |
#include <$ac_header> |
12556 |
< |
_ACEOF |
12557 |
< |
rm -f conftest.$ac_objext |
12558 |
< |
if { (ac_try="$ac_compile" |
12559 |
< |
case "(($ac_try" in |
12560 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12561 |
< |
*) ac_try_echo=$ac_try;; |
12562 |
< |
esac |
12563 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12564 |
< |
(eval "$ac_compile") 2>conftest.er1 |
12565 |
< |
ac_status=$? |
12566 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12567 |
< |
rm -f conftest.er1 |
12568 |
< |
cat conftest.err >&5 |
12569 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12570 |
< |
(exit $ac_status); } && { |
12571 |
< |
test -z "$ac_cxx_werror_flag" || |
12572 |
< |
test ! -s conftest.err |
12573 |
< |
} && test -s conftest.$ac_objext; then |
12574 |
< |
ac_header_compiler=yes |
12575 |
< |
else |
12576 |
< |
echo "$as_me: failed program was:" >&5 |
12577 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12578 |
< |
|
12579 |
< |
ac_header_compiler=no |
12580 |
< |
fi |
12581 |
< |
|
12582 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12583 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
12584 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
12585 |
< |
|
12586 |
< |
# Is the header present? |
12587 |
< |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
12588 |
< |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
12589 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12590 |
< |
/* confdefs.h. */ |
12591 |
< |
_ACEOF |
12592 |
< |
cat confdefs.h >>conftest.$ac_ext |
12593 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12594 |
< |
/* end confdefs.h. */ |
12595 |
< |
#include <$ac_header> |
12596 |
< |
_ACEOF |
12597 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
12598 |
< |
case "(($ac_try" in |
12599 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12600 |
< |
*) ac_try_echo=$ac_try;; |
12601 |
< |
esac |
12602 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12603 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
12604 |
< |
ac_status=$? |
12605 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12606 |
< |
rm -f conftest.er1 |
12607 |
< |
cat conftest.err >&5 |
12608 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12609 |
< |
(exit $ac_status); } >/dev/null && { |
12610 |
< |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
12611 |
< |
test ! -s conftest.err |
12612 |
< |
}; then |
12613 |
< |
ac_header_preproc=yes |
12614 |
< |
else |
12615 |
< |
echo "$as_me: failed program was:" >&5 |
12616 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12617 |
< |
|
12618 |
< |
ac_header_preproc=no |
12619 |
< |
fi |
12620 |
< |
|
12621 |
< |
rm -f conftest.err conftest.$ac_ext |
12622 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
12623 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
12624 |
< |
|
12625 |
< |
# So? What about this header? |
12626 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
12627 |
< |
yes:no: ) |
12628 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
12629 |
< |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
12630 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
12631 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
12632 |
< |
ac_header_preproc=yes |
12633 |
< |
;; |
12634 |
< |
no:yes:* ) |
12635 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
12636 |
< |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
12637 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
12638 |
< |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
12639 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
12640 |
< |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
12641 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
12642 |
< |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
12643 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
12644 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
12645 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
12646 |
< |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
12647 |
< |
( cat <<\_ASBOX |
12648 |
< |
## ------------------------------ ## |
12649 |
< |
## Report this to gezelter@nd.edu ## |
12650 |
< |
## ------------------------------ ## |
12651 |
< |
_ASBOX |
12652 |
< |
) | sed "s/^/$as_me: WARNING: /" >&2 |
12653 |
< |
;; |
12654 |
< |
esac |
12655 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
12656 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
12657 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
12658 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12659 |
< |
else |
12660 |
< |
eval "$as_ac_Header=\$ac_header_preproc" |
12661 |
< |
fi |
12662 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
12663 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
12664 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
12665 |
< |
|
12666 |
< |
fi |
12667 |
< |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
12668 |
< |
cat >>confdefs.h <<_ACEOF |
12669 |
< |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12670 |
< |
_ACEOF |
12671 |
< |
|
12672 |
< |
fi |
12673 |
< |
|
12674 |
< |
done |
12675 |
< |
|
12676 |
< |
|
12677 |
< |
fi |
12678 |
< |
|
12679 |
< |
|
12680 |
< |
|
12681 |
< |
|
12682 |
< |
if test "${ac_cv_header_iomanip+set}" = set; then |
12683 |
< |
{ echo "$as_me:$LINENO: checking for iomanip" >&5 |
12684 |
< |
echo $ECHO_N "checking for iomanip... $ECHO_C" >&6; } |
12685 |
< |
if test "${ac_cv_header_iomanip+set}" = set; then |
12686 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12687 |
< |
fi |
12688 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_iomanip" >&5 |
12689 |
< |
echo "${ECHO_T}$ac_cv_header_iomanip" >&6; } |
12690 |
< |
else |
12691 |
< |
# Is the header compilable? |
12692 |
< |
{ echo "$as_me:$LINENO: checking iomanip usability" >&5 |
12693 |
< |
echo $ECHO_N "checking iomanip usability... $ECHO_C" >&6; } |
12694 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12695 |
< |
/* confdefs.h. */ |
12696 |
< |
_ACEOF |
12697 |
< |
cat confdefs.h >>conftest.$ac_ext |
12698 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12699 |
< |
/* end confdefs.h. */ |
12700 |
< |
$ac_includes_default |
12701 |
< |
#include <iomanip> |
12702 |
< |
_ACEOF |
12703 |
< |
rm -f conftest.$ac_objext |
12704 |
< |
if { (ac_try="$ac_compile" |
12705 |
< |
case "(($ac_try" in |
12706 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12707 |
< |
*) ac_try_echo=$ac_try;; |
12708 |
< |
esac |
12709 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12710 |
< |
(eval "$ac_compile") 2>conftest.er1 |
12711 |
< |
ac_status=$? |
12712 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12713 |
< |
rm -f conftest.er1 |
12714 |
< |
cat conftest.err >&5 |
12715 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12716 |
< |
(exit $ac_status); } && { |
12717 |
< |
test -z "$ac_cxx_werror_flag" || |
12718 |
< |
test ! -s conftest.err |
12719 |
< |
} && test -s conftest.$ac_objext; then |
12720 |
< |
ac_header_compiler=yes |
12721 |
< |
else |
12722 |
< |
echo "$as_me: failed program was:" >&5 |
12723 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12724 |
< |
|
12725 |
< |
ac_header_compiler=no |
12726 |
< |
fi |
12727 |
< |
|
12728 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12729 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
12730 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
12731 |
< |
|
12732 |
< |
# Is the header present? |
12733 |
< |
{ echo "$as_me:$LINENO: checking iomanip presence" >&5 |
12734 |
< |
echo $ECHO_N "checking iomanip presence... $ECHO_C" >&6; } |
12735 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12736 |
< |
/* confdefs.h. */ |
12737 |
< |
_ACEOF |
12738 |
< |
cat confdefs.h >>conftest.$ac_ext |
12739 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12740 |
< |
/* end confdefs.h. */ |
12741 |
< |
#include <iomanip> |
12742 |
< |
_ACEOF |
12743 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
12744 |
< |
case "(($ac_try" in |
12745 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12746 |
< |
*) ac_try_echo=$ac_try;; |
12747 |
< |
esac |
12748 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12749 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
12750 |
< |
ac_status=$? |
12751 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12752 |
< |
rm -f conftest.er1 |
12753 |
< |
cat conftest.err >&5 |
12754 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12755 |
< |
(exit $ac_status); } >/dev/null && { |
12756 |
< |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
12757 |
< |
test ! -s conftest.err |
12758 |
< |
}; then |
12759 |
< |
ac_header_preproc=yes |
12760 |
< |
else |
12761 |
< |
echo "$as_me: failed program was:" >&5 |
12762 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12763 |
< |
|
12764 |
< |
ac_header_preproc=no |
12765 |
< |
fi |
12766 |
< |
|
12767 |
< |
rm -f conftest.err conftest.$ac_ext |
12768 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
12769 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
12770 |
< |
|
12771 |
< |
# So? What about this header? |
12772 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
12773 |
< |
yes:no: ) |
12774 |
< |
{ echo "$as_me:$LINENO: WARNING: iomanip: accepted by the compiler, rejected by the preprocessor!" >&5 |
12775 |
< |
echo "$as_me: WARNING: iomanip: accepted by the compiler, rejected by the preprocessor!" >&2;} |
12776 |
< |
{ echo "$as_me:$LINENO: WARNING: iomanip: proceeding with the compiler's result" >&5 |
12777 |
< |
echo "$as_me: WARNING: iomanip: proceeding with the compiler's result" >&2;} |
12778 |
< |
ac_header_preproc=yes |
12779 |
< |
;; |
12780 |
< |
no:yes:* ) |
12781 |
< |
{ echo "$as_me:$LINENO: WARNING: iomanip: present but cannot be compiled" >&5 |
12782 |
< |
echo "$as_me: WARNING: iomanip: present but cannot be compiled" >&2;} |
12783 |
< |
{ echo "$as_me:$LINENO: WARNING: iomanip: check for missing prerequisite headers?" >&5 |
12784 |
< |
echo "$as_me: WARNING: iomanip: check for missing prerequisite headers?" >&2;} |
12785 |
< |
{ echo "$as_me:$LINENO: WARNING: iomanip: see the Autoconf documentation" >&5 |
12786 |
< |
echo "$as_me: WARNING: iomanip: see the Autoconf documentation" >&2;} |
12787 |
< |
{ echo "$as_me:$LINENO: WARNING: iomanip: section \"Present But Cannot Be Compiled\"" >&5 |
12788 |
< |
echo "$as_me: WARNING: iomanip: section \"Present But Cannot Be Compiled\"" >&2;} |
12789 |
< |
{ echo "$as_me:$LINENO: WARNING: iomanip: proceeding with the preprocessor's result" >&5 |
12790 |
< |
echo "$as_me: WARNING: iomanip: proceeding with the preprocessor's result" >&2;} |
12791 |
< |
{ echo "$as_me:$LINENO: WARNING: iomanip: in the future, the compiler will take precedence" >&5 |
12792 |
< |
echo "$as_me: WARNING: iomanip: in the future, the compiler will take precedence" >&2;} |
12793 |
< |
( cat <<\_ASBOX |
12794 |
< |
## ------------------------------ ## |
12795 |
< |
## Report this to gezelter@nd.edu ## |
12796 |
< |
## ------------------------------ ## |
12797 |
< |
_ASBOX |
12798 |
< |
) | sed "s/^/$as_me: WARNING: /" >&2 |
12799 |
< |
;; |
12800 |
< |
esac |
12801 |
< |
{ echo "$as_me:$LINENO: checking for iomanip" >&5 |
12802 |
< |
echo $ECHO_N "checking for iomanip... $ECHO_C" >&6; } |
12803 |
< |
if test "${ac_cv_header_iomanip+set}" = set; then |
12804 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12805 |
< |
else |
12806 |
< |
ac_cv_header_iomanip=$ac_header_preproc |
12807 |
< |
fi |
12808 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_iomanip" >&5 |
12809 |
< |
echo "${ECHO_T}$ac_cv_header_iomanip" >&6; } |
12810 |
< |
|
12811 |
< |
fi |
12812 |
< |
if test $ac_cv_header_iomanip = yes; then |
12813 |
< |
|
12814 |
< |
|
12815 |
< |
cat >>confdefs.h <<\_ACEOF |
12816 |
< |
#define HAVE_IOMANIP 1 |
12817 |
< |
_ACEOF |
12818 |
< |
|
12819 |
< |
|
12820 |
< |
else |
12821 |
< |
|
12822 |
< |
|
12823 |
< |
for ac_header in iomanip.h |
12824 |
< |
do |
12825 |
< |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12826 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
12827 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
12828 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
12829 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
12830 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12831 |
< |
fi |
12832 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
12833 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
12834 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
12835 |
< |
else |
12836 |
< |
# Is the header compilable? |
12837 |
< |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
12838 |
< |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
12839 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12840 |
< |
/* confdefs.h. */ |
12841 |
< |
_ACEOF |
12842 |
< |
cat confdefs.h >>conftest.$ac_ext |
12843 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12844 |
< |
/* end confdefs.h. */ |
12845 |
< |
$ac_includes_default |
12846 |
< |
#include <$ac_header> |
12847 |
< |
_ACEOF |
12848 |
< |
rm -f conftest.$ac_objext |
12849 |
< |
if { (ac_try="$ac_compile" |
12850 |
< |
case "(($ac_try" in |
12851 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12852 |
< |
*) ac_try_echo=$ac_try;; |
12853 |
< |
esac |
12854 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12855 |
< |
(eval "$ac_compile") 2>conftest.er1 |
12856 |
< |
ac_status=$? |
12857 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12858 |
< |
rm -f conftest.er1 |
12859 |
< |
cat conftest.err >&5 |
12860 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12861 |
< |
(exit $ac_status); } && { |
12862 |
< |
test -z "$ac_cxx_werror_flag" || |
12863 |
< |
test ! -s conftest.err |
12864 |
< |
} && test -s conftest.$ac_objext; then |
12865 |
< |
ac_header_compiler=yes |
12866 |
< |
else |
12867 |
< |
echo "$as_me: failed program was:" >&5 |
12868 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12869 |
< |
|
12870 |
< |
ac_header_compiler=no |
12871 |
< |
fi |
12872 |
< |
|
12873 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12874 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
12875 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
12876 |
< |
|
12877 |
< |
# Is the header present? |
12878 |
< |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
12879 |
< |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
12880 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12881 |
< |
/* confdefs.h. */ |
12882 |
< |
_ACEOF |
12883 |
< |
cat confdefs.h >>conftest.$ac_ext |
12884 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12885 |
< |
/* end confdefs.h. */ |
12886 |
< |
#include <$ac_header> |
12887 |
< |
_ACEOF |
12888 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
12889 |
< |
case "(($ac_try" in |
12890 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12891 |
< |
*) ac_try_echo=$ac_try;; |
12892 |
< |
esac |
12893 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12894 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
12895 |
< |
ac_status=$? |
12896 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12897 |
< |
rm -f conftest.er1 |
12898 |
< |
cat conftest.err >&5 |
12899 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12900 |
< |
(exit $ac_status); } >/dev/null && { |
12901 |
< |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
12902 |
< |
test ! -s conftest.err |
12903 |
< |
}; then |
12904 |
< |
ac_header_preproc=yes |
12905 |
< |
else |
12906 |
< |
echo "$as_me: failed program was:" >&5 |
12907 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12908 |
< |
|
12909 |
< |
ac_header_preproc=no |
12910 |
< |
fi |
12911 |
< |
|
12912 |
< |
rm -f conftest.err conftest.$ac_ext |
12913 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
12914 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
12915 |
< |
|
12916 |
< |
# So? What about this header? |
12917 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
12918 |
< |
yes:no: ) |
12919 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
12920 |
< |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
12921 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
12922 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
12923 |
< |
ac_header_preproc=yes |
12924 |
< |
;; |
12925 |
< |
no:yes:* ) |
12926 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
12927 |
< |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
12928 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
12929 |
< |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
12930 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
12931 |
< |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
12932 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
12933 |
< |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
12934 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
12935 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
12936 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
12937 |
< |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
12938 |
< |
( cat <<\_ASBOX |
12939 |
< |
## ------------------------------ ## |
12940 |
< |
## Report this to gezelter@nd.edu ## |
12941 |
< |
## ------------------------------ ## |
12942 |
< |
_ASBOX |
12943 |
< |
) | sed "s/^/$as_me: WARNING: /" >&2 |
12944 |
< |
;; |
12945 |
< |
esac |
12946 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
12947 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
12948 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
12949 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12950 |
< |
else |
12951 |
< |
eval "$as_ac_Header=\$ac_header_preproc" |
12952 |
< |
fi |
12953 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
12954 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
12955 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
12956 |
< |
|
12957 |
< |
fi |
12958 |
< |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
12959 |
< |
cat >>confdefs.h <<_ACEOF |
12960 |
< |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12961 |
< |
_ACEOF |
12962 |
< |
|
12963 |
< |
fi |
12964 |
< |
|
12965 |
< |
done |
12966 |
< |
|
12967 |
< |
|
12968 |
< |
fi |
12969 |
< |
|
12970 |
< |
|
12971 |
< |
|
12972 |
< |
|
12973 |
< |
for ac_header in cmath |
12974 |
< |
do |
12975 |
< |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12976 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
12977 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
12978 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
12979 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
12980 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12981 |
< |
fi |
12982 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
12983 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
12984 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
12985 |
< |
else |
12986 |
< |
# Is the header compilable? |
12987 |
< |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
12988 |
< |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
12989 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12990 |
< |
/* confdefs.h. */ |
12991 |
< |
_ACEOF |
12992 |
< |
cat confdefs.h >>conftest.$ac_ext |
12993 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12994 |
< |
/* end confdefs.h. */ |
12995 |
< |
$ac_includes_default |
12996 |
< |
#include <$ac_header> |
12997 |
< |
_ACEOF |
12998 |
< |
rm -f conftest.$ac_objext |
12999 |
< |
if { (ac_try="$ac_compile" |
13000 |
< |
case "(($ac_try" in |
13001 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13002 |
< |
*) ac_try_echo=$ac_try;; |
13003 |
< |
esac |
13004 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13005 |
< |
(eval "$ac_compile") 2>conftest.er1 |
13006 |
< |
ac_status=$? |
13007 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
13008 |
< |
rm -f conftest.er1 |
13009 |
< |
cat conftest.err >&5 |
13010 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13011 |
< |
(exit $ac_status); } && { |
13012 |
< |
test -z "$ac_cxx_werror_flag" || |
13013 |
< |
test ! -s conftest.err |
13014 |
< |
} && test -s conftest.$ac_objext; then |
13015 |
< |
ac_header_compiler=yes |
13016 |
< |
else |
13017 |
< |
echo "$as_me: failed program was:" >&5 |
13018 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
13019 |
< |
|
13020 |
< |
ac_header_compiler=no |
13021 |
< |
fi |
13022 |
< |
|
13023 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13024 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
13025 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
13026 |
< |
|
13027 |
< |
# Is the header present? |
13028 |
< |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
13029 |
< |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
13030 |
< |
cat >conftest.$ac_ext <<_ACEOF |
13031 |
< |
/* confdefs.h. */ |
13032 |
< |
_ACEOF |
13033 |
< |
cat confdefs.h >>conftest.$ac_ext |
13034 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
13035 |
< |
/* end confdefs.h. */ |
13036 |
< |
#include <$ac_header> |
13037 |
< |
_ACEOF |
13038 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
13039 |
< |
case "(($ac_try" in |
13040 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13041 |
< |
*) ac_try_echo=$ac_try;; |
13042 |
< |
esac |
13786 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13787 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
13788 |
< |
ac_status=$? |
13789 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
13790 |
< |
rm -f conftest.er1 |
13791 |
< |
cat conftest.err >&5 |
13792 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13793 |
< |
(exit $ac_status); } >/dev/null && { |
13794 |
< |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
13795 |
< |
test ! -s conftest.err |
13796 |
< |
}; then |
13797 |
< |
ac_header_preproc=yes |
13798 |
< |
else |
13799 |
< |
echo "$as_me: failed program was:" >&5 |
13800 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
13801 |
< |
|
13802 |
< |
ac_header_preproc=no |
13803 |
< |
fi |
13804 |
< |
|
13805 |
< |
rm -f conftest.err conftest.$ac_ext |
13806 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
13807 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
13808 |
< |
|
13809 |
< |
# So? What about this header? |
13810 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
13811 |
< |
yes:no: ) |
13812 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
13813 |
< |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
13814 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
13815 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
13816 |
< |
ac_header_preproc=yes |
13817 |
< |
;; |
13818 |
< |
no:yes:* ) |
13819 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
13820 |
< |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
13821 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
13822 |
< |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
13823 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
13824 |
< |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
13825 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
13826 |
< |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
13827 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
13828 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
13829 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
13830 |
< |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
13831 |
< |
( cat <<\_ASBOX |
13832 |
< |
## ------------------------------ ## |
13833 |
< |
## Report this to gezelter@nd.edu ## |
13834 |
< |
## ------------------------------ ## |
13835 |
< |
_ASBOX |
13836 |
< |
) | sed "s/^/$as_me: WARNING: /" >&2 |
13837 |
< |
;; |
13838 |
< |
esac |
13839 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
13840 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
13841 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
13842 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
13843 |
< |
else |
13844 |
< |
eval "$as_ac_Header=\$ac_header_preproc" |
13845 |
< |
fi |
13846 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
13847 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
13848 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
13849 |
< |
|
13850 |
< |
fi |
13851 |
< |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
13852 |
< |
cat >>confdefs.h <<_ACEOF |
13853 |
< |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
13854 |
< |
_ACEOF |
13855 |
< |
|
13856 |
< |
fi |
13857 |
< |
|
13858 |
< |
done |
13859 |
< |
|
13860 |
< |
|
13861 |
< |
|
13862 |
< |
|
13863 |
< |
{ echo "$as_me:$LINENO: checking for C++ iostream in namespace std" >&5 |
13864 |
< |
echo $ECHO_N "checking for C++ iostream in namespace std... $ECHO_C" >&6; } |
13865 |
< |
if test "${ac_cv_cxx_have_std_iostream+set}" = set; then |
13866 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
13867 |
< |
else |
13868 |
< |
|
13869 |
< |
ac_cv_cxx_have_std_iostream=no |
13870 |
< |
ac_cv_cxx_need_use_std_iostream=no |
13871 |
< |
if test "x$ac_cv_cxx_namespaces" = xyes; then |
13872 |
< |
|
13873 |
< |
ac_ext=cpp |
13874 |
< |
ac_cpp='$CXXCPP $CPPFLAGS' |
13875 |
< |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
13876 |
< |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
13877 |
< |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
13878 |
< |
|
13879 |
< |
cat >conftest.$ac_ext <<_ACEOF |
13880 |
< |
/* confdefs.h. */ |
13881 |
< |
_ACEOF |
13882 |
< |
cat confdefs.h >>conftest.$ac_ext |
13883 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
13884 |
< |
/* end confdefs.h. */ |
13885 |
< |
|
13886 |
< |
#ifdef HAVE_IOSTREAM |
13887 |
< |
#include <iostream> |
13888 |
< |
#else |
13889 |
< |
#include <iostream.h> |
13890 |
< |
#endif |
13891 |
< |
|
13892 |
< |
#ifdef FC_DUMMY_MAIN |
13893 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
13894 |
< |
# ifdef __cplusplus |
13895 |
< |
extern "C" |
13896 |
< |
# endif |
13897 |
< |
int FC_DUMMY_MAIN() { return 1; } |
13898 |
< |
#endif |
13899 |
< |
#endif |
13900 |
< |
int |
13901 |
< |
main () |
13902 |
< |
{ |
13903 |
< |
std::cout<<"Hello World"<<std::endl;return 0; |
13904 |
< |
; |
13905 |
< |
return 0; |
13906 |
< |
} |
13907 |
< |
_ACEOF |
13908 |
< |
rm -f conftest.$ac_objext |
13909 |
< |
if { (ac_try="$ac_compile" |
13910 |
< |
case "(($ac_try" in |
13911 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13912 |
< |
*) ac_try_echo=$ac_try;; |
13913 |
< |
esac |
13914 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13915 |
< |
(eval "$ac_compile") 2>conftest.er1 |
13916 |
< |
ac_status=$? |
13917 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
13918 |
< |
rm -f conftest.er1 |
13919 |
< |
cat conftest.err >&5 |
13920 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13921 |
< |
(exit $ac_status); } && { |
13922 |
< |
test -z "$ac_cxx_werror_flag" || |
13923 |
< |
test ! -s conftest.err |
13924 |
< |
} && test -s conftest.$ac_objext; then |
13925 |
< |
ac_cv_cxx_have_std_iostream=yes |
13926 |
< |
else |
13927 |
< |
echo "$as_me: failed program was:" >&5 |
13928 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
13929 |
< |
|
13930 |
< |
|
13931 |
< |
fi |
13932 |
< |
|
13933 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13934 |
< |
cat >conftest.$ac_ext <<_ACEOF |
13935 |
< |
/* confdefs.h. */ |
13936 |
< |
_ACEOF |
13937 |
< |
cat confdefs.h >>conftest.$ac_ext |
13938 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
13939 |
< |
/* end confdefs.h. */ |
13940 |
< |
|
13941 |
< |
#define __USE_STD_IOSTREAM 1 |
13942 |
< |
#ifdef HAVE_IOSTREAM |
13943 |
< |
#include <iostream> |
13944 |
< |
#else |
13945 |
< |
#include <iostream.h> |
13946 |
< |
#endif |
13947 |
< |
|
13948 |
< |
#ifdef FC_DUMMY_MAIN |
13949 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
13950 |
< |
# ifdef __cplusplus |
13951 |
< |
extern "C" |
13952 |
< |
# endif |
13953 |
< |
int FC_DUMMY_MAIN() { return 1; } |
13954 |
< |
#endif |
13955 |
< |
#endif |
13956 |
< |
int |
13957 |
< |
main () |
13958 |
< |
{ |
13959 |
< |
std::cout<<"Hello World"<<std::endl;return 0; |
13960 |
< |
; |
13961 |
< |
return 0; |
13962 |
< |
} |
13963 |
< |
_ACEOF |
13964 |
< |
rm -f conftest.$ac_objext |
13965 |
< |
if { (ac_try="$ac_compile" |
13966 |
< |
case "(($ac_try" in |
13967 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13968 |
< |
*) ac_try_echo=$ac_try;; |
13969 |
< |
esac |
13970 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13971 |
< |
(eval "$ac_compile") 2>conftest.er1 |
13972 |
< |
ac_status=$? |
13973 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
13974 |
< |
rm -f conftest.er1 |
13975 |
< |
cat conftest.err >&5 |
13976 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13977 |
< |
(exit $ac_status); } && { |
13978 |
< |
test -z "$ac_cxx_werror_flag" || |
13979 |
< |
test ! -s conftest.err |
13980 |
< |
} && test -s conftest.$ac_objext; then |
13981 |
< |
ac_cv_cxx_have_std_iostream=yes;ac_cv_cxx_need_use_std_iostream=yes |
13982 |
< |
else |
13983 |
< |
echo "$as_me: failed program was:" >&5 |
13984 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
13985 |
< |
|
13986 |
< |
|
13987 |
< |
fi |
13988 |
< |
|
13989 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13990 |
< |
ac_ext=cpp |
13991 |
< |
ac_cpp='$CXXCPP $CPPFLAGS' |
13992 |
< |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
13993 |
< |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
13994 |
< |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
13995 |
< |
|
13996 |
< |
fi |
13997 |
< |
|
13998 |
< |
fi |
13999 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iostream" >&5 |
14000 |
< |
echo "${ECHO_T}$ac_cv_cxx_have_std_iostream" >&6; } |
14001 |
< |
if test "$ac_cv_cxx_have_std_iostream" = yes; then |
14002 |
< |
|
14003 |
< |
cat >>confdefs.h <<\_ACEOF |
14004 |
< |
#define HAVE_STD_IOSTREAM 1 |
14005 |
< |
_ACEOF |
14006 |
< |
|
14007 |
< |
fi |
14008 |
< |
if test "$ac_cv_cxx_need_use_std_iostream" = yes; then |
14009 |
< |
|
14010 |
< |
cat >>confdefs.h <<\_ACEOF |
14011 |
< |
#define __USE_STD_IOSTREAM 1 |
14012 |
< |
_ACEOF |
14013 |
< |
|
14014 |
< |
fi |
14015 |
< |
|
14016 |
< |
|
14017 |
< |
|
14018 |
< |
|
14019 |
< |
{ echo "$as_me:$LINENO: checking for C++ Standard Template Library in namespace std." >&5 |
14020 |
< |
echo $ECHO_N "checking for C++ Standard Template Library in namespace std.... $ECHO_C" >&6; } |
14021 |
< |
if test "${ac_cv_cxx_have_std_stl+set}" = set; then |
14022 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14023 |
< |
else |
14024 |
< |
|
14025 |
< |
ac_cv_cxx_have_std_stl=no |
14026 |
< |
if test "x$ac_cv_cxx_namespaces" = xyes; then |
14027 |
< |
|
14028 |
< |
ac_ext=cpp |
14029 |
< |
ac_cpp='$CXXCPP $CPPFLAGS' |
14030 |
< |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
14031 |
< |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
14032 |
< |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
14033 |
< |
|
14034 |
< |
cat >conftest.$ac_ext <<_ACEOF |
14035 |
< |
/* confdefs.h. */ |
14036 |
< |
_ACEOF |
14037 |
< |
cat confdefs.h >>conftest.$ac_ext |
14038 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
14039 |
< |
/* end confdefs.h. */ |
14040 |
< |
#include <list> |
14041 |
< |
|
14042 |
< |
#ifdef FC_DUMMY_MAIN |
14043 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
14044 |
< |
# ifdef __cplusplus |
14045 |
< |
extern "C" |
14046 |
< |
# endif |
14047 |
< |
int FC_DUMMY_MAIN() { return 1; } |
14048 |
< |
#endif |
14049 |
< |
#endif |
14050 |
< |
int |
14051 |
< |
main () |
14052 |
< |
{ |
14053 |
< |
std::list<int> foo;return 0; |
14054 |
< |
; |
14055 |
< |
return 0; |
14056 |
< |
} |
14057 |
< |
_ACEOF |
14058 |
< |
rm -f conftest.$ac_objext |
14059 |
< |
if { (ac_try="$ac_compile" |
14060 |
< |
case "(($ac_try" in |
14061 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14062 |
< |
*) ac_try_echo=$ac_try;; |
14063 |
< |
esac |
14064 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
14065 |
< |
(eval "$ac_compile") 2>conftest.er1 |
14066 |
< |
ac_status=$? |
14067 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
14068 |
< |
rm -f conftest.er1 |
14069 |
< |
cat conftest.err >&5 |
14070 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14071 |
< |
(exit $ac_status); } && { |
14072 |
< |
test -z "$ac_cxx_werror_flag" || |
14073 |
< |
test ! -s conftest.err |
14074 |
< |
} && test -s conftest.$ac_objext; then |
14075 |
< |
ac_cv_cxx_have_std_stl=yes |
14076 |
< |
else |
14077 |
< |
echo "$as_me: failed program was:" >&5 |
14078 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
14079 |
< |
|
14080 |
< |
|
14081 |
< |
fi |
14082 |
< |
|
14083 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14084 |
< |
ac_ext=cpp |
14085 |
< |
ac_cpp='$CXXCPP $CPPFLAGS' |
14086 |
< |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
14087 |
< |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
14088 |
< |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
14089 |
< |
|
14090 |
< |
fi |
14091 |
< |
|
14092 |
< |
fi |
14093 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_stl" >&5 |
14094 |
< |
echo "${ECHO_T}$ac_cv_cxx_have_std_stl" >&6; } |
14095 |
< |
if test "$ac_cv_cxx_have_std_stl" = yes; then |
14096 |
< |
|
14097 |
< |
cat >>confdefs.h <<\_ACEOF |
14098 |
< |
#define HAVE_STD_STL 1 |
14099 |
< |
_ACEOF |
14100 |
< |
|
14101 |
< |
fi |
14102 |
< |
|
14103 |
< |
|
14104 |
< |
|
14105 |
< |
{ echo "$as_me:$LINENO: checking for fstream::attach()" >&5 |
14106 |
< |
echo $ECHO_N "checking for fstream::attach()... $ECHO_C" >&6; } |
14107 |
< |
if test "${ac_cv_cxx_have_fstream_attach+set}" = set; then |
14108 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14109 |
< |
else |
14110 |
< |
|
14111 |
< |
ac_cv_cxx_have_fstream_attach=no |
14112 |
< |
|
14113 |
< |
ac_ext=cpp |
14114 |
< |
ac_cpp='$CXXCPP $CPPFLAGS' |
14115 |
< |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
14116 |
< |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
14117 |
< |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
14118 |
< |
|
14119 |
< |
cat >conftest.$ac_ext <<_ACEOF |
14120 |
< |
/* confdefs.h. */ |
14121 |
< |
_ACEOF |
14122 |
< |
cat confdefs.h >>conftest.$ac_ext |
14123 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
14124 |
< |
/* end confdefs.h. */ |
14125 |
< |
|
14126 |
< |
#ifdef HAVE_IOSTREAM |
14127 |
< |
#include <fstream> |
14128 |
< |
#else |
14129 |
< |
#include <fstream.h> |
14130 |
< |
#endif |
14131 |
< |
#ifdef HAVE_STD_IOSTREAM |
14132 |
< |
using namespace std; |
14133 |
< |
#endif |
14134 |
< |
|
14135 |
< |
#ifdef FC_DUMMY_MAIN |
14136 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
14137 |
< |
# ifdef __cplusplus |
14138 |
< |
extern "C" |
14139 |
< |
# endif |
14140 |
< |
int FC_DUMMY_MAIN() { return 1; } |
14141 |
< |
#endif |
14142 |
< |
#endif |
14143 |
< |
int |
14144 |
< |
main () |
14145 |
< |
{ |
14146 |
< |
int fd=0;ofstream s;s.attach(fd); |
14147 |
< |
; |
14148 |
< |
return 0; |
14149 |
< |
} |
14150 |
< |
_ACEOF |
14151 |
< |
rm -f conftest.$ac_objext |
14152 |
< |
if { (ac_try="$ac_compile" |
14153 |
< |
case "(($ac_try" in |
14154 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14155 |
< |
*) ac_try_echo=$ac_try;; |
14156 |
< |
esac |
14157 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
14158 |
< |
(eval "$ac_compile") 2>conftest.er1 |
14159 |
< |
ac_status=$? |
14160 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
14161 |
< |
rm -f conftest.er1 |
14162 |
< |
cat conftest.err >&5 |
14163 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14164 |
< |
(exit $ac_status); } && { |
14165 |
< |
test -z "$ac_cxx_werror_flag" || |
14166 |
< |
test ! -s conftest.err |
14167 |
< |
} && test -s conftest.$ac_objext; then |
14168 |
< |
ac_cv_cxx_have_fstream_attach=yes |
14169 |
< |
else |
14170 |
< |
echo "$as_me: failed program was:" >&5 |
14171 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
14172 |
< |
|
14173 |
< |
|
14174 |
< |
fi |
14175 |
< |
|
14176 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14177 |
< |
ac_ext=cpp |
14178 |
< |
ac_cpp='$CXXCPP $CPPFLAGS' |
14179 |
< |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
14180 |
< |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
14181 |
< |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
14182 |
< |
|
14183 |
< |
|
14184 |
< |
fi |
14185 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fstream_attach" >&5 |
14186 |
< |
echo "${ECHO_T}$ac_cv_cxx_have_fstream_attach" >&6; } |
14187 |
< |
if test "$ac_cv_cxx_have_fstream_attach" = yes; then |
14188 |
< |
|
14189 |
< |
cat >>confdefs.h <<\_ACEOF |
14190 |
< |
#define HAVE_FSTREAM_ATTACH 1 |
14191 |
< |
_ACEOF |
14192 |
< |
|
14193 |
< |
fi |
14194 |
< |
|
14195 |
< |
|
14196 |
< |
|
14197 |
< |
{ echo "$as_me:$LINENO: checking for fstream::open()" >&5 |
14198 |
< |
echo $ECHO_N "checking for fstream::open()... $ECHO_C" >&6; } |
14199 |
< |
if test "${ac_cv_cxx_have_fstream_open+set}" = set; then |
14200 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14201 |
< |
else |
14202 |
< |
|
14203 |
< |
ac_cv_cxx_have_fstream_open=no |
14204 |
< |
ac_cv_cxx_fstream_open_prot=no |
14205 |
< |
|
14206 |
< |
ac_ext=cpp |
14207 |
< |
ac_cpp='$CXXCPP $CPPFLAGS' |
14208 |
< |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
14209 |
< |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
14210 |
< |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
14211 |
< |
|
14212 |
< |
# Try with 2 parameters |
14213 |
< |
cat >conftest.$ac_ext <<_ACEOF |
14214 |
< |
/* confdefs.h. */ |
14215 |
< |
_ACEOF |
14216 |
< |
cat confdefs.h >>conftest.$ac_ext |
14217 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
14218 |
< |
/* end confdefs.h. */ |
14219 |
< |
|
14220 |
< |
#ifdef HAVE_IOSTREAM |
14221 |
< |
#include <fstream> |
14222 |
< |
#else |
14223 |
< |
#include <fstream.h> |
14224 |
< |
#endif |
14225 |
< |
#ifdef HAVE_STD_IOSTREAM |
14226 |
< |
using namespace std; |
14227 |
< |
#endif |
14228 |
< |
|
14229 |
< |
#ifdef FC_DUMMY_MAIN |
14230 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
14231 |
< |
# ifdef __cplusplus |
14232 |
< |
extern "C" |
14233 |
< |
# endif |
14234 |
< |
int FC_DUMMY_MAIN() { return 1; } |
14235 |
< |
#endif |
14236 |
< |
#endif |
14237 |
< |
int |
14238 |
< |
main () |
14239 |
< |
{ |
14240 |
< |
ofstream s;s.open("conftest.txt",ios::out|ios::trunc); |
14241 |
< |
; |
14242 |
< |
return 0; |
14243 |
< |
} |
14244 |
< |
_ACEOF |
14245 |
< |
rm -f conftest.$ac_objext |
14246 |
< |
if { (ac_try="$ac_compile" |
14247 |
< |
case "(($ac_try" in |
14248 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14249 |
< |
*) ac_try_echo=$ac_try;; |
14250 |
< |
esac |
14251 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
14252 |
< |
(eval "$ac_compile") 2>conftest.er1 |
14253 |
< |
ac_status=$? |
14254 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
14255 |
< |
rm -f conftest.er1 |
14256 |
< |
cat conftest.err >&5 |
14257 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14258 |
< |
(exit $ac_status); } && { |
14259 |
< |
test -z "$ac_cxx_werror_flag" || |
14260 |
< |
test ! -s conftest.err |
14261 |
< |
} && test -s conftest.$ac_objext; then |
14262 |
< |
ac_cv_cxx_have_fstream_open=yes |
14263 |
< |
else |
14264 |
< |
echo "$as_me: failed program was:" >&5 |
14265 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
14266 |
< |
|
14267 |
< |
|
14268 |
< |
fi |
14269 |
< |
|
14270 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14271 |
< |
# Try with mode parameter |
14272 |
< |
cat >conftest.$ac_ext <<_ACEOF |
14273 |
< |
/* confdefs.h. */ |
14274 |
< |
_ACEOF |
14275 |
< |
cat confdefs.h >>conftest.$ac_ext |
14276 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
14277 |
< |
/* end confdefs.h. */ |
14278 |
< |
|
14279 |
< |
#ifdef HAVE_IOSTREAM |
14280 |
< |
#include <fstream> |
14281 |
< |
#else |
14282 |
< |
#include <fstream.h> |
14283 |
< |
#endif |
14284 |
< |
#ifdef HAVE_STD_IOSTREAM |
14285 |
< |
using namespace std; |
14286 |
< |
#endif |
14287 |
< |
|
14288 |
< |
#ifdef FC_DUMMY_MAIN |
14289 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
14290 |
< |
# ifdef __cplusplus |
14291 |
< |
extern "C" |
14292 |
< |
# endif |
14293 |
< |
int FC_DUMMY_MAIN() { return 1; } |
14294 |
< |
#endif |
14295 |
< |
#endif |
14296 |
< |
int |
14297 |
< |
main () |
14298 |
< |
{ |
14299 |
< |
ofstream s;s.open("conftest.txt",ios::out|ios::trunc,0666); |
14300 |
< |
; |
14301 |
< |
return 0; |
14302 |
< |
} |
14303 |
< |
_ACEOF |
14304 |
< |
rm -f conftest.$ac_objext |
14305 |
< |
if { (ac_try="$ac_compile" |
14306 |
< |
case "(($ac_try" in |
14307 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14308 |
< |
*) ac_try_echo=$ac_try;; |
14309 |
< |
esac |
14310 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
14311 |
< |
(eval "$ac_compile") 2>conftest.er1 |
14312 |
< |
ac_status=$? |
14313 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
14314 |
< |
rm -f conftest.er1 |
14315 |
< |
cat conftest.err >&5 |
14316 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14317 |
< |
(exit $ac_status); } && { |
14318 |
< |
test -z "$ac_cxx_werror_flag" || |
14319 |
< |
test ! -s conftest.err |
14320 |
< |
} && test -s conftest.$ac_objext; then |
14321 |
< |
ac_cv_cxx_fstream_open_prot=yes |
14322 |
< |
else |
14323 |
< |
echo "$as_me: failed program was:" >&5 |
14324 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
14325 |
< |
|
14326 |
< |
|
14327 |
< |
fi |
14328 |
< |
|
14329 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14330 |
< |
ac_ext=cpp |
14331 |
< |
ac_cpp='$CXXCPP $CPPFLAGS' |
14332 |
< |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
14333 |
< |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
14334 |
< |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
14335 |
< |
|
14336 |
< |
|
14337 |
< |
fi |
14338 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fstream_open" >&5 |
14339 |
< |
echo "${ECHO_T}$ac_cv_cxx_have_fstream_open" >&6; } |
14340 |
< |
if test "$ac_cv_cxx_have_fstream_open" = yes; then |
14341 |
< |
|
14342 |
< |
cat >>confdefs.h <<\_ACEOF |
14343 |
< |
#define HAVE_FSTREAM_OPEN 1 |
14344 |
< |
_ACEOF |
14345 |
< |
|
14346 |
< |
fi |
14347 |
< |
if test "$ac_cv_cxx_fstream_open_prot" = yes; then |
14348 |
< |
|
14349 |
< |
cat >>confdefs.h <<\_ACEOF |
14350 |
< |
#define FSTREAM_OPEN_PROT 1 |
14351 |
< |
_ACEOF |
14352 |
< |
|
14353 |
< |
fi |
14354 |
< |
|
14355 |
< |
|
14356 |
< |
|
14357 |
< |
|
14358 |
< |
|
14359 |
< |
|
14360 |
< |
|
14361 |
< |
for ac_header in ctype.h iostream fstream sstream strstream |
14362 |
< |
do |
14363 |
< |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
14364 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
14365 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
14366 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
14367 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
14368 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14369 |
< |
fi |
14370 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
14371 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
14372 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
14373 |
< |
else |
14374 |
< |
# Is the header compilable? |
14375 |
< |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
14376 |
< |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
14377 |
< |
cat >conftest.$ac_ext <<_ACEOF |
14378 |
< |
/* confdefs.h. */ |
14379 |
< |
_ACEOF |
14380 |
< |
cat confdefs.h >>conftest.$ac_ext |
14381 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
14382 |
< |
/* end confdefs.h. */ |
14383 |
< |
$ac_includes_default |
14384 |
< |
#include <$ac_header> |
14385 |
< |
_ACEOF |
14386 |
< |
rm -f conftest.$ac_objext |
14387 |
< |
if { (ac_try="$ac_compile" |
14388 |
< |
case "(($ac_try" in |
14389 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14390 |
< |
*) ac_try_echo=$ac_try;; |
14391 |
< |
esac |
14392 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
14393 |
< |
(eval "$ac_compile") 2>conftest.er1 |
14394 |
< |
ac_status=$? |
14395 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
14396 |
< |
rm -f conftest.er1 |
14397 |
< |
cat conftest.err >&5 |
14398 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14399 |
< |
(exit $ac_status); } && { |
14400 |
< |
test -z "$ac_cxx_werror_flag" || |
14401 |
< |
test ! -s conftest.err |
14402 |
< |
} && test -s conftest.$ac_objext; then |
14403 |
< |
ac_header_compiler=yes |
14404 |
< |
else |
14405 |
< |
echo "$as_me: failed program was:" >&5 |
14406 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
14407 |
< |
|
14408 |
< |
ac_header_compiler=no |
14409 |
< |
fi |
14410 |
< |
|
14411 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14412 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
14413 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
14414 |
< |
|
14415 |
< |
# Is the header present? |
14416 |
< |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
14417 |
< |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
14418 |
< |
cat >conftest.$ac_ext <<_ACEOF |
14419 |
< |
/* confdefs.h. */ |
14420 |
< |
_ACEOF |
14421 |
< |
cat confdefs.h >>conftest.$ac_ext |
14422 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
14423 |
< |
/* end confdefs.h. */ |
14424 |
< |
#include <$ac_header> |
14425 |
< |
_ACEOF |
14426 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
14427 |
< |
case "(($ac_try" in |
14428 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14429 |
< |
*) ac_try_echo=$ac_try;; |
14430 |
< |
esac |
14431 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
14432 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
14433 |
< |
ac_status=$? |
14434 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
14435 |
< |
rm -f conftest.er1 |
14436 |
< |
cat conftest.err >&5 |
14437 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14438 |
< |
(exit $ac_status); } >/dev/null && { |
14439 |
< |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
14440 |
< |
test ! -s conftest.err |
14441 |
< |
}; then |
14442 |
< |
ac_header_preproc=yes |
14443 |
< |
else |
14444 |
< |
echo "$as_me: failed program was:" >&5 |
14445 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
14446 |
< |
|
14447 |
< |
ac_header_preproc=no |
14448 |
< |
fi |
14449 |
< |
|
14450 |
< |
rm -f conftest.err conftest.$ac_ext |
14451 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
14452 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
14453 |
< |
|
14454 |
< |
# So? What about this header? |
14455 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
14456 |
< |
yes:no: ) |
14457 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
14458 |
< |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
14459 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
14460 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
14461 |
< |
ac_header_preproc=yes |
14462 |
< |
;; |
14463 |
< |
no:yes:* ) |
14464 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
14465 |
< |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
14466 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
14467 |
< |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
14468 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
14469 |
< |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
14470 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
14471 |
< |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
14472 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
14473 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
14474 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
14475 |
< |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
14476 |
< |
( cat <<\_ASBOX |
14477 |
< |
## ------------------------------ ## |
14478 |
< |
## Report this to gezelter@nd.edu ## |
14479 |
< |
## ------------------------------ ## |
14480 |
< |
_ASBOX |
14481 |
< |
) | sed "s/^/$as_me: WARNING: /" >&2 |
14482 |
< |
;; |
14483 |
< |
esac |
14484 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
14485 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
14486 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
14487 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14488 |
< |
else |
14489 |
< |
eval "$as_ac_Header=\$ac_header_preproc" |
14490 |
< |
fi |
14491 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
14492 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
14493 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
14494 |
< |
|
14495 |
< |
fi |
14496 |
< |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
14497 |
< |
cat >>confdefs.h <<_ACEOF |
14498 |
< |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
14499 |
< |
_ACEOF |
14500 |
< |
|
14501 |
< |
fi |
14502 |
< |
|
14503 |
< |
done |
14504 |
< |
|
14505 |
< |
# AC_CPP_FUNC |
14506 |
< |
# ------------------ # |
14507 |
< |
# Checks to see if ANSI C99 CPP variable __func__ works. |
14508 |
< |
# If not, perhaps __FUNCTION__ works instead. |
14509 |
< |
# If not, we'll just define __func__ to "". |
14510 |
< |
# AC_CPP_FUNC |
14511 |
< |
|
14512 |
< |
case $ac_cv_prog_cc_stdc in |
14513 |
< |
no) ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; |
14514 |
< |
*) { echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5 |
14515 |
< |
echo $ECHO_N "checking for $CC option to accept ISO C99... $ECHO_C" >&6; } |
14516 |
< |
if test "${ac_cv_prog_cc_c99+set}" = set; then |
14517 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14518 |
< |
else |
14519 |
< |
ac_cv_prog_cc_c99=no |
14520 |
< |
ac_save_CC=$CC |
14521 |
< |
cat >conftest.$ac_ext <<_ACEOF |
14522 |
< |
/* confdefs.h. */ |
14523 |
< |
_ACEOF |
14524 |
< |
cat confdefs.h >>conftest.$ac_ext |
14525 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
14526 |
< |
/* end confdefs.h. */ |
14527 |
< |
#include <stdarg.h> |
14528 |
< |
#include <stdbool.h> |
14529 |
< |
#include <stdlib.h> |
14530 |
< |
#include <wchar.h> |
14531 |
< |
#include <stdio.h> |
14532 |
< |
|
14533 |
< |
// Check varargs macros. These examples are taken from C99 6.10.3.5. |
14534 |
< |
#define debug(...) fprintf (stderr, __VA_ARGS__) |
14535 |
< |
#define showlist(...) puts (#__VA_ARGS__) |
14536 |
< |
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
14537 |
< |
static void |
14538 |
< |
test_varargs_macros (void) |
14539 |
< |
{ |
14540 |
< |
int x = 1234; |
14541 |
< |
int y = 5678; |
14542 |
< |
debug ("Flag"); |
14543 |
< |
debug ("X = %d\n", x); |
14544 |
< |
showlist (The first, second, and third items.); |
14545 |
< |
report (x>y, "x is %d but y is %d", x, y); |
14546 |
< |
} |
14547 |
< |
|
14548 |
< |
// Check long long types. |
14549 |
< |
#define BIG64 18446744073709551615ull |
14550 |
< |
#define BIG32 4294967295ul |
14551 |
< |
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
14552 |
< |
#if !BIG_OK |
14553 |
< |
your preprocessor is broken; |
14554 |
< |
#endif |
14555 |
< |
#if BIG_OK |
14556 |
< |
#else |
14557 |
< |
your preprocessor is broken; |
14558 |
< |
#endif |
14559 |
< |
static long long int bignum = -9223372036854775807LL; |
14560 |
< |
static unsigned long long int ubignum = BIG64; |
14561 |
< |
|
14562 |
< |
struct incomplete_array |
14563 |
< |
{ |
14564 |
< |
int datasize; |
14565 |
< |
double data[]; |
14566 |
< |
}; |
14567 |
< |
|
14568 |
< |
struct named_init { |
14569 |
< |
int number; |
14570 |
< |
const wchar_t *name; |
14571 |
< |
double average; |
14572 |
< |
}; |
14573 |
< |
|
14574 |
< |
typedef const char *ccp; |
14575 |
< |
|
14576 |
< |
static inline int |
14577 |
< |
test_restrict (ccp restrict text) |
14578 |
< |
{ |
14579 |
< |
// See if C++-style comments work. |
14580 |
< |
// Iterate through items via the restricted pointer. |
14581 |
< |
// Also check for declarations in for loops. |
14582 |
< |
for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
14583 |
< |
continue; |
14584 |
< |
return 0; |
14585 |
< |
} |
14586 |
< |
|
14587 |
< |
// Check varargs and va_copy. |
14588 |
< |
static void |
14589 |
< |
test_varargs (const char *format, ...) |
14590 |
< |
{ |
14591 |
< |
va_list args; |
14592 |
< |
va_start (args, format); |
14593 |
< |
va_list args_copy; |
14594 |
< |
va_copy (args_copy, args); |
14595 |
< |
|
14596 |
< |
const char *str; |
14597 |
< |
int number; |
14598 |
< |
float fnumber; |
14599 |
< |
|
14600 |
< |
while (*format) |
14601 |
< |
{ |
14602 |
< |
switch (*format++) |
14603 |
< |
{ |
14604 |
< |
case 's': // string |
14605 |
< |
str = va_arg (args_copy, const char *); |
14606 |
< |
break; |
14607 |
< |
case 'd': // int |
14608 |
< |
number = va_arg (args_copy, int); |
14609 |
< |
break; |
14610 |
< |
case 'f': // float |
14611 |
< |
fnumber = va_arg (args_copy, double); |
14612 |
< |
break; |
14613 |
< |
default: |
14614 |
< |
break; |
14615 |
< |
} |
14616 |
< |
} |
14617 |
< |
va_end (args_copy); |
14618 |
< |
va_end (args); |
14619 |
< |
} |
14620 |
< |
|
14621 |
< |
#ifdef FC_DUMMY_MAIN |
14622 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
14623 |
< |
# ifdef __cplusplus |
14624 |
< |
extern "C" |
14625 |
< |
# endif |
14626 |
< |
int FC_DUMMY_MAIN() { return 1; } |
14627 |
< |
#endif |
14628 |
< |
#endif |
14629 |
< |
int |
14630 |
< |
main () |
14631 |
< |
{ |
14632 |
< |
|
14633 |
< |
// Check bool. |
14634 |
< |
_Bool success = false; |
14635 |
< |
|
14636 |
< |
// Check restrict. |
14637 |
< |
if (test_restrict ("String literal") == 0) |
14638 |
< |
success = true; |
14639 |
< |
char *restrict newvar = "Another string"; |
14640 |
< |
|
14641 |
< |
// Check varargs. |
14642 |
< |
test_varargs ("s, d' f .", "string", 65, 34.234); |
14643 |
< |
test_varargs_macros (); |
14644 |
< |
|
14645 |
< |
// Check flexible array members. |
14646 |
< |
struct incomplete_array *ia = |
14647 |
< |
malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
14648 |
< |
ia->datasize = 10; |
14649 |
< |
for (int i = 0; i < ia->datasize; ++i) |
14650 |
< |
ia->data[i] = i * 1.234; |
14651 |
< |
|
14652 |
< |
// Check named initializers. |
14653 |
< |
struct named_init ni = { |
14654 |
< |
.number = 34, |
14655 |
< |
.name = L"Test wide string", |
14656 |
< |
.average = 543.34343, |
14657 |
< |
}; |
14658 |
< |
|
14659 |
< |
ni.number = 58; |
14660 |
< |
|
14661 |
< |
int dynamic_array[ni.number]; |
14662 |
< |
dynamic_array[ni.number - 1] = 543; |
14663 |
< |
|
14664 |
< |
// work around unused variable warnings |
14665 |
< |
return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
14666 |
< |
|| dynamic_array[ni.number - 1] != 543); |
14667 |
< |
|
14668 |
< |
; |
14669 |
< |
return 0; |
14670 |
< |
} |
14671 |
< |
_ACEOF |
14672 |
< |
for ac_arg in '' -std=gnu99 -c99 -qlanglvl=extc99 |
14673 |
< |
do |
14674 |
< |
CC="$ac_save_CC $ac_arg" |
14675 |
< |
rm -f conftest.$ac_objext |
14676 |
< |
if { (ac_try="$ac_compile" |
14677 |
< |
case "(($ac_try" in |
14678 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14679 |
< |
*) ac_try_echo=$ac_try;; |
14680 |
< |
esac |
14681 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
14682 |
< |
(eval "$ac_compile") 2>conftest.er1 |
14683 |
< |
ac_status=$? |
14684 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
14685 |
< |
rm -f conftest.er1 |
14686 |
< |
cat conftest.err >&5 |
14687 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14688 |
< |
(exit $ac_status); } && { |
14689 |
< |
test -z "$ac_cxx_werror_flag" || |
14690 |
< |
test ! -s conftest.err |
14691 |
< |
} && test -s conftest.$ac_objext; then |
14692 |
< |
ac_cv_prog_cc_c99=$ac_arg |
14693 |
< |
else |
14694 |
< |
echo "$as_me: failed program was:" >&5 |
14695 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
14696 |
< |
|
14697 |
< |
|
14698 |
< |
fi |
14699 |
< |
|
14700 |
< |
rm -f core conftest.err conftest.$ac_objext |
14701 |
< |
test "x$ac_cv_prog_cc_c99" != "xno" && break |
14702 |
< |
done |
14703 |
< |
rm -f conftest.$ac_ext |
14704 |
< |
CC=$ac_save_CC |
14705 |
< |
|
14706 |
< |
fi |
14707 |
< |
# AC_CACHE_VAL |
14708 |
< |
case "x$ac_cv_prog_cc_c99" in |
14709 |
< |
x) |
14710 |
< |
{ echo "$as_me:$LINENO: result: none needed" >&5 |
14711 |
< |
echo "${ECHO_T}none needed" >&6; } ;; |
14712 |
< |
xno) |
14713 |
< |
{ echo "$as_me:$LINENO: result: unsupported" >&5 |
14714 |
< |
echo "${ECHO_T}unsupported" >&6; } ;; |
14715 |
< |
*) |
14716 |
< |
CC="$CC $ac_cv_prog_cc_c99" |
14717 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5 |
14718 |
< |
echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;; |
14719 |
< |
esac |
14720 |
< |
if test "x$ac_cv_prog_cc_c99" != xno; then |
14721 |
< |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 |
14722 |
< |
else |
14723 |
< |
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
14724 |
< |
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
14725 |
< |
if test "${ac_cv_prog_cc_c89+set}" = set; then |
14726 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14727 |
< |
else |
14728 |
< |
ac_cv_prog_cc_c89=no |
14729 |
< |
ac_save_CC=$CC |
14730 |
< |
cat >conftest.$ac_ext <<_ACEOF |
14731 |
< |
/* confdefs.h. */ |
14732 |
< |
_ACEOF |
14733 |
< |
cat confdefs.h >>conftest.$ac_ext |
14734 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
14735 |
< |
/* end confdefs.h. */ |
14736 |
< |
#include <stdarg.h> |
14737 |
< |
#include <stdio.h> |
14738 |
< |
#include <sys/types.h> |
14739 |
< |
#include <sys/stat.h> |
14740 |
< |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
14741 |
< |
struct buf { int x; }; |
14742 |
< |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
14743 |
< |
static char *e (p, i) |
14744 |
< |
char **p; |
14745 |
< |
int i; |
14746 |
< |
{ |
14747 |
< |
return p[i]; |
14748 |
< |
} |
14749 |
< |
static char *f (char * (*g) (char **, int), char **p, ...) |
14750 |
< |
{ |
14751 |
< |
char *s; |
14752 |
< |
va_list v; |
14753 |
< |
va_start (v,p); |
14754 |
< |
s = g (p, va_arg (v,int)); |
14755 |
< |
va_end (v); |
14756 |
< |
return s; |
14757 |
< |
} |
14758 |
< |
|
14759 |
< |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
14760 |
< |
function prototypes and stuff, but not '\xHH' hex character constants. |
14761 |
< |
These don't provoke an error unfortunately, instead are silently treated |
14762 |
< |
as 'x'. The following induces an error, until -std is added to get |
14763 |
< |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
14764 |
< |
array size at least. It's necessary to write '\x00'==0 to get something |
14765 |
< |
that's true only with -std. */ |
14766 |
< |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
14767 |
< |
|
14768 |
< |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
14769 |
< |
inside strings and character constants. */ |
14770 |
< |
#define FOO(x) 'x' |
14771 |
< |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
14772 |
< |
|
14773 |
< |
int test (int i, double x); |
14774 |
< |
struct s1 {int (*f) (int a);}; |
14775 |
< |
struct s2 {int (*f) (double a);}; |
14776 |
< |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
14777 |
< |
int argc; |
14778 |
< |
char **argv; |
14779 |
< |
#ifdef FC_DUMMY_MAIN |
14780 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
14781 |
< |
# ifdef __cplusplus |
14782 |
< |
extern "C" |
14783 |
< |
# endif |
14784 |
< |
int FC_DUMMY_MAIN() { return 1; } |
14785 |
< |
#endif |
14786 |
< |
#endif |
14787 |
< |
int |
14788 |
< |
main () |
14789 |
< |
{ |
14790 |
< |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
14791 |
< |
; |
14792 |
< |
return 0; |
14793 |
< |
} |
14794 |
< |
_ACEOF |
14795 |
< |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
14796 |
< |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
14797 |
< |
do |
14798 |
< |
CC="$ac_save_CC $ac_arg" |
14799 |
< |
rm -f conftest.$ac_objext |
14800 |
< |
if { (ac_try="$ac_compile" |
14801 |
< |
case "(($ac_try" in |
14802 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14803 |
< |
*) ac_try_echo=$ac_try;; |
14804 |
< |
esac |
14805 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
14806 |
< |
(eval "$ac_compile") 2>conftest.er1 |
14807 |
< |
ac_status=$? |
14808 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
14809 |
< |
rm -f conftest.er1 |
14810 |
< |
cat conftest.err >&5 |
14811 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14812 |
< |
(exit $ac_status); } && { |
14813 |
< |
test -z "$ac_cxx_werror_flag" || |
14814 |
< |
test ! -s conftest.err |
14815 |
< |
} && test -s conftest.$ac_objext; then |
14816 |
< |
ac_cv_prog_cc_c89=$ac_arg |
14817 |
< |
else |
14818 |
< |
echo "$as_me: failed program was:" >&5 |
14819 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
14820 |
< |
|
14821 |
< |
|
14822 |
< |
fi |
14823 |
< |
|
14824 |
< |
rm -f core conftest.err conftest.$ac_objext |
14825 |
< |
test "x$ac_cv_prog_cc_c89" != "xno" && break |
14826 |
< |
done |
14827 |
< |
rm -f conftest.$ac_ext |
14828 |
< |
CC=$ac_save_CC |
14829 |
< |
|
14830 |
< |
fi |
14831 |
< |
# AC_CACHE_VAL |
14832 |
< |
case "x$ac_cv_prog_cc_c89" in |
14833 |
< |
x) |
14834 |
< |
{ echo "$as_me:$LINENO: result: none needed" >&5 |
14835 |
< |
echo "${ECHO_T}none needed" >&6; } ;; |
14836 |
< |
xno) |
14837 |
< |
{ echo "$as_me:$LINENO: result: unsupported" >&5 |
14838 |
< |
echo "${ECHO_T}unsupported" >&6; } ;; |
14839 |
< |
*) |
14840 |
< |
CC="$CC $ac_cv_prog_cc_c89" |
14841 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
14842 |
< |
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
14843 |
< |
esac |
14844 |
< |
if test "x$ac_cv_prog_cc_c89" != xno; then |
14845 |
< |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 |
14846 |
< |
else |
14847 |
< |
ac_cv_prog_cc_stdc=no |
14848 |
< |
fi |
14849 |
< |
|
14850 |
< |
|
14851 |
< |
fi |
14852 |
< |
|
14853 |
< |
;; |
14854 |
< |
esac |
14855 |
< |
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5 |
14856 |
< |
echo $ECHO_N "checking for $CC option to accept ISO Standard C... $ECHO_C" >&6; } |
14857 |
< |
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
14858 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14859 |
< |
fi |
14860 |
< |
|
14861 |
< |
case $ac_cv_prog_cc_stdc in |
14862 |
< |
no) { echo "$as_me:$LINENO: result: unsupported" >&5 |
14863 |
< |
echo "${ECHO_T}unsupported" >&6; } ;; |
14864 |
< |
'') { echo "$as_me:$LINENO: result: none needed" >&5 |
14865 |
< |
echo "${ECHO_T}none needed" >&6; } ;; |
14866 |
< |
*) { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
14867 |
< |
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } ;; |
14868 |
< |
esac |
14869 |
< |
|
14870 |
< |
|
14871 |
< |
{ echo "$as_me:$LINENO: checking for an ANSI C99-conforming __func__" >&5 |
14872 |
< |
echo $ECHO_N "checking for an ANSI C99-conforming __func__... $ECHO_C" >&6; } |
14873 |
< |
if test "${ac_cv_cpp_func+set}" = set; then |
14874 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14875 |
< |
else |
14876 |
< |
cat >conftest.$ac_ext <<_ACEOF |
14877 |
< |
/* confdefs.h. */ |
14878 |
< |
_ACEOF |
14879 |
< |
cat confdefs.h >>conftest.$ac_ext |
14880 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
14881 |
< |
/* end confdefs.h. */ |
14882 |
< |
|
14883 |
< |
#ifdef FC_DUMMY_MAIN |
14884 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
14885 |
< |
# ifdef __cplusplus |
14886 |
< |
extern "C" |
14887 |
< |
# endif |
14888 |
< |
int FC_DUMMY_MAIN() { return 1; } |
14889 |
< |
#endif |
14890 |
< |
#endif |
14891 |
< |
int |
14892 |
< |
main () |
14893 |
< |
{ |
14894 |
< |
const char *foo = __func__; |
14895 |
< |
; |
14896 |
< |
return 0; |
14897 |
< |
} |
14898 |
< |
_ACEOF |
14899 |
< |
rm -f conftest.$ac_objext |
14900 |
< |
if { (ac_try="$ac_compile" |
14901 |
< |
case "(($ac_try" in |
14902 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14903 |
< |
*) ac_try_echo=$ac_try;; |
14904 |
< |
esac |
14905 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
14906 |
< |
(eval "$ac_compile") 2>conftest.er1 |
14907 |
< |
ac_status=$? |
14908 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
14909 |
< |
rm -f conftest.er1 |
14910 |
< |
cat conftest.err >&5 |
14911 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14912 |
< |
(exit $ac_status); } && { |
14913 |
< |
test -z "$ac_cxx_werror_flag" || |
14914 |
< |
test ! -s conftest.err |
14915 |
< |
} && test -s conftest.$ac_objext; then |
14916 |
< |
ac_cv_cpp_func=yes |
14917 |
< |
else |
14918 |
< |
echo "$as_me: failed program was:" >&5 |
14919 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
14920 |
< |
|
14921 |
< |
cat >conftest.$ac_ext <<_ACEOF |
14922 |
< |
/* confdefs.h. */ |
14923 |
< |
_ACEOF |
14924 |
< |
cat confdefs.h >>conftest.$ac_ext |
14925 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
14926 |
< |
/* end confdefs.h. */ |
14927 |
< |
|
14928 |
< |
#ifdef FC_DUMMY_MAIN |
14929 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
14930 |
< |
# ifdef __cplusplus |
14931 |
< |
extern "C" |
14932 |
< |
# endif |
14933 |
< |
int FC_DUMMY_MAIN() { return 1; } |
14934 |
< |
#endif |
14935 |
< |
#endif |
14936 |
< |
int |
14937 |
< |
main () |
14938 |
< |
{ |
14939 |
< |
const char *foo = __FUNCTION__; |
14940 |
< |
; |
14941 |
< |
return 0; |
14942 |
< |
} |
14943 |
< |
_ACEOF |
14944 |
< |
rm -f conftest.$ac_objext |
14945 |
< |
if { (ac_try="$ac_compile" |
14946 |
< |
case "(($ac_try" in |
14947 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14948 |
< |
*) ac_try_echo=$ac_try;; |
14949 |
< |
esac |
14950 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
14951 |
< |
(eval "$ac_compile") 2>conftest.er1 |
14952 |
< |
ac_status=$? |
14953 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
14954 |
< |
rm -f conftest.er1 |
14955 |
< |
cat conftest.err >&5 |
14956 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14957 |
< |
(exit $ac_status); } && { |
14958 |
< |
test -z "$ac_cxx_werror_flag" || |
14959 |
< |
test ! -s conftest.err |
14960 |
< |
} && test -s conftest.$ac_objext; then |
14961 |
< |
ac_cv_cpp_func=__FUNCTION__ |
14962 |
< |
else |
14963 |
< |
echo "$as_me: failed program was:" >&5 |
14964 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
14965 |
< |
|
14966 |
< |
ac_cv_cpp_func=no |
14967 |
< |
fi |
14968 |
< |
|
14969 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14970 |
< |
fi |
14971 |
< |
|
14972 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14973 |
< |
fi |
14974 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_cpp_func" >&5 |
14975 |
< |
echo "${ECHO_T}$ac_cv_cpp_func" >&6; } |
14976 |
< |
if test $ac_cv_cpp_func = __FUNCTION__; then |
14977 |
< |
|
14978 |
< |
cat >>confdefs.h <<\_ACEOF |
14979 |
< |
#define __func__ __FUNCTION__ |
14980 |
< |
_ACEOF |
14981 |
< |
|
14982 |
< |
elif test $ac_cv_cpp_func = no; then |
14983 |
< |
|
14984 |
< |
cat >>confdefs.h <<\_ACEOF |
14985 |
< |
#define __func__ "" |
14986 |
< |
_ACEOF |
14987 |
< |
|
14988 |
< |
fi |
14989 |
< |
|
14990 |
< |
|
14991 |
< |
|
14992 |
< |
|
14993 |
< |
|
14994 |
< |
case $debug in |
14995 |
< |
1) |
14996 |
< |
;; |
14997 |
< |
*) |
14998 |
< |
|
14999 |
< |
|
15000 |
< |
|
15001 |
< |
|
15002 |
< |
# Try to determine "good" native compiler flags if none specified on command |
15003 |
< |
# line |
15004 |
< |
|
15005 |
< |
if test "$ac_test_FFLAGS" != "set"; then |
15006 |
< |
FCFLAGS="" |
15007 |
< |
case "${host_cpu}-${host_os}" in |
15008 |
< |
|
15009 |
< |
*linux*) if test "$FC" = ifc -o "$FC" = ifort; then |
15010 |
< |
FCFLAGS="-O3 -ip -no-prec-div" |
15011 |
< |
fi;; |
15012 |
< |
rs6000*-aix*) if test "$FC" = xlf90 -o "$FC" = f90 -o "$FC" = xlf95; then |
15013 |
< |
FCFLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w" |
15014 |
< |
fi;; |
15015 |
< |
powerpc*-aix*) |
15016 |
< |
if test "$FC" = f90 -o "$FC" = xlf90 -o "$FC" = xlf95; then |
15017 |
< |
FCFLAGS="-O3 -qarch=ppc -qansialias -w" |
15018 |
< |
echo "*******************************************************" |
15019 |
< |
echo "* You have AIX on an unknown powerpc system. It is *" |
15020 |
< |
echo "* recommended that you use *" |
15021 |
< |
echo "* *" |
15022 |
< |
echo "* FCFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w *" |
15023 |
< |
echo "* ^^^ *" |
15024 |
< |
echo "* where xxx is 601, 603, 604, or whatever kind of *" |
15025 |
< |
echo "* PowerPC CPU you have. For more info, man xlf. *" |
15026 |
< |
echo "*******************************************************" |
15027 |
< |
fi;; |
15028 |
< |
*darwin*) |
15029 |
< |
if test "$FC" = f90 -o "$FC" = xlf90 -o "$FC" = xlf95; then |
15030 |
< |
FCFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto" |
15031 |
< |
fi |
15032 |
< |
if test "$FC" = ifort; then |
15033 |
< |
FCFLAGS="-O3 -ip -no-prec-dev -mdynamic-no-pic" |
15034 |
< |
fi;; |
15035 |
< |
esac |
15036 |
< |
|
15037 |
< |
if test -n "$CPU_FLAGS"; then |
15038 |
< |
FCFLAGS="$FCFLAGS $CPU_FLAGS" |
15039 |
< |
fi |
15040 |
< |
|
15041 |
< |
if test -z "$FCFLAGS"; then |
15042 |
< |
echo "" |
15043 |
< |
echo "*********************************************************" |
15044 |
< |
echo "* WARNING: Don't know the best FCFLAGS for this system *" |
15045 |
< |
echo "* Use make FCFLAGS=..., or edit the top level Makefile *" |
15046 |
< |
echo "* (otherwise, a default of FCFLAGS=-O3 will be used) *" |
15047 |
< |
echo "*********************************************************" |
15048 |
< |
echo "" |
15049 |
< |
FCFLAGS="-O3" |
15050 |
< |
fi |
15051 |
< |
|
15052 |
< |
|
15053 |
< |
{ echo "$as_me:$LINENO: checking whether ${FC} accepts ${FCFLAGS}" >&5 |
15054 |
< |
echo $ECHO_N "checking whether ${FC} accepts ${FCFLAGS}... $ECHO_C" >&6; } |
15055 |
< |
if test "${ac_guessed_f90flags+set}" = set; then |
15056 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
15057 |
< |
else |
15058 |
< |
|
15059 |
< |
|
15060 |
< |
ac_ext=${ac_fc_srcext-f} |
15061 |
< |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
15062 |
< |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
15063 |
< |
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
15064 |
< |
|
15065 |
< |
echo 'program main' > conftest.$ac_ext |
15066 |
< |
echo 'end program main' >> conftest.$ac_ext |
15067 |
< |
ac_compile='${FC} -c ${FCFLAGS} $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext 1>&5' |
15068 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
15069 |
< |
(eval $ac_compile) 2>&5 |
15070 |
< |
ac_status=$? |
15071 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15072 |
< |
(exit $ac_status); }; then |
15073 |
< |
ac_guessed_f90flags=yes |
15074 |
< |
else |
15075 |
< |
ac_guessed_f90flags=no |
15076 |
< |
fi |
15077 |
< |
rm -f conftest* |
15078 |
< |
ac_ext=cpp |
15079 |
< |
ac_cpp='$CXXCPP $CPPFLAGS' |
15080 |
< |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
15081 |
< |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
15082 |
< |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
15083 |
< |
|
15084 |
< |
|
15085 |
< |
fi |
15086 |
< |
{ echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5 |
15087 |
< |
echo "${ECHO_T}$ac_guessed_f90flags" >&6; } |
15088 |
< |
if test "$ac_guessed_f90flags" = yes; then |
15089 |
< |
: |
15090 |
< |
|
15091 |
< |
else |
15092 |
< |
: |
15093 |
< |
|
15094 |
< |
echo "" |
15095 |
< |
echo "**********************************************************" |
15096 |
< |
echo "* WARNING: The guessed FCFLAGS don't seem to work with *" |
15097 |
< |
echo "* your compiler. *" |
15098 |
< |
echo "* Use make FCFLAGS=..., or edit the top level Makefile *" |
15099 |
< |
echo "*********************************************************" |
15100 |
< |
echo "" |
15101 |
< |
FCFLAGS="" |
15102 |
< |
|
15103 |
< |
fi |
15104 |
< |
|
15105 |
< |
|
15106 |
< |
fi |
15107 |
< |
|
15108 |
< |
|
15109 |
< |
|
15110 |
< |
|
15111 |
< |
|
15112 |
< |
|
15113 |
< |
|
15114 |
< |
{ echo "$as_me:$LINENO: checking whether we are *really* using GNU cc" >&5 |
15115 |
< |
echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6; } |
15116 |
< |
if test "${ac_cv_prog_really_gcc+set}" = set; then |
15117 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
15118 |
< |
else |
15119 |
< |
|
15120 |
< |
cat > conftest.c <<EOF |
15121 |
< |
#ifdef __GNUC__ |
15122 |
< |
#if defined(__INTEL_COMPILER) || defined(__PATHCC__) |
15123 |
< |
no; |
15124 |
< |
#else |
15125 |
< |
yes; |
15126 |
< |
#endif |
15127 |
< |
#endif |
15128 |
< |
EOF |
15129 |
< |
if { ac_try='${CC-cc} -E conftest.c' |
15130 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15131 |
< |
(eval $ac_try) 2>&5 |
15132 |
< |
ac_status=$? |
15133 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15134 |
< |
(exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then |
15135 |
< |
ac_cv_prog_really_gcc=yes |
15136 |
< |
else |
15137 |
< |
ac_cv_prog_really_gcc=no |
15138 |
< |
fi |
15139 |
< |
|
15140 |
< |
fi |
15141 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_really_gcc" >&5 |
15142 |
< |
echo "${ECHO_T}$ac_cv_prog_really_gcc" >&6; } |
15143 |
< |
if test "$ac_cv_prog_really_gcc" = yes; then |
15144 |
< |
: |
15145 |
< |
|
15146 |
< |
else |
15147 |
< |
: |
15148 |
< |
|
15149 |
< |
fi |
15150 |
< |
|
15151 |
< |
|
15152 |
< |
# Try to determine "good" native compiler flags if none specified on command |
15153 |
< |
# line |
15154 |
< |
if test "$ac_test_CFLAGS" != "set"; then |
15155 |
< |
CFLAGS="" |
15156 |
< |
case "${host_cpu}-${host_os}" in |
15157 |
< |
|
15158 |
< |
*linux*) if test "$CC" = icc; then |
15159 |
< |
CFLAGS="-O" |
15160 |
< |
fi;; |
15161 |
< |
sparc-solaris2*) if test "$CC" = cc; then |
15162 |
< |
CFLAGS="-O -dalign" |
15163 |
< |
fi;; |
15164 |
< |
|
15165 |
< |
alpha*-osf*) if test "$CC" = cc; then |
15166 |
< |
CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host -arch host -std1" |
15167 |
< |
fi;; |
15168 |
< |
|
15169 |
< |
hppa*-hpux*) if test "$CC" = cc; then |
15170 |
< |
CFLAGS="-Ae +O3 +Oall" |
15171 |
< |
fi;; |
15172 |
< |
|
15173 |
< |
rs6000*-aix*) if test "$CC" = cc -o "$CC" = xlc; then |
15174 |
< |
CFLAGS="-O3 -qtune=auto -qansialias -w" |
15175 |
< |
fi;; |
15176 |
< |
powerpc*-aix*) |
15177 |
< |
if test "$CC" = cc -o "$CC" = xlc; then |
15178 |
< |
CFLAGS="-O3 -qtune=auto -qansialias -w" |
15179 |
< |
echo "*******************************************************" |
15180 |
< |
echo "* You have AIX on an unknown powerpc system. It is *" |
15181 |
< |
echo "* recommended that you use *" |
15182 |
< |
echo "* *" |
15183 |
< |
echo "* CFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w *" |
15184 |
< |
echo "* ^^^ *" |
15185 |
< |
echo "* where xxx is 601, 603, 604, or whatever kind of *" |
15186 |
< |
echo "* PowerPC CPU you have. For more info, man cc. *" |
15187 |
< |
echo "*******************************************************" |
15188 |
< |
fi;; |
15189 |
< |
*darwin*) |
15190 |
< |
if test "$CC" = xlc -o "$CC" = cc; then |
15191 |
< |
CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec" |
15192 |
< |
fi |
15193 |
< |
if test "$CC" = icc; then |
15194 |
< |
CFLAGS="-O3 -ip -no-prec-div -mdynamic-no-pic" |
15195 |
< |
fi;; |
15196 |
< |
esac |
15197 |
< |
|
15198 |
< |
# use default flags for gcc on all systems |
15199 |
< |
if test $ac_cv_prog_really_gcc = yes; then |
15200 |
< |
CFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align" |
15201 |
< |
fi |
15202 |
< |
|
15203 |
< |
# test for gcc-specific flags: |
15204 |
< |
if test $ac_cv_prog_really_gcc = yes; then |
15205 |
< |
# -malign-double for x86 systems |
15206 |
< |
|
15207 |
< |
|
15208 |
< |
{ echo "$as_me:$LINENO: checking whether ${CC} accepts -malign-double" >&5 |
15209 |
< |
echo $ECHO_N "checking whether ${CC} accepts -malign-double... $ECHO_C" >&6; } |
15210 |
< |
if test "${ac_align_double+set}" = set; then |
15211 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
15212 |
< |
else |
15213 |
< |
echo 'void f(){}' > conftest.c |
15214 |
< |
if test -z "`${CC} -malign-double -c conftest.c 2>&1`"; then |
15215 |
< |
ac_align_double=yes |
15216 |
< |
else |
15217 |
< |
ac_align_double=no |
15218 |
< |
fi |
15219 |
< |
rm -f conftest* |
15220 |
< |
|
15221 |
< |
fi |
15222 |
< |
{ echo "$as_me:$LINENO: result: $ac_align_double" >&5 |
15223 |
< |
echo "${ECHO_T}$ac_align_double" >&6; } |
15224 |
< |
if test "$ac_align_double" = yes; then |
15225 |
< |
: |
15226 |
< |
CFLAGS="$CFLAGS -malign-double" |
15227 |
< |
else |
15228 |
< |
: |
15229 |
< |
|
15230 |
< |
fi |
15231 |
< |
|
15232 |
< |
# -fstrict-aliasing for gcc-2.95+ |
15233 |
< |
|
15234 |
< |
|
15235 |
< |
{ echo "$as_me:$LINENO: checking whether ${CC} accepts -fstrict-aliasing" >&5 |
15236 |
< |
echo $ECHO_N "checking whether ${CC} accepts -fstrict-aliasing... $ECHO_C" >&6; } |
15237 |
< |
if test "${ac_fstrict_aliasing+set}" = set; then |
15238 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
15239 |
< |
else |
15240 |
< |
echo 'void f(){}' > conftest.c |
15241 |
< |
if test -z "`${CC} -fstrict-aliasing -c conftest.c 2>&1`"; then |
15242 |
< |
ac_fstrict_aliasing=yes |
15243 |
< |
else |
15244 |
< |
ac_fstrict_aliasing=no |
15245 |
< |
fi |
15246 |
< |
rm -f conftest* |
15247 |
< |
|
15248 |
< |
fi |
15249 |
< |
{ echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5 |
15250 |
< |
echo "${ECHO_T}$ac_fstrict_aliasing" >&6; } |
15251 |
< |
if test "$ac_fstrict_aliasing" = yes; then |
15252 |
< |
: |
15253 |
< |
CFLAGS="$CFLAGS -fstrict-aliasing" |
15254 |
< |
else |
15255 |
< |
: |
15256 |
< |
|
15257 |
< |
fi |
15258 |
< |
|
15259 |
< |
fi |
15260 |
< |
|
15261 |
< |
CPU_FLAGS="" |
15262 |
< |
if test $ac_cv_prog_really_gcc = yes; then |
15263 |
< |
case "${host_cpu}" in |
15264 |
< |
i586*) |
15265 |
< |
|
15266 |
< |
{ echo "$as_me:$LINENO: checking whether ${CC} accepts -mcpu=pentium" >&5 |
15267 |
< |
echo $ECHO_N "checking whether ${CC} accepts -mcpu=pentium... $ECHO_C" >&6; } |
15268 |
< |
if test "${ac_cpu_pentium+set}" = set; then |
15269 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
15270 |
< |
else |
15271 |
< |
echo 'void f(){}' > conftest.c |
15272 |
< |
if test -z "`${CC} -mcpu=pentium -c conftest.c 2>&1`"; then |
15273 |
< |
ac_cpu_pentium=yes |
15274 |
< |
else |
15275 |
< |
ac_cpu_pentium=no |
15276 |
< |
fi |
15277 |
< |
rm -f conftest* |
15278 |
< |
|
15279 |
< |
fi |
15280 |
< |
{ echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5 |
15281 |
< |
echo "${ECHO_T}$ac_cpu_pentium" >&6; } |
15282 |
< |
if test "$ac_cpu_pentium" = yes; then |
15283 |
< |
: |
15284 |
< |
CPU_FLAGS=-mcpu=pentium |
15285 |
< |
else |
15286 |
< |
: |
15287 |
< |
|
15288 |
< |
|
15289 |
< |
{ echo "$as_me:$LINENO: checking whether ${CC} accepts -mpentium" >&5 |
15290 |
< |
echo $ECHO_N "checking whether ${CC} accepts -mpentium... $ECHO_C" >&6; } |
15291 |
< |
if test "${ac_pentium+set}" = set; then |
15292 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
15293 |
< |
else |
15294 |
< |
echo 'void f(){}' > conftest.c |
15295 |
< |
if test -z "`${CC} -mpentium -c conftest.c 2>&1`"; then |
15296 |
< |
ac_pentium=yes |
15297 |
< |
else |
15298 |
< |
ac_pentium=no |
15299 |
< |
fi |
15300 |
< |
rm -f conftest* |
15301 |
< |
|
15302 |
< |
fi |
15303 |
< |
{ echo "$as_me:$LINENO: result: $ac_pentium" >&5 |
15304 |
< |
echo "${ECHO_T}$ac_pentium" >&6; } |
15305 |
< |
if test "$ac_pentium" = yes; then |
15306 |
< |
: |
15307 |
< |
CPU_FLAGS=-mpentium |
15308 |
< |
else |
15309 |
< |
: |
15310 |
< |
|
15311 |
< |
fi |
15312 |
< |
|
15313 |
< |
fi |
15314 |
< |
|
15315 |
< |
;; |
15316 |
< |
i686*) |
15317 |
< |
|
15318 |
< |
{ echo "$as_me:$LINENO: checking whether ${CC} accepts -mcpu=pentiumpro" >&5 |
15319 |
< |
echo $ECHO_N "checking whether ${CC} accepts -mcpu=pentiumpro... $ECHO_C" >&6; } |
15320 |
< |
if test "${ac_cpu_pentiumpro+set}" = set; then |
15321 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
15322 |
< |
else |
15323 |
< |
echo 'void f(){}' > conftest.c |
15324 |
< |
if test -z "`${CC} -mcpu=pentiumpro -c conftest.c 2>&1`"; then |
15325 |
< |
ac_cpu_pentiumpro=yes |
15326 |
< |
else |
15327 |
< |
ac_cpu_pentiumpro=no |
15328 |
< |
fi |
15329 |
< |
rm -f conftest* |
15330 |
< |
|
15331 |
< |
fi |
15332 |
< |
{ echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5 |
15333 |
< |
echo "${ECHO_T}$ac_cpu_pentiumpro" >&6; } |
15334 |
< |
if test "$ac_cpu_pentiumpro" = yes; then |
15335 |
< |
: |
15336 |
< |
CPU_FLAGS=-mcpu=pentiumpro |
15337 |
< |
else |
15338 |
< |
: |
15339 |
< |
|
15340 |
< |
|
15341 |
< |
{ echo "$as_me:$LINENO: checking whether ${CC} accepts -mpentiumpro" >&5 |
15342 |
< |
echo $ECHO_N "checking whether ${CC} accepts -mpentiumpro... $ECHO_C" >&6; } |
15343 |
< |
if test "${ac_pentiumpro+set}" = set; then |
15344 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
15345 |
< |
else |
15346 |
< |
echo 'void f(){}' > conftest.c |
15347 |
< |
if test -z "`${CC} -mpentiumpro -c conftest.c 2>&1`"; then |
15348 |
< |
ac_pentiumpro=yes |
15349 |
< |
else |
15350 |
< |
ac_pentiumpro=no |
15351 |
< |
fi |
15352 |
< |
rm -f conftest* |
15353 |
< |
|
15354 |
< |
fi |
15355 |
< |
{ echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5 |
15356 |
< |
echo "${ECHO_T}$ac_pentiumpro" >&6; } |
15357 |
< |
if test "$ac_pentiumpro" = yes; then |
15358 |
< |
: |
15359 |
< |
CPU_FLAGS=-mpentiumpro |
15360 |
< |
else |
15361 |
< |
: |
15362 |
< |
|
15363 |
< |
fi |
15364 |
< |
|
15365 |
< |
fi |
15366 |
< |
|
15367 |
< |
;; |
15368 |
< |
powerpc*) |
15369 |
< |
cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null` |
15370 |
< |
is60x=`echo $cputype | egrep "^600-9e?$"` |
15371 |
< |
if test -n "$is60x"; then |
15372 |
< |
|
15373 |
< |
|
15374 |
< |
{ echo "$as_me:$LINENO: checking whether ${CC} accepts -mcpu=$cputype" >&5 |
15375 |
< |
echo $ECHO_N "checking whether ${CC} accepts -mcpu=$cputype... $ECHO_C" >&6; } |
15376 |
< |
if test "${ac_m_cpu_60x+set}" = set; then |
15377 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
15378 |
< |
else |
15379 |
< |
echo 'void f(){}' > conftest.c |
15380 |
< |
if test -z "`${CC} -mcpu=$cputype -c conftest.c 2>&1`"; then |
15381 |
< |
ac_m_cpu_60x=yes |
15382 |
< |
else |
15383 |
< |
ac_m_cpu_60x=no |
15384 |
< |
fi |
15385 |
< |
rm -f conftest* |
15386 |
< |
|
15387 |
< |
fi |
15388 |
< |
{ echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5 |
15389 |
< |
echo "${ECHO_T}$ac_m_cpu_60x" >&6; } |
15390 |
< |
if test "$ac_m_cpu_60x" = yes; then |
15391 |
< |
: |
15392 |
< |
CPU_FLAGS=-mcpu=$cputype |
15393 |
< |
else |
15394 |
< |
: |
15395 |
< |
|
15396 |
< |
fi |
15397 |
< |
|
15398 |
< |
elif test "$cputype" = 750; then |
15399 |
< |
|
15400 |
< |
|
15401 |
< |
{ echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5 |
15402 |
< |
echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6; } |
15403 |
< |
if test "${ac_cv_prog_gcc_2_95+set}" = set; then |
15404 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
15405 |
< |
else |
15406 |
< |
|
15407 |
< |
cat > conftest.c <<EOF |
15408 |
< |
#ifdef __GNUC__ && !defined (__INTEL_COMPILER) |
15409 |
< |
# if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) |
15410 |
< |
yes; |
15411 |
< |
# endif |
15412 |
< |
#endif |
15413 |
< |
EOF |
15414 |
< |
if { ac_try='${CC-cc} -E conftest.c' |
15415 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15416 |
< |
(eval $ac_try) 2>&5 |
15417 |
< |
ac_status=$? |
15418 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15419 |
< |
(exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then |
15420 |
< |
ac_cv_prog_gcc_2_95=yes |
15421 |
< |
else |
15422 |
< |
ac_cv_prog_gcc_2_95=no |
15423 |
< |
fi |
15424 |
< |
|
15425 |
< |
fi |
15426 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5 |
15427 |
< |
echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6; } |
15428 |
< |
if test "$ac_cv_prog_gcc_2_95" = yes; then |
15429 |
< |
: |
15430 |
< |
|
15431 |
< |
|
15432 |
< |
{ echo "$as_me:$LINENO: checking whether ${CC} accepts -mcpu=750" >&5 |
15433 |
< |
echo $ECHO_N "checking whether ${CC} accepts -mcpu=750... $ECHO_C" >&6; } |
15434 |
< |
if test "${ac_m_cpu_750+set}" = set; then |
15435 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
15436 |
< |
else |
15437 |
< |
echo 'void f(){}' > conftest.c |
15438 |
< |
if test -z "`${CC} -mcpu=750 -c conftest.c 2>&1`"; then |
15439 |
< |
ac_m_cpu_750=yes |
15440 |
< |
else |
15441 |
< |
ac_m_cpu_750=no |
15442 |
< |
fi |
15443 |
< |
rm -f conftest* |
15444 |
< |
|
15445 |
< |
fi |
15446 |
< |
{ echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5 |
15447 |
< |
echo "${ECHO_T}$ac_m_cpu_750" >&6; } |
15448 |
< |
if test "$ac_m_cpu_750" = yes; then |
15449 |
< |
: |
15450 |
< |
CPU_FLAGS=-mcpu=750 |
15451 |
< |
else |
15452 |
< |
: |
15453 |
< |
|
15454 |
< |
fi |
15455 |
< |
|
15456 |
< |
else |
15457 |
< |
: |
15458 |
< |
|
15459 |
< |
fi |
15460 |
< |
|
15461 |
< |
fi |
15462 |
< |
if test -z "$CPU_FLAGS"; then |
15463 |
< |
|
15464 |
< |
|
15465 |
< |
{ echo "$as_me:$LINENO: checking whether ${CC} accepts -mcpu=powerpc" >&5 |
15466 |
< |
echo $ECHO_N "checking whether ${CC} accepts -mcpu=powerpc... $ECHO_C" >&6; } |
15467 |
< |
if test "${ac_m_cpu_powerpc+set}" = set; then |
15468 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
15469 |
< |
else |
15470 |
< |
echo 'void f(){}' > conftest.c |
15471 |
< |
if test -z "`${CC} -mcpu=powerpc -c conftest.c 2>&1`"; then |
15472 |
< |
ac_m_cpu_powerpc=yes |
15473 |
< |
else |
15474 |
< |
ac_m_cpu_powerpc=no |
15475 |
< |
fi |
15476 |
< |
rm -f conftest* |
15477 |
< |
|
15478 |
< |
fi |
15479 |
< |
{ echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5 |
15480 |
< |
echo "${ECHO_T}$ac_m_cpu_powerpc" >&6; } |
15481 |
< |
if test "$ac_m_cpu_powerpc" = yes; then |
15482 |
< |
: |
15483 |
< |
CPU_FLAGS=-mcpu=powerpc |
15484 |
< |
else |
15485 |
< |
: |
15486 |
< |
|
15487 |
< |
fi |
15488 |
< |
|
15489 |
< |
fi |
15490 |
< |
if test -z "$CPU_FLAGS"; then |
15491 |
< |
|
15492 |
< |
|
15493 |
< |
{ echo "$as_me:$LINENO: checking whether ${CC} accepts -mpowerpc" >&5 |
15494 |
< |
echo $ECHO_N "checking whether ${CC} accepts -mpowerpc... $ECHO_C" >&6; } |
15495 |
< |
if test "${ac_m_powerpc+set}" = set; then |
15496 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
15497 |
< |
else |
15498 |
< |
echo 'void f(){}' > conftest.c |
15499 |
< |
if test -z "`${CC} -mpowerpc -c conftest.c 2>&1`"; then |
15500 |
< |
ac_m_powerpc=yes |
15501 |
< |
else |
15502 |
< |
ac_m_powerpc=no |
15503 |
< |
fi |
15504 |
< |
rm -f conftest* |
15505 |
< |
|
15506 |
< |
fi |
15507 |
< |
{ echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5 |
15508 |
< |
echo "${ECHO_T}$ac_m_powerpc" >&6; } |
15509 |
< |
if test "$ac_m_powerpc" = yes; then |
15510 |
< |
: |
15511 |
< |
CPU_FLAGS=-mpowerpc |
15512 |
< |
else |
15513 |
< |
: |
15514 |
< |
|
15515 |
< |
fi |
15516 |
< |
|
15517 |
< |
fi |
15518 |
< |
esac |
15519 |
< |
fi |
15520 |
< |
|
15521 |
< |
if test -n "$CPU_FLAGS"; then |
15522 |
< |
CFLAGS="$CFLAGS $CPU_FLAGS" |
15523 |
< |
fi |
15524 |
< |
|
15525 |
< |
if test -z "$CFLAGS"; then |
15526 |
< |
echo "" |
15527 |
< |
echo "********************************************************" |
15528 |
< |
echo "* WARNING: Don't know the best CFLAGS for this system *" |
15529 |
< |
echo "* Use make CFLAGS=..., or edit the top level Makefile *" |
15530 |
< |
echo "* (otherwise, a default of CFLAGS=-O3 will be used) *" |
15531 |
< |
echo "********************************************************" |
15532 |
< |
echo "" |
15533 |
< |
CFLAGS="-O3" |
15534 |
< |
fi |
15535 |
< |
|
15536 |
< |
|
15537 |
< |
|
15538 |
< |
{ echo "$as_me:$LINENO: checking whether ${CC} accepts ${CFLAGS}" >&5 |
15539 |
< |
echo $ECHO_N "checking whether ${CC} accepts ${CFLAGS}... $ECHO_C" >&6; } |
15540 |
< |
if test "${ac_guessed_cflags+set}" = set; then |
15541 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
15542 |
< |
else |
15543 |
< |
echo 'void f(){}' > conftest.c |
15544 |
< |
if test -z "`${CC} ${CFLAGS} -c conftest.c 2>&1`"; then |
15545 |
< |
ac_guessed_cflags=yes |
15546 |
< |
else |
15547 |
< |
ac_guessed_cflags=no |
15548 |
< |
fi |
15549 |
< |
rm -f conftest* |
15550 |
< |
|
15551 |
< |
fi |
15552 |
< |
{ echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5 |
15553 |
< |
echo "${ECHO_T}$ac_guessed_cflags" >&6; } |
15554 |
< |
if test "$ac_guessed_cflags" = yes; then |
15555 |
< |
: |
15556 |
< |
|
15557 |
< |
else |
15558 |
< |
: |
15559 |
< |
|
15560 |
< |
echo "" |
15561 |
< |
echo "********************************************************" |
15562 |
< |
echo "* WARNING: The guessed CFLAGS don't seem to work with *" |
15563 |
< |
echo "* your compiler. *" |
15564 |
< |
echo "* Use make CFLAGS=..., or edit the top level Makefile *" |
15565 |
< |
echo "********************************************************" |
15566 |
< |
echo "" |
15567 |
< |
CFLAGS="" |
15568 |
< |
|
15569 |
< |
fi |
15570 |
< |
|
15571 |
< |
|
15572 |
< |
fi |
15573 |
< |
|
15574 |
< |
|
15575 |
< |
|
15576 |
< |
|
15577 |
< |
|
15578 |
< |
|
15579 |
< |
|
15580 |
< |
{ echo "$as_me:$LINENO: checking whether we are *really* using GNU c++" >&5 |
15581 |
< |
echo $ECHO_N "checking whether we are *really* using GNU c++... $ECHO_C" >&6; } |
15582 |
< |
if test "${ac_cv_prog_really_gxx+set}" = set; then |
15583 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
15584 |
< |
else |
15585 |
< |
|
15586 |
< |
cat > conftest.cpp <<EOF |
15587 |
< |
#ifdef __GNUC__ |
15588 |
< |
#if defined(__INTEL_COMPILER) || defined(__PATHCC__) |
15589 |
< |
no; |
15590 |
< |
#else |
15591 |
< |
yes; |
15592 |
< |
#endif |
15593 |
< |
#endif |
15594 |
< |
EOF |
15595 |
< |
if { ac_try='${CXX-c++} -E conftest.cpp' |
15596 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15597 |
< |
(eval $ac_try) 2>&5 |
15598 |
< |
ac_status=$? |
15599 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15600 |
< |
(exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then |
15601 |
< |
ac_cv_prog_really_gxx=yes |
15602 |
< |
else |
15603 |
< |
ac_cv_prog_really_gxx=no |
15604 |
< |
fi |
15605 |
< |
|
15606 |
< |
fi |
15607 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_really_gxx" >&5 |
15608 |
< |
echo "${ECHO_T}$ac_cv_prog_really_gxx" >&6; } |
15609 |
< |
if test "$ac_cv_prog_really_gxx" = yes; then |
15610 |
< |
: |
15611 |
< |
|
15612 |
< |
else |
15613 |
< |
: |
15614 |
< |
|
15615 |
< |
fi |
15616 |
< |
|
15617 |
< |
|
15618 |
< |
# Try to determine "good" native compiler flags if none specified on command |
15619 |
< |
# line |
15620 |
< |
if test "$ac_test_CXXFLAGS" != "set"; then |
15621 |
< |
CXXFLAGS="" |
15622 |
< |
case "${host_cpu}-${host_os}" in |
15623 |
< |
|
15624 |
< |
*linux*) if test "$CXX" = icc -o "$CXX" = icpc; then |
15625 |
< |
CXXFLAGS="-O" |
15626 |
< |
fi;; |
15627 |
< |
sparc-solaris2*) if test "$CXX" = CC; then |
15628 |
< |
CXXFLAGS="-features=extensions -O -dalign" |
15629 |
< |
fi;; |
15630 |
< |
rs6000*-aix*) if test "$CXX" = xlC; then |
15631 |
< |
CXXFLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w" |
15632 |
< |
fi;; |
15633 |
< |
powerpc*-aix*) |
15634 |
< |
if test "$CXX" = xlC; then |
15635 |
< |
CXXFLAGS="-O3 -qarch=ppc -qansialias -w" |
15636 |
< |
echo "*******************************************************" |
15637 |
< |
echo "* You have AIX on an unknown powerpc system. It is *" |
15638 |
< |
echo "* recommended that you use *" |
15639 |
< |
echo "* *" |
15640 |
< |
echo "* CXXFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w *" |
15641 |
< |
echo "* ^^^ *" |
15642 |
< |
echo "* where xxx is 601, 603, 604, or whatever kind of *" |
15643 |
< |
echo "* PowerPC CPU you have. For more info, man cc. *" |
15644 |
< |
echo "*******************************************************" |
15645 |
< |
fi;; |
15646 |
< |
*darwin*) |
15647 |
< |
if test "$CXX" = xlc++ -o "$CXX" = xlC ; then |
15648 |
< |
CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec" |
15649 |
< |
fi |
15650 |
< |
if test "$CXX" = icpc; then |
15651 |
< |
CXXFLAGS="-O3 -ip -no-prec-div -mdynamic-no-pic" |
15652 |
< |
fi;; |
15653 |
< |
esac |
15654 |
< |
|
15655 |
< |
# use default flags for gcc on all systems |
15656 |
< |
if test $ac_cv_prog_really_gxx = yes; then |
15657 |
< |
CXXFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align" |
15658 |
< |
fi |
15659 |
< |
|
15660 |
< |
# test for gcc-specific flags: |
15661 |
< |
if test $ac_cv_prog_really_gxx = yes; then |
15662 |
< |
# -malign-double for x86 systems |
15663 |
< |
|
15664 |
< |
|
15665 |
< |
{ echo "$as_me:$LINENO: checking whether ${CXX} accepts -malign-double" >&5 |
15666 |
< |
echo $ECHO_N "checking whether ${CXX} accepts -malign-double... $ECHO_C" >&6; } |
15667 |
< |
if test "${ac_align_double+set}" = set; then |
15668 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
15669 |
< |
else |
15670 |
< |
echo 'void f(){}' > conftest.cpp |
15671 |
< |
if test -z "`${CXX} -malign-double -c conftest.cpp 2>&1`"; then |
15672 |
< |
ac_align_double=yes |
15673 |
< |
else |
15674 |
< |
ac_align_double=no |
15675 |
< |
fi |
15676 |
< |
rm -f conftest* |
15677 |
< |
|
15678 |
< |
fi |
15679 |
< |
{ echo "$as_me:$LINENO: result: $ac_align_double" >&5 |
15680 |
< |
echo "${ECHO_T}$ac_align_double" >&6; } |
15681 |
< |
if test "$ac_align_double" = yes; then |
15682 |
< |
: |
15683 |
< |
CXXFLAGS="$CXXFLAGS -malign-double" |
15684 |
< |
else |
15685 |
< |
: |
15686 |
< |
|
15687 |
< |
fi |
15688 |
< |
|
15689 |
< |
# -fstrict-aliasing for gcc-2.95+ |
15690 |
< |
|
15691 |
< |
|
15692 |
< |
{ echo "$as_me:$LINENO: checking whether ${CXX} accepts -fstrict-aliasing" >&5 |
15693 |
< |
echo $ECHO_N "checking whether ${CXX} accepts -fstrict-aliasing... $ECHO_C" >&6; } |
15694 |
< |
if test "${ac_fstrict_aliasing+set}" = set; then |
15695 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
15696 |
< |
else |
15697 |
< |
echo 'void f(){}' > conftest.cpp |
15698 |
< |
if test -z "`${CXX} -fstrict-aliasing -c conftest.cpp 2>&1`"; then |
15699 |
< |
ac_fstrict_aliasing=yes |
15700 |
< |
else |
15701 |
< |
ac_fstrict_aliasing=no |
15702 |
< |
fi |
15703 |
< |
rm -f conftest* |
15704 |
< |
|
15705 |
< |
fi |
15706 |
< |
{ echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5 |
15707 |
< |
echo "${ECHO_T}$ac_fstrict_aliasing" >&6; } |
15708 |
< |
if test "$ac_fstrict_aliasing" = yes; then |
15709 |
< |
: |
15710 |
< |
CXXFLAGS="$CXXFLAGS -fstrict-aliasing" |
15711 |
< |
else |
15712 |
< |
: |
15713 |
< |
|
15714 |
< |
fi |
15715 |
< |
|
15716 |
< |
fi |
15717 |
< |
|
15718 |
< |
CPU_FLAGS="" |
15719 |
< |
if test $ac_cv_prog_really_gxx = yes; then |
15720 |
< |
case "${host_cpu}" in |
15721 |
< |
i586*) |
15722 |
< |
|
15723 |
< |
{ echo "$as_me:$LINENO: checking whether ${CXX} accepts -mcpu=pentium" >&5 |
15724 |
< |
echo $ECHO_N "checking whether ${CXX} accepts -mcpu=pentium... $ECHO_C" >&6; } |
15725 |
< |
if test "${ac_cpu_pentium+set}" = set; then |
15726 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
15727 |
< |
else |
15728 |
< |
echo 'void f(){}' > conftest.cpp |
15729 |
< |
if test -z "`${CXX} -mcpu=pentium -c conftest.cpp 2>&1`"; then |
15730 |
< |
ac_cpu_pentium=yes |
15731 |
< |
else |
15732 |
< |
ac_cpu_pentium=no |
15733 |
< |
fi |
15734 |
< |
rm -f conftest* |
15735 |
< |
|
15736 |
< |
fi |
15737 |
< |
{ echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5 |
15738 |
< |
echo "${ECHO_T}$ac_cpu_pentium" >&6; } |
15739 |
< |
if test "$ac_cpu_pentium" = yes; then |
15740 |
< |
: |
15741 |
< |
CPU_FLAGS=-mcpu=pentium |
15742 |
< |
else |
15743 |
< |
: |
15744 |
< |
|
15745 |
< |
|
15746 |
< |
{ echo "$as_me:$LINENO: checking whether ${CXX} accepts -mpentium" >&5 |
15747 |
< |
echo $ECHO_N "checking whether ${CXX} accepts -mpentium... $ECHO_C" >&6; } |
15748 |
< |
if test "${ac_pentium+set}" = set; then |
15749 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
15750 |
< |
else |
15751 |
< |
echo 'void f(){}' > conftest.cpp |
15752 |
< |
if test -z "`${CXX} -mpentium -c conftest.cpp 2>&1`"; then |
15753 |
< |
ac_pentium=yes |
15754 |
< |
else |
15755 |
< |
ac_pentium=no |
15756 |
< |
fi |
15757 |
< |
rm -f conftest* |
15758 |
< |
|
15759 |
< |
fi |
15760 |
< |
{ echo "$as_me:$LINENO: result: $ac_pentium" >&5 |
15761 |
< |
echo "${ECHO_T}$ac_pentium" >&6; } |
15762 |
< |
if test "$ac_pentium" = yes; then |
15763 |
< |
: |
15764 |
< |
CPU_FLAGS=-mpentium |
15765 |
< |
else |
15766 |
< |
: |
15767 |
< |
|
15768 |
< |
fi |
15769 |
< |
|
15770 |
< |
fi |
15771 |
< |
|
15772 |
< |
;; |
15773 |
< |
i686*) |
15774 |
< |
|
15775 |
< |
{ echo "$as_me:$LINENO: checking whether ${CXX} accepts -mcpu=pentiumpro" >&5 |
15776 |
< |
echo $ECHO_N "checking whether ${CXX} accepts -mcpu=pentiumpro... $ECHO_C" >&6; } |
15777 |
< |
if test "${ac_cpu_pentiumpro+set}" = set; then |
15778 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
15779 |
< |
else |
15780 |
< |
echo 'void f(){}' > conftest.cpp |
15781 |
< |
if test -z "`${CXX} -mcpu=pentiumpro -c conftest.cpp 2>&1`"; then |
15782 |
< |
ac_cpu_pentiumpro=yes |
15783 |
< |
else |
15784 |
< |
ac_cpu_pentiumpro=no |
15785 |
< |
fi |
15786 |
< |
rm -f conftest* |
15787 |
< |
|
15788 |
< |
fi |
15789 |
< |
{ echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5 |
15790 |
< |
echo "${ECHO_T}$ac_cpu_pentiumpro" >&6; } |
15791 |
< |
if test "$ac_cpu_pentiumpro" = yes; then |
15792 |
< |
: |
15793 |
< |
CPU_FLAGS=-mcpu=pentiumpro |
15794 |
< |
else |
15795 |
< |
: |
15796 |
< |
|
15797 |
< |
|
15798 |
< |
{ echo "$as_me:$LINENO: checking whether ${CXX} accepts -mpentiumpro" >&5 |
15799 |
< |
echo $ECHO_N "checking whether ${CXX} accepts -mpentiumpro... $ECHO_C" >&6; } |
15800 |
< |
if test "${ac_pentiumpro+set}" = set; then |
15801 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
15802 |
< |
else |
15803 |
< |
echo 'void f(){}' > conftest.cpp |
15804 |
< |
if test -z "`${CXX} -mpentiumpro -c conftest.cpp 2>&1`"; then |
15805 |
< |
ac_pentiumpro=yes |
15806 |
< |
else |
15807 |
< |
ac_pentiumpro=no |
15808 |
< |
fi |
15809 |
< |
rm -f conftest* |
15810 |
< |
|
15811 |
< |
fi |
15812 |
< |
{ echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5 |
15813 |
< |
echo "${ECHO_T}$ac_pentiumpro" >&6; } |
15814 |
< |
if test "$ac_pentiumpro" = yes; then |
15815 |
< |
: |
15816 |
< |
CPU_FLAGS=-mpentiumpro |
15817 |
< |
else |
15818 |
< |
: |
15819 |
< |
|
15820 |
< |
fi |
15821 |
< |
|
15822 |
< |
fi |
15823 |
< |
|
15824 |
< |
;; |
15825 |
< |
powerpc*) |
15826 |
< |
cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null` |
15827 |
< |
is60x=`echo $cputype | egrep "^600-9e?$"` |
15828 |
< |
if test -n "$is60x"; then |
15829 |
< |
|
15830 |
< |
|
15831 |
< |
{ echo "$as_me:$LINENO: checking whether ${CXX} accepts -mcpu=$cputype" >&5 |
15832 |
< |
echo $ECHO_N "checking whether ${CXX} accepts -mcpu=$cputype... $ECHO_C" >&6; } |
15833 |
< |
if test "${ac_m_cpu_60x+set}" = set; then |
15834 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
15835 |
< |
else |
15836 |
< |
echo 'void f(){}' > conftest.cpp |
15837 |
< |
if test -z "`${CXX} -mcpu=$cputype -c conftest.cpp 2>&1`"; then |
15838 |
< |
ac_m_cpu_60x=yes |
15839 |
< |
else |
15840 |
< |
ac_m_cpu_60x=no |
15841 |
< |
fi |
15842 |
< |
rm -f conftest* |
15843 |
< |
|
15844 |
< |
fi |
15845 |
< |
{ echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5 |
15846 |
< |
echo "${ECHO_T}$ac_m_cpu_60x" >&6; } |
15847 |
< |
if test "$ac_m_cpu_60x" = yes; then |
15848 |
< |
: |
15849 |
< |
CPU_FLAGS=-mcpu=$cputype |
15850 |
< |
else |
15851 |
< |
: |
15852 |
< |
|
15853 |
< |
fi |
15854 |
< |
|
15855 |
< |
elif test "$cputype" = 750; then |
15856 |
< |
|
15857 |
< |
|
15858 |
< |
{ echo "$as_me:$LINENO: checking whether we are using g++ 2.95 or later" >&5 |
15859 |
< |
echo $ECHO_N "checking whether we are using g++ 2.95 or later... $ECHO_C" >&6; } |
15860 |
< |
if test "${ac_cv_prog_gxx_2_95+set}" = set; then |
15861 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
15862 |
< |
else |
15863 |
< |
|
15864 |
< |
cat > conftest.cpp <<EOF |
15865 |
< |
#ifdef __GNUC__ && !defined (__INTEL_COMPILER) |
15866 |
< |
# if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) |
15867 |
< |
yes; |
15868 |
< |
# endif |
15869 |
< |
#endif |
15870 |
< |
EOF |
15871 |
< |
if { ac_try='${CXX-c++} -E conftest.cpp' |
15872 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15873 |
< |
(eval $ac_try) 2>&5 |
15874 |
< |
ac_status=$? |
15875 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15876 |
< |
(exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then |
15877 |
< |
ac_cv_prog_gxx_2_95=yes |
15878 |
< |
else |
15879 |
< |
ac_cv_prog_gxx_2_95=no |
15880 |
< |
fi |
15881 |
< |
|
15882 |
< |
fi |
15883 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_gxx_2_95" >&5 |
15884 |
< |
echo "${ECHO_T}$ac_cv_prog_gxx_2_95" >&6; } |
15885 |
< |
if test "$ac_cv_prog_gxx_2_95" = yes; then |
15886 |
< |
: |
15887 |
< |
|
15888 |
< |
|
15889 |
< |
{ echo "$as_me:$LINENO: checking whether ${CXX} accepts -mcpu=750" >&5 |
15890 |
< |
echo $ECHO_N "checking whether ${CXX} accepts -mcpu=750... $ECHO_C" >&6; } |
15891 |
< |
if test "${ac_m_cpu_750+set}" = set; then |
15892 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
15893 |
< |
else |
15894 |
< |
echo 'void f(){}' > conftest.cpp |
15895 |
< |
if test -z "`${CXX} -mcpu=750 -c conftest.cpp 2>&1`"; then |
15896 |
< |
ac_m_cpu_750=yes |
15897 |
< |
else |
15898 |
< |
ac_m_cpu_750=no |
15899 |
< |
fi |
15900 |
< |
rm -f conftest* |
15901 |
< |
|
15902 |
< |
fi |
15903 |
< |
{ echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5 |
15904 |
< |
echo "${ECHO_T}$ac_m_cpu_750" >&6; } |
15905 |
< |
if test "$ac_m_cpu_750" = yes; then |
15906 |
< |
: |
15907 |
< |
CPU_FLAGS=-mcpu=750 |
15908 |
< |
else |
15909 |
< |
: |
15910 |
< |
|
15911 |
< |
fi |
15912 |
< |
|
15913 |
< |
else |
15914 |
< |
: |
15915 |
< |
|
15916 |
< |
fi |
15917 |
< |
|
15918 |
< |
fi |
15919 |
< |
if test -z "$CPU_FLAGS"; then |
15920 |
< |
|
15921 |
< |
|
15922 |
< |
{ echo "$as_me:$LINENO: checking whether ${CXX} accepts -mcpu=powerpc" >&5 |
15923 |
< |
echo $ECHO_N "checking whether ${CXX} accepts -mcpu=powerpc... $ECHO_C" >&6; } |
15924 |
< |
if test "${ac_m_cpu_powerpc+set}" = set; then |
15925 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
15926 |
< |
else |
15927 |
< |
echo 'void f(){}' > conftest.cpp |
15928 |
< |
if test -z "`${CXX} -mcpu=powerpc -c conftest.cpp 2>&1`"; then |
15929 |
< |
ac_m_cpu_powerpc=yes |
15930 |
< |
else |
15931 |
< |
ac_m_cpu_powerpc=no |
15932 |
< |
fi |
15933 |
< |
rm -f conftest* |
15934 |
< |
|
15935 |
< |
fi |
15936 |
< |
{ echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5 |
15937 |
< |
echo "${ECHO_T}$ac_m_cpu_powerpc" >&6; } |
15938 |
< |
if test "$ac_m_cpu_powerpc" = yes; then |
15939 |
< |
: |
15940 |
< |
CPU_FLAGS=-mcpu=powerpc |
15941 |
< |
else |
15942 |
< |
: |
15943 |
< |
|
15944 |
< |
fi |
15945 |
< |
|
15946 |
< |
fi |
15947 |
< |
if test -z "$CPU_FLAGS"; then |
15948 |
< |
|
15949 |
< |
|
15950 |
< |
{ echo "$as_me:$LINENO: checking whether ${CXX} accepts -mpowerpc" >&5 |
15951 |
< |
echo $ECHO_N "checking whether ${CXX} accepts -mpowerpc... $ECHO_C" >&6; } |
15952 |
< |
if test "${ac_m_powerpc+set}" = set; then |
15953 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
15954 |
< |
else |
15955 |
< |
echo 'void f(){}' > conftest.cpp |
15956 |
< |
if test -z "`${CXX} -mpowerpc -c conftest.cpp 2>&1`"; then |
15957 |
< |
ac_m_powerpc=yes |
15958 |
< |
else |
15959 |
< |
ac_m_powerpc=no |
15960 |
< |
fi |
15961 |
< |
rm -f conftest* |
15962 |
< |
|
15963 |
< |
fi |
15964 |
< |
{ echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5 |
15965 |
< |
echo "${ECHO_T}$ac_m_powerpc" >&6; } |
15966 |
< |
if test "$ac_m_powerpc" = yes; then |
15967 |
< |
: |
15968 |
< |
CPU_FLAGS=-mpowerpc |
15969 |
< |
else |
15970 |
< |
: |
15971 |
< |
|
15972 |
< |
fi |
15973 |
< |
|
15974 |
< |
fi |
15975 |
< |
esac |
15976 |
< |
fi |
15977 |
< |
|
15978 |
< |
if test -n "$CPU_FLAGS"; then |
15979 |
< |
CXXFLAGS="$CXXFLAGS $CPU_FLAGS" |
15980 |
< |
fi |
15981 |
< |
|
15982 |
< |
if test -z "$CXXFLAGS"; then |
15983 |
< |
echo "" |
15984 |
< |
echo "**********************************************************" |
15985 |
< |
echo "* WARNING: Don't know the best CXXFLAGS for this system *" |
15986 |
< |
echo "* Use make CXXFLAGS=..., or edit the top level Makefile *" |
15987 |
< |
echo "* (otherwise, a default of CXXFLAGS=-O3 will be used) *" |
15988 |
< |
echo "**********************************************************" |
15989 |
< |
echo "" |
15990 |
< |
CXXFLAGS="-O3" |
15991 |
< |
fi |
15992 |
< |
|
15993 |
< |
|
15994 |
< |
|
15995 |
< |
{ echo "$as_me:$LINENO: checking whether ${CXX} accepts ${CXXFLAGS}" >&5 |
15996 |
< |
echo $ECHO_N "checking whether ${CXX} accepts ${CXXFLAGS}... $ECHO_C" >&6; } |
15997 |
< |
if test "${ac_guessed_cxxflags+set}" = set; then |
15998 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
15999 |
< |
else |
16000 |
< |
echo 'void f(){}' > conftest.cpp |
16001 |
< |
if test -z "`${CXX} ${CXXFLAGS} -c conftest.cpp 2>&1`"; then |
16002 |
< |
ac_guessed_cxxflags=yes |
16003 |
< |
else |
16004 |
< |
ac_guessed_cxxflags=no |
16005 |
< |
fi |
16006 |
< |
rm -f conftest* |
16007 |
< |
|
16008 |
< |
fi |
16009 |
< |
{ echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&5 |
16010 |
< |
echo "${ECHO_T}$ac_guessed_cxxflags" >&6; } |
16011 |
< |
if test "$ac_guessed_cxxflags" = yes; then |
16012 |
< |
: |
16013 |
< |
|
16014 |
< |
else |
16015 |
< |
: |
16016 |
< |
|
16017 |
< |
echo "" |
16018 |
< |
echo "**********************************************************" |
16019 |
< |
echo "* WARNING: The guessed CXXFLAGS don't seem to work with *" |
16020 |
< |
echo "* your compiler. *" |
16021 |
< |
echo "* Use make CXXFLAGS=..., or edit the top level Makefile *" |
16022 |
< |
echo "**********************************************************" |
16023 |
< |
echo "" |
16024 |
< |
CXXFLAGS="" |
16025 |
< |
|
16026 |
< |
fi |
16027 |
< |
|
16028 |
< |
|
16029 |
< |
fi |
16030 |
< |
|
16031 |
< |
;; |
16032 |
< |
esac |
16033 |
< |
|
16034 |
< |
|
16035 |
< |
cat >>confdefs.h <<\_ACEOF |
16036 |
< |
#define OBAPI |
16037 |
< |
_ACEOF |
16038 |
< |
|
16039 |
< |
|
16040 |
< |
|
16041 |
< |
acx_cgal_found=no |
16042 |
< |
|
16043 |
< |
# Check whether --with-cgalmakefile was given. |
16044 |
< |
if test "${with_cgalmakefile+set}" = set; then |
16045 |
< |
withval=$with_cgalmakefile; |
16046 |
< |
fi |
16047 |
< |
|
16048 |
< |
case $with_cgalmakefile in |
16049 |
< |
yes | "") ;; |
16050 |
< |
no) acx_cgal_found=disable ;; |
16051 |
< |
-* | */* | *.a | *.so | *.so.* | *.o) CGAL_MAKEFILE="$with_cgalmakefile" ;; |
16052 |
< |
*) CGAL_MAKEFILE="$with_cgalmakefile" ;; |
16053 |
< |
esac |
16054 |
< |
|
16055 |
< |
if test "$acx_cgal_found" == no; then |
16056 |
< |
{ echo "$as_me:$LINENO: checking CGAL_MAKEFILE" >&5 |
16057 |
< |
echo $ECHO_N "checking CGAL_MAKEFILE... $ECHO_C" >&6; } |
16058 |
< |
|
16059 |
< |
if test \! -z "$CGAL_MAKEFILE"; then |
16060 |
< |
|
16061 |
< |
if test -e "$CGAL_MAKEFILE"; then |
16062 |
< |
tname=`mktemp /tmp/cgal_makefile_dsrXXXXXX` |
16063 |
< |
|
16064 |
< |
cat > $tname << _ACEOF |
16065 |
< |
include $CGAL_MAKEFILE |
16066 |
< |
|
16067 |
< |
cppflags: |
16068 |
< |
@echo \$(CGAL_CXXFLAGS) |
16069 |
< |
|
16070 |
< |
cxxflags: |
16071 |
< |
@echo |
16072 |
< |
ldflags: |
16073 |
< |
@echo \$(CGAL_LDFLAGS) |
16074 |
< |
_ACEOF |
16075 |
< |
CGAL_CPPFLAGS="`make -s -f $tname cppflags`" |
16076 |
< |
CGAL_CXXFLAGS="`make -s -f $tname cxxflags`" |
16077 |
< |
CGAL_LDFLAGST="`make -s -f $tname ldflags`" |
16078 |
< |
for i in $CGAL_LDFLAGST; do |
16079 |
< |
if test `echo $i| grep -c ^-l`; then |
16080 |
< |
CGAL_LIBS="$CGAL_LIBS $i" |
16081 |
< |
else |
16082 |
< |
CGAL_LDFLAGS="$CGAL_LDFLAGS $i" |
16083 |
< |
fi |
16084 |
< |
done |
16085 |
< |
rm -f $tname |
16086 |
< |
{ echo "$as_me:$LINENO: result: yes" >&5 |
16087 |
< |
echo "${ECHO_T}yes" >&6; } |
16088 |
< |
acx_cgal_found=yes |
16089 |
< |
else |
16090 |
< |
{ echo "$as_me:$LINENO: result: invalid" >&5 |
16091 |
< |
echo "${ECHO_T}invalid" >&6; } |
16092 |
< |
{ { echo "$as_me:$LINENO: error: CGAL_MAKEFILE defined, but the makefile does not exist." >&5 |
16093 |
< |
echo "$as_me: error: CGAL_MAKEFILE defined, but the makefile does not exist." >&2;} |
16094 |
< |
{ (exit 1); exit 1; }; } |
16095 |
< |
fi |
16096 |
< |
else |
16097 |
< |
{ echo "$as_me:$LINENO: result: not defined" >&5 |
16098 |
< |
echo "${ECHO_T}not defined" >&6; } |
16099 |
< |
fi |
16100 |
< |
fi |
16101 |
< |
|
16102 |
< |
if test "$acx_cgal_found" == no; then |
16103 |
< |
if test "${ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h+set}" = set; then |
16104 |
< |
{ echo "$as_me:$LINENO: checking for CGAL/Exact_predicates_inexact_constructions_kernel.h" >&5 |
16105 |
< |
echo $ECHO_N "checking for CGAL/Exact_predicates_inexact_constructions_kernel.h... $ECHO_C" >&6; } |
16106 |
< |
if test "${ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h+set}" = set; then |
16107 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
16108 |
< |
fi |
16109 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h" >&5 |
16110 |
< |
echo "${ECHO_T}$ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h" >&6; } |
16111 |
< |
else |
16112 |
< |
# Is the header compilable? |
16113 |
< |
{ echo "$as_me:$LINENO: checking CGAL/Exact_predicates_inexact_constructions_kernel.h usability" >&5 |
16114 |
< |
echo $ECHO_N "checking CGAL/Exact_predicates_inexact_constructions_kernel.h usability... $ECHO_C" >&6; } |
16115 |
< |
cat >conftest.$ac_ext <<_ACEOF |
16116 |
< |
/* confdefs.h. */ |
16117 |
< |
_ACEOF |
16118 |
< |
cat confdefs.h >>conftest.$ac_ext |
16119 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
16120 |
< |
/* end confdefs.h. */ |
16121 |
< |
$ac_includes_default |
16122 |
< |
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h> |
16123 |
< |
_ACEOF |
16124 |
< |
rm -f conftest.$ac_objext |
16125 |
< |
if { (ac_try="$ac_compile" |
16126 |
< |
case "(($ac_try" in |
16127 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16128 |
< |
*) ac_try_echo=$ac_try;; |
16129 |
< |
esac |
16130 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
16131 |
< |
(eval "$ac_compile") 2>conftest.er1 |
16132 |
< |
ac_status=$? |
16133 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
16134 |
< |
rm -f conftest.er1 |
16135 |
< |
cat conftest.err >&5 |
16136 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16137 |
< |
(exit $ac_status); } && { |
16138 |
< |
test -z "$ac_cxx_werror_flag" || |
16139 |
< |
test ! -s conftest.err |
16140 |
< |
} && test -s conftest.$ac_objext; then |
16141 |
< |
ac_header_compiler=yes |
16142 |
< |
else |
16143 |
< |
echo "$as_me: failed program was:" >&5 |
16144 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
16145 |
< |
|
16146 |
< |
ac_header_compiler=no |
16147 |
< |
fi |
16148 |
< |
|
16149 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
16150 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
16151 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
16152 |
< |
|
16153 |
< |
# Is the header present? |
16154 |
< |
{ echo "$as_me:$LINENO: checking CGAL/Exact_predicates_inexact_constructions_kernel.h presence" >&5 |
16155 |
< |
echo $ECHO_N "checking CGAL/Exact_predicates_inexact_constructions_kernel.h presence... $ECHO_C" >&6; } |
16156 |
< |
cat >conftest.$ac_ext <<_ACEOF |
16157 |
< |
/* confdefs.h. */ |
16158 |
< |
_ACEOF |
16159 |
< |
cat confdefs.h >>conftest.$ac_ext |
16160 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
16161 |
< |
/* end confdefs.h. */ |
16162 |
< |
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h> |
16163 |
< |
_ACEOF |
16164 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
16165 |
< |
case "(($ac_try" in |
16166 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16167 |
< |
*) ac_try_echo=$ac_try;; |
16168 |
< |
esac |
16169 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
16170 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
16171 |
< |
ac_status=$? |
16172 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
16173 |
< |
rm -f conftest.er1 |
16174 |
< |
cat conftest.err >&5 |
16175 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16176 |
< |
(exit $ac_status); } >/dev/null && { |
16177 |
< |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
16178 |
< |
test ! -s conftest.err |
16179 |
< |
}; then |
16180 |
< |
ac_header_preproc=yes |
16181 |
< |
else |
16182 |
< |
echo "$as_me: failed program was:" >&5 |
16183 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
16184 |
< |
|
16185 |
< |
ac_header_preproc=no |
16186 |
< |
fi |
16187 |
< |
|
16188 |
< |
rm -f conftest.err conftest.$ac_ext |
16189 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
16190 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
16191 |
< |
|
16192 |
< |
# So? What about this header? |
16193 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
16194 |
< |
yes:no: ) |
16195 |
< |
{ echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
16196 |
< |
echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
16197 |
< |
{ echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: proceeding with the compiler's result" >&5 |
16198 |
< |
echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: proceeding with the compiler's result" >&2;} |
16199 |
< |
ac_header_preproc=yes |
16200 |
< |
;; |
16201 |
< |
no:yes:* ) |
16202 |
< |
{ echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: present but cannot be compiled" >&5 |
16203 |
< |
echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: present but cannot be compiled" >&2;} |
16204 |
< |
{ echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: check for missing prerequisite headers?" >&5 |
16205 |
< |
echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: check for missing prerequisite headers?" >&2;} |
16206 |
< |
{ echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: see the Autoconf documentation" >&5 |
16207 |
< |
echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: see the Autoconf documentation" >&2;} |
16208 |
< |
{ echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: section \"Present But Cannot Be Compiled\"" >&5 |
16209 |
< |
echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: section \"Present But Cannot Be Compiled\"" >&2;} |
16210 |
< |
{ echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: proceeding with the preprocessor's result" >&5 |
16211 |
< |
echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: proceeding with the preprocessor's result" >&2;} |
16212 |
< |
{ echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: in the future, the compiler will take precedence" >&5 |
16213 |
< |
echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: in the future, the compiler will take precedence" >&2;} |
16214 |
< |
( cat <<\_ASBOX |
16215 |
< |
## ------------------------------ ## |
16216 |
< |
## Report this to gezelter@nd.edu ## |
16217 |
< |
## ------------------------------ ## |
16218 |
< |
_ASBOX |
16219 |
< |
) | sed "s/^/$as_me: WARNING: /" >&2 |
16220 |
< |
;; |
16221 |
< |
esac |
16222 |
< |
{ echo "$as_me:$LINENO: checking for CGAL/Exact_predicates_inexact_constructions_kernel.h" >&5 |
16223 |
< |
echo $ECHO_N "checking for CGAL/Exact_predicates_inexact_constructions_kernel.h... $ECHO_C" >&6; } |
16224 |
< |
if test "${ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h+set}" = set; then |
16225 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
16226 |
< |
else |
16227 |
< |
ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h=$ac_header_preproc |
16228 |
< |
fi |
16229 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h" >&5 |
16230 |
< |
echo "${ECHO_T}$ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h" >&6; } |
16231 |
< |
|
16232 |
< |
fi |
16233 |
< |
if test $ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h = yes; then |
16234 |
< |
cgal_have_header=yes |
16235 |
< |
else |
16236 |
< |
cgal_have_header=no |
16237 |
< |
fi |
16238 |
< |
|
16239 |
< |
|
16240 |
< |
if test "$cgal_have_header" == yes; then |
16241 |
< |
{ echo "$as_me:$LINENO: checking for main in -lCGAL" >&5 |
16242 |
< |
echo $ECHO_N "checking for main in -lCGAL... $ECHO_C" >&6; } |
16243 |
< |
if test "${ac_cv_lib_CGAL_main+set}" = set; then |
16244 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
16245 |
< |
else |
16246 |
< |
ac_check_lib_save_LIBS=$LIBS |
16247 |
< |
LIBS="-lCGAL $LIBS" |
16248 |
< |
cat >conftest.$ac_ext <<_ACEOF |
16249 |
< |
/* confdefs.h. */ |
16250 |
< |
_ACEOF |
16251 |
< |
cat confdefs.h >>conftest.$ac_ext |
16252 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
16253 |
< |
/* end confdefs.h. */ |
16254 |
< |
|
16255 |
< |
|
16256 |
< |
#ifdef FC_DUMMY_MAIN |
16257 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
16258 |
< |
# ifdef __cplusplus |
16259 |
< |
extern "C" |
16260 |
< |
# endif |
16261 |
< |
int FC_DUMMY_MAIN() { return 1; } |
16262 |
< |
#endif |
16263 |
< |
#endif |
16264 |
< |
int |
16265 |
< |
main () |
16266 |
< |
{ |
16267 |
< |
return main (); |
16268 |
< |
; |
16269 |
< |
return 0; |
16270 |
< |
} |
16271 |
< |
_ACEOF |
16272 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
16273 |
< |
if { (ac_try="$ac_link" |
16274 |
< |
case "(($ac_try" in |
16275 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16276 |
< |
*) ac_try_echo=$ac_try;; |
16277 |
< |
esac |
16278 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
16279 |
< |
(eval "$ac_link") 2>conftest.er1 |
16280 |
< |
ac_status=$? |
16281 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
16282 |
< |
rm -f conftest.er1 |
16283 |
< |
cat conftest.err >&5 |
16284 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16285 |
< |
(exit $ac_status); } && { |
16286 |
< |
test -z "$ac_cxx_werror_flag" || |
16287 |
< |
test ! -s conftest.err |
16288 |
< |
} && test -s conftest$ac_exeext && |
16289 |
< |
$as_test_x conftest$ac_exeext; then |
16290 |
< |
ac_cv_lib_CGAL_main=yes |
16291 |
< |
else |
16292 |
< |
echo "$as_me: failed program was:" >&5 |
16293 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
16294 |
< |
|
16295 |
< |
ac_cv_lib_CGAL_main=no |
16296 |
< |
fi |
16297 |
< |
|
16298 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
16299 |
< |
conftest$ac_exeext conftest.$ac_ext |
16300 |
< |
LIBS=$ac_check_lib_save_LIBS |
16301 |
< |
fi |
16302 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_CGAL_main" >&5 |
16303 |
< |
echo "${ECHO_T}$ac_cv_lib_CGAL_main" >&6; } |
16304 |
< |
if test $ac_cv_lib_CGAL_main = yes; then |
16305 |
< |
cgal_have_lib=yes |
16306 |
< |
else |
16307 |
< |
cgal_have_lib=no |
16308 |
< |
fi |
16309 |
< |
|
16310 |
< |
if test "$cgal_have_lib" == no; then |
16311 |
< |
save_LIBS="$LIBS"; LIBS="$LIBS -lgmp -lmpfr -lm" |
16312 |
< |
{ echo "$as_me:$LINENO: checking for main in -lCGAL" >&5 |
16313 |
< |
echo $ECHO_N "checking for main in -lCGAL... $ECHO_C" >&6; } |
16314 |
< |
if test "${ac_cv_lib_CGAL_main+set}" = set; then |
16315 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
16316 |
< |
else |
16317 |
< |
ac_check_lib_save_LIBS=$LIBS |
16318 |
< |
LIBS="-lCGAL $LIBS" |
16319 |
< |
cat >conftest.$ac_ext <<_ACEOF |
16320 |
< |
/* confdefs.h. */ |
16321 |
< |
_ACEOF |
16322 |
< |
cat confdefs.h >>conftest.$ac_ext |
16323 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
16324 |
< |
/* end confdefs.h. */ |
16325 |
< |
|
16326 |
< |
|
16327 |
< |
#ifdef FC_DUMMY_MAIN |
16328 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
16329 |
< |
# ifdef __cplusplus |
16330 |
< |
extern "C" |
16331 |
< |
# endif |
16332 |
< |
int FC_DUMMY_MAIN() { return 1; } |
16333 |
< |
#endif |
16334 |
< |
#endif |
16335 |
< |
int |
16336 |
< |
main () |
16337 |
< |
{ |
16338 |
< |
return main (); |
16339 |
< |
; |
16340 |
< |
return 0; |
16341 |
< |
} |
16342 |
< |
_ACEOF |
16343 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
16344 |
< |
if { (ac_try="$ac_link" |
16345 |
< |
case "(($ac_try" in |
16346 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16347 |
< |
*) ac_try_echo=$ac_try;; |
16348 |
< |
esac |
16349 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
16350 |
< |
(eval "$ac_link") 2>conftest.er1 |
16351 |
< |
ac_status=$? |
16352 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
16353 |
< |
rm -f conftest.er1 |
16354 |
< |
cat conftest.err >&5 |
16355 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16356 |
< |
(exit $ac_status); } && { |
16357 |
< |
test -z "$ac_cxx_werror_flag" || |
16358 |
< |
test ! -s conftest.err |
16359 |
< |
} && test -s conftest$ac_exeext && |
16360 |
< |
$as_test_x conftest$ac_exeext; then |
16361 |
< |
ac_cv_lib_CGAL_main=yes |
16362 |
< |
else |
16363 |
< |
echo "$as_me: failed program was:" >&5 |
16364 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
16365 |
< |
|
16366 |
< |
ac_cv_lib_CGAL_main=no |
16367 |
< |
fi |
16368 |
< |
|
16369 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
16370 |
< |
conftest$ac_exeext conftest.$ac_ext |
16371 |
< |
LIBS=$ac_check_lib_save_LIBS |
16372 |
< |
fi |
16373 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_CGAL_main" >&5 |
16374 |
< |
echo "${ECHO_T}$ac_cv_lib_CGAL_main" >&6; } |
16375 |
< |
if test $ac_cv_lib_CGAL_main = yes; then |
16376 |
< |
CGAL_LIBS="-lCGAL -lgmp -lmpfr" |
16377 |
< |
cgal_have_lib=yes |
16378 |
< |
else |
16379 |
< |
cgal_have_lib=no |
16380 |
< |
fi |
16381 |
< |
|
16382 |
< |
LIBS="$save_LIBS" |
16383 |
< |
else |
16384 |
< |
CGAL_LIBS="-lCGAL" |
16385 |
< |
{ echo "$as_me:$LINENO: checking for main in -lmpfr" >&5 |
16386 |
< |
echo $ECHO_N "checking for main in -lmpfr... $ECHO_C" >&6; } |
16387 |
< |
if test "${ac_cv_lib_mpfr_main+set}" = set; then |
16388 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
16389 |
< |
else |
16390 |
< |
ac_check_lib_save_LIBS=$LIBS |
16391 |
< |
LIBS="-lmpfr $LIBS" |
16392 |
< |
cat >conftest.$ac_ext <<_ACEOF |
16393 |
< |
/* confdefs.h. */ |
16394 |
< |
_ACEOF |
16395 |
< |
cat confdefs.h >>conftest.$ac_ext |
16396 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
16397 |
< |
/* end confdefs.h. */ |
16398 |
< |
|
16399 |
< |
|
16400 |
< |
#ifdef FC_DUMMY_MAIN |
16401 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
16402 |
< |
# ifdef __cplusplus |
16403 |
< |
extern "C" |
16404 |
< |
# endif |
16405 |
< |
int FC_DUMMY_MAIN() { return 1; } |
16406 |
< |
#endif |
16407 |
< |
#endif |
16408 |
< |
int |
16409 |
< |
main () |
16410 |
< |
{ |
16411 |
< |
return main (); |
16412 |
< |
; |
16413 |
< |
return 0; |
16414 |
< |
} |
16415 |
< |
_ACEOF |
16416 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
16417 |
< |
if { (ac_try="$ac_link" |
16418 |
< |
case "(($ac_try" in |
16419 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16420 |
< |
*) ac_try_echo=$ac_try;; |
16421 |
< |
esac |
16422 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
16423 |
< |
(eval "$ac_link") 2>conftest.er1 |
16424 |
< |
ac_status=$? |
16425 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
16426 |
< |
rm -f conftest.er1 |
16427 |
< |
cat conftest.err >&5 |
16428 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16429 |
< |
(exit $ac_status); } && { |
16430 |
< |
test -z "$ac_cxx_werror_flag" || |
16431 |
< |
test ! -s conftest.err |
16432 |
< |
} && test -s conftest$ac_exeext && |
16433 |
< |
$as_test_x conftest$ac_exeext; then |
16434 |
< |
ac_cv_lib_mpfr_main=yes |
16435 |
< |
else |
16436 |
< |
echo "$as_me: failed program was:" >&5 |
16437 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
16438 |
< |
|
16439 |
< |
ac_cv_lib_mpfr_main=no |
16440 |
< |
fi |
16441 |
< |
|
16442 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
16443 |
< |
conftest$ac_exeext conftest.$ac_ext |
16444 |
< |
LIBS=$ac_check_lib_save_LIBS |
16445 |
< |
fi |
16446 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_mpfr_main" >&5 |
16447 |
< |
echo "${ECHO_T}$ac_cv_lib_mpfr_main" >&6; } |
16448 |
< |
if test $ac_cv_lib_mpfr_main = yes; then |
16449 |
< |
CGAL_LIBS="$CGAL_LIBS -lmpfr" |
16450 |
< |
fi |
16451 |
< |
|
16452 |
< |
{ echo "$as_me:$LINENO: checking for main in -lgmp" >&5 |
16453 |
< |
echo $ECHO_N "checking for main in -lgmp... $ECHO_C" >&6; } |
16454 |
< |
if test "${ac_cv_lib_gmp_main+set}" = set; then |
16455 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
16456 |
< |
else |
16457 |
< |
ac_check_lib_save_LIBS=$LIBS |
16458 |
< |
LIBS="-lgmp $LIBS" |
16459 |
< |
cat >conftest.$ac_ext <<_ACEOF |
16460 |
< |
/* confdefs.h. */ |
16461 |
< |
_ACEOF |
16462 |
< |
cat confdefs.h >>conftest.$ac_ext |
16463 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
16464 |
< |
/* end confdefs.h. */ |
16465 |
< |
|
16466 |
< |
|
16467 |
< |
#ifdef FC_DUMMY_MAIN |
16468 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
16469 |
< |
# ifdef __cplusplus |
16470 |
< |
extern "C" |
16471 |
< |
# endif |
16472 |
< |
int FC_DUMMY_MAIN() { return 1; } |
16473 |
< |
#endif |
16474 |
< |
#endif |
16475 |
< |
int |
16476 |
< |
main () |
16477 |
< |
{ |
16478 |
< |
return main (); |
16479 |
< |
; |
16480 |
< |
return 0; |
16481 |
< |
} |
16482 |
< |
_ACEOF |
16483 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
16484 |
< |
if { (ac_try="$ac_link" |
16485 |
< |
case "(($ac_try" in |
16486 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16487 |
< |
*) ac_try_echo=$ac_try;; |
16488 |
< |
esac |
16489 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
16490 |
< |
(eval "$ac_link") 2>conftest.er1 |
16491 |
< |
ac_status=$? |
16492 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
16493 |
< |
rm -f conftest.er1 |
16494 |
< |
cat conftest.err >&5 |
16495 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16496 |
< |
(exit $ac_status); } && { |
16497 |
< |
test -z "$ac_cxx_werror_flag" || |
16498 |
< |
test ! -s conftest.err |
16499 |
< |
} && test -s conftest$ac_exeext && |
16500 |
< |
$as_test_x conftest$ac_exeext; then |
16501 |
< |
ac_cv_lib_gmp_main=yes |
16502 |
< |
else |
16503 |
< |
echo "$as_me: failed program was:" >&5 |
16504 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
16505 |
< |
|
16506 |
< |
ac_cv_lib_gmp_main=no |
16507 |
< |
fi |
16508 |
< |
|
16509 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
16510 |
< |
conftest$ac_exeext conftest.$ac_ext |
16511 |
< |
LIBS=$ac_check_lib_save_LIBS |
16512 |
< |
fi |
16513 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_gmp_main" >&5 |
16514 |
< |
echo "${ECHO_T}$ac_cv_lib_gmp_main" >&6; } |
16515 |
< |
if test $ac_cv_lib_gmp_main = yes; then |
16516 |
< |
CGAL_LIBS="$CGAL_LIBS -lgmp" |
16517 |
< |
fi |
16518 |
< |
|
16519 |
< |
{ echo "$as_me:$LINENO: checking for main in -lgmpxx" >&5 |
16520 |
< |
echo $ECHO_N "checking for main in -lgmpxx... $ECHO_C" >&6; } |
16521 |
< |
if test "${ac_cv_lib_gmpxx_main+set}" = set; then |
16522 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
16523 |
< |
else |
16524 |
< |
ac_check_lib_save_LIBS=$LIBS |
16525 |
< |
LIBS="-lgmpxx $LIBS" |
16526 |
< |
cat >conftest.$ac_ext <<_ACEOF |
16527 |
< |
/* confdefs.h. */ |
16528 |
< |
_ACEOF |
16529 |
< |
cat confdefs.h >>conftest.$ac_ext |
16530 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
16531 |
< |
/* end confdefs.h. */ |
16532 |
< |
|
16533 |
< |
|
16534 |
< |
#ifdef FC_DUMMY_MAIN |
16535 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
16536 |
< |
# ifdef __cplusplus |
16537 |
< |
extern "C" |
16538 |
< |
# endif |
16539 |
< |
int FC_DUMMY_MAIN() { return 1; } |
16540 |
< |
#endif |
16541 |
< |
#endif |
16542 |
< |
int |
16543 |
< |
main () |
16544 |
< |
{ |
16545 |
< |
return main (); |
16546 |
< |
; |
16547 |
< |
return 0; |
16548 |
< |
} |
16549 |
< |
_ACEOF |
16550 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
16551 |
< |
if { (ac_try="$ac_link" |
16552 |
< |
case "(($ac_try" in |
16553 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16554 |
< |
*) ac_try_echo=$ac_try;; |
16555 |
< |
esac |
16556 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12231 |
> |
cat > conftest.c <<EOF |
12232 |
> |
#ifdef __GNUC__ |
12233 |
> |
#if defined(__INTEL_COMPILER) || defined(__PATHCC__) |
12234 |
> |
no; |
12235 |
> |
#else |
12236 |
> |
yes; |
12237 |
> |
#endif |
12238 |
> |
#endif |
12239 |
> |
EOF |
12240 |
> |
if { ac_try='${CC-cc} -E conftest.c' |
12241 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12242 |
> |
(eval $ac_try) 2>&5 |
12243 |
> |
ac_status=$? |
12244 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12245 |
> |
(exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then |
12246 |
> |
ac_cv_prog_really_gcc=yes |
12247 |
> |
else |
12248 |
> |
ac_cv_prog_really_gcc=no |
12249 |
> |
fi |
12250 |
> |
|
12251 |
> |
fi |
12252 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_really_gcc" >&5 |
12253 |
> |
$as_echo "$ac_cv_prog_really_gcc" >&6; } |
12254 |
> |
if test "$ac_cv_prog_really_gcc" = yes; then |
12255 |
> |
: |
12256 |
> |
|
12257 |
> |
else |
12258 |
> |
: |
12259 |
> |
|
12260 |
> |
fi |
12261 |
> |
|
12262 |
> |
|
12263 |
> |
# Try to determine "good" native compiler flags if none specified on command |
12264 |
> |
# line |
12265 |
> |
if test "$ac_test_CFLAGS" != "set"; then |
12266 |
> |
CFLAGS="" |
12267 |
> |
case "${host_cpu}-${host_os}" in |
12268 |
> |
|
12269 |
> |
*linux*) if test "$CC" = icc; then |
12270 |
> |
CFLAGS="-O2" |
12271 |
> |
fi;; |
12272 |
> |
sparc-solaris2*) if test "$CC" = cc; then |
12273 |
> |
CFLAGS="-O -dalign" |
12274 |
> |
fi;; |
12275 |
> |
|
12276 |
> |
alpha*-osf*) if test "$CC" = cc; then |
12277 |
> |
CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host -arch host -std1" |
12278 |
> |
fi;; |
12279 |
> |
|
12280 |
> |
hppa*-hpux*) if test "$CC" = cc; then |
12281 |
> |
CFLAGS="-Ae +O3 +Oall" |
12282 |
> |
fi;; |
12283 |
> |
|
12284 |
> |
rs6000*-aix*) if test "$CC" = cc -o "$CC" = xlc; then |
12285 |
> |
CFLAGS="-O3 -qtune=auto -qansialias -w" |
12286 |
> |
fi;; |
12287 |
> |
powerpc*-aix*) |
12288 |
> |
if test "$CC" = cc -o "$CC" = xlc; then |
12289 |
> |
CFLAGS="-O3 -qtune=auto -qansialias -w" |
12290 |
> |
echo "*******************************************************" |
12291 |
> |
echo "* You have AIX on an unknown powerpc system. It is *" |
12292 |
> |
echo "* recommended that you use *" |
12293 |
> |
echo "* *" |
12294 |
> |
echo "* CFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w *" |
12295 |
> |
echo "* ^^^ *" |
12296 |
> |
echo "* where xxx is 601, 603, 604, or whatever kind of *" |
12297 |
> |
echo "* PowerPC CPU you have. For more info, man cc. *" |
12298 |
> |
echo "*******************************************************" |
12299 |
> |
fi;; |
12300 |
> |
*darwin*) |
12301 |
> |
if test "$CC" = xlc; then |
12302 |
> |
CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec" |
12303 |
> |
fi |
12304 |
> |
if test "$CC" = icc; then |
12305 |
> |
CFLAGS="-O2" |
12306 |
> |
fi |
12307 |
> |
if test $ac_cv_prog_really_gcc = yes; then |
12308 |
> |
CFLAGS="-Os" |
12309 |
> |
fi;; |
12310 |
> |
esac |
12311 |
> |
|
12312 |
> |
# use default flags for gcc on all systems |
12313 |
> |
if test $ac_cv_prog_really_gcc = yes -a -z "$CFLAGS"; then |
12314 |
> |
CFLAGS="-O2" |
12315 |
> |
fi |
12316 |
> |
|
12317 |
> |
if test -z "$CFLAGS"; then |
12318 |
> |
echo "" |
12319 |
> |
echo "********************************************************" |
12320 |
> |
echo "* WARNING: Don't know the best CFLAGS for this system *" |
12321 |
> |
echo "* Use make CFLAGS=..., or edit the top level Makefile *" |
12322 |
> |
echo "* (otherwise, a default of CFLAGS=-O will be used) *" |
12323 |
> |
echo "********************************************************" |
12324 |
> |
echo "" |
12325 |
> |
CFLAGS="-O" |
12326 |
> |
fi |
12327 |
> |
|
12328 |
> |
|
12329 |
> |
|
12330 |
> |
{ $as_echo "$as_me:$LINENO: checking whether ${CC} accepts ${CFLAGS}" >&5 |
12331 |
> |
$as_echo_n "checking whether ${CC} accepts ${CFLAGS}... " >&6; } |
12332 |
> |
if test "${ac_guessed_cflags+set}" = set; then |
12333 |
> |
$as_echo_n "(cached) " >&6 |
12334 |
> |
else |
12335 |
> |
echo 'void f(){}' > conftest.c |
12336 |
> |
if test -z "`${CC} ${CFLAGS} -c conftest.c 2>&1`"; then |
12337 |
> |
ac_guessed_cflags=yes |
12338 |
> |
else |
12339 |
> |
ac_guessed_cflags=no |
12340 |
> |
fi |
12341 |
> |
rm -f conftest* |
12342 |
> |
|
12343 |
> |
fi |
12344 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5 |
12345 |
> |
$as_echo "$ac_guessed_cflags" >&6; } |
12346 |
> |
if test "$ac_guessed_cflags" = yes; then |
12347 |
> |
: |
12348 |
> |
|
12349 |
> |
else |
12350 |
> |
: |
12351 |
> |
|
12352 |
> |
echo "" |
12353 |
> |
echo "********************************************************" |
12354 |
> |
echo "* WARNING: The guessed CFLAGS don't seem to work with *" |
12355 |
> |
echo "* your compiler. *" |
12356 |
> |
echo "* Use make CFLAGS=..., or edit the top level Makefile *" |
12357 |
> |
echo "********************************************************" |
12358 |
> |
echo "" |
12359 |
> |
CFLAGS="" |
12360 |
> |
|
12361 |
> |
fi |
12362 |
> |
|
12363 |
> |
|
12364 |
> |
fi |
12365 |
> |
|
12366 |
> |
|
12367 |
> |
|
12368 |
> |
|
12369 |
> |
|
12370 |
> |
|
12371 |
> |
|
12372 |
> |
{ $as_echo "$as_me:$LINENO: checking whether we are *really* using GNU c++" >&5 |
12373 |
> |
$as_echo_n "checking whether we are *really* using GNU c++... " >&6; } |
12374 |
> |
if test "${ac_cv_prog_really_gxx+set}" = set; then |
12375 |
> |
$as_echo_n "(cached) " >&6 |
12376 |
> |
else |
12377 |
> |
|
12378 |
> |
cat > conftest.cpp <<EOF |
12379 |
> |
#ifdef __GNUC__ |
12380 |
> |
#if defined(__INTEL_COMPILER) || defined(__PATHCC__) |
12381 |
> |
no; |
12382 |
> |
#else |
12383 |
> |
yes; |
12384 |
> |
#endif |
12385 |
> |
#endif |
12386 |
> |
EOF |
12387 |
> |
if { ac_try='${CXX-c++} -E conftest.cpp' |
12388 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12389 |
> |
(eval $ac_try) 2>&5 |
12390 |
> |
ac_status=$? |
12391 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12392 |
> |
(exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then |
12393 |
> |
ac_cv_prog_really_gxx=yes |
12394 |
> |
else |
12395 |
> |
ac_cv_prog_really_gxx=no |
12396 |
> |
fi |
12397 |
> |
|
12398 |
> |
fi |
12399 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_really_gxx" >&5 |
12400 |
> |
$as_echo "$ac_cv_prog_really_gxx" >&6; } |
12401 |
> |
if test "$ac_cv_prog_really_gxx" = yes; then |
12402 |
> |
: |
12403 |
> |
|
12404 |
> |
else |
12405 |
> |
: |
12406 |
> |
|
12407 |
> |
fi |
12408 |
> |
|
12409 |
> |
|
12410 |
> |
# Try to determine "good" native compiler flags if none specified on command |
12411 |
> |
# line |
12412 |
> |
if test "$ac_test_CXXFLAGS" != "set"; then |
12413 |
> |
CXXFLAGS="" |
12414 |
> |
case "${host_cpu}-${host_os}" in |
12415 |
> |
|
12416 |
> |
*linux*) if test "$CXX" = icc -o "$CXX" = icpc; then |
12417 |
> |
CXXFLAGS="-O2" |
12418 |
> |
fi;; |
12419 |
> |
sparc-solaris2*) if test "$CXX" = CC; then |
12420 |
> |
CXXFLAGS="-features=extensions -O -dalign" |
12421 |
> |
fi;; |
12422 |
> |
rs6000*-aix*) if test "$CXX" = xlC; then |
12423 |
> |
CXXFLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w" |
12424 |
> |
fi;; |
12425 |
> |
powerpc*-aix*) |
12426 |
> |
if test "$CXX" = xlC; then |
12427 |
> |
CXXFLAGS="-O3 -qarch=ppc -qansialias -w" |
12428 |
> |
echo "*******************************************************" |
12429 |
> |
echo "* You have AIX on an unknown powerpc system. It is *" |
12430 |
> |
echo "* recommended that you use *" |
12431 |
> |
echo "* *" |
12432 |
> |
echo "* CXXFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w *" |
12433 |
> |
echo "* ^^^ *" |
12434 |
> |
echo "* where xxx is 601, 603, 604, or whatever kind of *" |
12435 |
> |
echo "* PowerPC CPU you have. For more info, man cc. *" |
12436 |
> |
echo "*******************************************************" |
12437 |
> |
fi;; |
12438 |
> |
*darwin*) |
12439 |
> |
if test "$CXX" = xlc++ -o "$CXX" = xlC ; then |
12440 |
> |
CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec" |
12441 |
> |
fi |
12442 |
> |
if test "$CXX" = icpc; then |
12443 |
> |
CXXFLAGS="-O2" |
12444 |
> |
fi |
12445 |
> |
if test $ac_cv_prog_really_gxx = yes; then |
12446 |
> |
CXXFLAGS="-Os" |
12447 |
> |
fi;; |
12448 |
> |
esac |
12449 |
> |
|
12450 |
> |
# use default flags for gcc on all systems |
12451 |
> |
if test $ac_cv_prog_really_gxx = yes -a -z "$CXXFLAGS"; then |
12452 |
> |
CXXFLAGS="-O2" |
12453 |
> |
fi |
12454 |
> |
|
12455 |
> |
if test -z "$CXXFLAGS"; then |
12456 |
> |
echo "" |
12457 |
> |
echo "**********************************************************" |
12458 |
> |
echo "* WARNING: Don't know the best CXXFLAGS for this system *" |
12459 |
> |
echo "* Use make CXXFLAGS=..., or edit the top level Makefile *" |
12460 |
> |
echo "* (otherwise, a default of CXXFLAGS=-O will be used) *" |
12461 |
> |
echo "**********************************************************" |
12462 |
> |
echo "" |
12463 |
> |
CXXFLAGS="-O" |
12464 |
> |
fi |
12465 |
> |
|
12466 |
> |
|
12467 |
> |
|
12468 |
> |
{ $as_echo "$as_me:$LINENO: checking whether ${CXX} accepts ${CXXFLAGS}" >&5 |
12469 |
> |
$as_echo_n "checking whether ${CXX} accepts ${CXXFLAGS}... " >&6; } |
12470 |
> |
if test "${ac_guessed_cxxflags+set}" = set; then |
12471 |
> |
$as_echo_n "(cached) " >&6 |
12472 |
> |
else |
12473 |
> |
echo 'void f(){}' > conftest.cpp |
12474 |
> |
if test -z "`${CXX} ${CXXFLAGS} -c conftest.cpp 2>&1`"; then |
12475 |
> |
ac_guessed_cxxflags=yes |
12476 |
> |
else |
12477 |
> |
ac_guessed_cxxflags=no |
12478 |
> |
fi |
12479 |
> |
rm -f conftest* |
12480 |
> |
|
12481 |
> |
fi |
12482 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&5 |
12483 |
> |
$as_echo "$ac_guessed_cxxflags" >&6; } |
12484 |
> |
if test "$ac_guessed_cxxflags" = yes; then |
12485 |
> |
: |
12486 |
> |
|
12487 |
> |
else |
12488 |
> |
: |
12489 |
> |
|
12490 |
> |
echo "" |
12491 |
> |
echo "**********************************************************" |
12492 |
> |
echo "* WARNING: The guessed CXXFLAGS don't seem to work with *" |
12493 |
> |
echo "* your compiler. *" |
12494 |
> |
echo "* Use make CXXFLAGS=..., or edit the top level Makefile *" |
12495 |
> |
echo "**********************************************************" |
12496 |
> |
echo "" |
12497 |
> |
CXXFLAGS="" |
12498 |
> |
|
12499 |
> |
fi |
12500 |
> |
|
12501 |
> |
|
12502 |
> |
fi |
12503 |
> |
|
12504 |
> |
;; |
12505 |
> |
esac |
12506 |
> |
|
12507 |
> |
|
12508 |
> |
acx_cgal_found=no |
12509 |
> |
|
12510 |
> |
# Check whether --with-cgalmakefile was given. |
12511 |
> |
if test "${with_cgalmakefile+set}" = set; then |
12512 |
> |
withval=$with_cgalmakefile; |
12513 |
> |
fi |
12514 |
> |
|
12515 |
> |
case $with_cgalmakefile in |
12516 |
> |
yes | "") ;; |
12517 |
> |
no) acx_cgal_found=disable ;; |
12518 |
> |
-* | */* | *.a | *.so | *.so.* | *.o) CGAL_MAKEFILE="$with_cgalmakefile" ;; |
12519 |
> |
*) CGAL_MAKEFILE="$with_cgalmakefile" ;; |
12520 |
> |
esac |
12521 |
> |
|
12522 |
> |
if test "$acx_cgal_found" == no; then |
12523 |
> |
{ $as_echo "$as_me:$LINENO: checking CGAL_MAKEFILE" >&5 |
12524 |
> |
$as_echo_n "checking CGAL_MAKEFILE... " >&6; } |
12525 |
> |
|
12526 |
> |
if test \! -z "$CGAL_MAKEFILE"; then |
12527 |
> |
|
12528 |
> |
if test -e "$CGAL_MAKEFILE"; then |
12529 |
> |
tname=`mktemp /tmp/cgal_makefile_dsrXXXXXX` |
12530 |
> |
|
12531 |
> |
cat > $tname << _ACEOF |
12532 |
> |
include $CGAL_MAKEFILE |
12533 |
> |
|
12534 |
> |
cppflags: |
12535 |
> |
@echo \$(CGAL_CXXFLAGS) |
12536 |
> |
|
12537 |
> |
cxxflags: |
12538 |
> |
@echo |
12539 |
> |
ldflags: |
12540 |
> |
@echo \$(CGAL_LDFLAGS) |
12541 |
> |
_ACEOF |
12542 |
> |
CGAL_CPPFLAGS="`make -s -f $tname cppflags`" |
12543 |
> |
CGAL_CXXFLAGS="`make -s -f $tname cxxflags`" |
12544 |
> |
CGAL_LDFLAGST="`make -s -f $tname ldflags`" |
12545 |
> |
for i in $CGAL_LDFLAGST; do |
12546 |
> |
if test `echo $i| grep -c ^-l`; then |
12547 |
> |
CGAL_LIBS="$CGAL_LIBS $i" |
12548 |
> |
else |
12549 |
> |
CGAL_LDFLAGS="$CGAL_LDFLAGS $i" |
12550 |
> |
fi |
12551 |
> |
done |
12552 |
> |
rm -f $tname |
12553 |
> |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
12554 |
> |
$as_echo "yes" >&6; } |
12555 |
> |
acx_cgal_found=yes |
12556 |
> |
else |
12557 |
> |
{ $as_echo "$as_me:$LINENO: result: invalid" >&5 |
12558 |
> |
$as_echo "invalid" >&6; } |
12559 |
> |
{ { $as_echo "$as_me:$LINENO: error: CGAL_MAKEFILE defined, but the makefile does not exist." >&5 |
12560 |
> |
$as_echo "$as_me: error: CGAL_MAKEFILE defined, but the makefile does not exist." >&2;} |
12561 |
> |
{ (exit 1); exit 1; }; } |
12562 |
> |
fi |
12563 |
> |
else |
12564 |
> |
{ $as_echo "$as_me:$LINENO: result: not defined" >&5 |
12565 |
> |
$as_echo "not defined" >&6; } |
12566 |
> |
fi |
12567 |
> |
fi |
12568 |
> |
|
12569 |
> |
if test "$acx_cgal_found" == no; then |
12570 |
> |
if test "${ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h+set}" = set; then |
12571 |
> |
{ $as_echo "$as_me:$LINENO: checking for CGAL/Exact_predicates_inexact_constructions_kernel.h" >&5 |
12572 |
> |
$as_echo_n "checking for CGAL/Exact_predicates_inexact_constructions_kernel.h... " >&6; } |
12573 |
> |
if test "${ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h+set}" = set; then |
12574 |
> |
$as_echo_n "(cached) " >&6 |
12575 |
> |
fi |
12576 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h" >&5 |
12577 |
> |
$as_echo "$ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h" >&6; } |
12578 |
> |
else |
12579 |
> |
# Is the header compilable? |
12580 |
> |
{ $as_echo "$as_me:$LINENO: checking CGAL/Exact_predicates_inexact_constructions_kernel.h usability" >&5 |
12581 |
> |
$as_echo_n "checking CGAL/Exact_predicates_inexact_constructions_kernel.h usability... " >&6; } |
12582 |
> |
cat >conftest.$ac_ext <<_ACEOF |
12583 |
> |
/* confdefs.h. */ |
12584 |
> |
_ACEOF |
12585 |
> |
cat confdefs.h >>conftest.$ac_ext |
12586 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
12587 |
> |
/* end confdefs.h. */ |
12588 |
> |
$ac_includes_default |
12589 |
> |
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h> |
12590 |
> |
_ACEOF |
12591 |
> |
rm -f conftest.$ac_objext |
12592 |
> |
if { (ac_try="$ac_compile" |
12593 |
> |
case "(($ac_try" in |
12594 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12595 |
> |
*) ac_try_echo=$ac_try;; |
12596 |
> |
esac |
12597 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12598 |
> |
$as_echo "$ac_try_echo") >&5 |
12599 |
> |
(eval "$ac_compile") 2>conftest.er1 |
12600 |
> |
ac_status=$? |
12601 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
12602 |
> |
rm -f conftest.er1 |
12603 |
> |
cat conftest.err >&5 |
12604 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12605 |
> |
(exit $ac_status); } && { |
12606 |
> |
test -z "$ac_c_werror_flag" || |
12607 |
> |
test ! -s conftest.err |
12608 |
> |
} && test -s conftest.$ac_objext; then |
12609 |
> |
ac_header_compiler=yes |
12610 |
> |
else |
12611 |
> |
$as_echo "$as_me: failed program was:" >&5 |
12612 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
12613 |
> |
|
12614 |
> |
ac_header_compiler=no |
12615 |
> |
fi |
12616 |
> |
|
12617 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12618 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
12619 |
> |
$as_echo "$ac_header_compiler" >&6; } |
12620 |
> |
|
12621 |
> |
# Is the header present? |
12622 |
> |
{ $as_echo "$as_me:$LINENO: checking CGAL/Exact_predicates_inexact_constructions_kernel.h presence" >&5 |
12623 |
> |
$as_echo_n "checking CGAL/Exact_predicates_inexact_constructions_kernel.h presence... " >&6; } |
12624 |
> |
cat >conftest.$ac_ext <<_ACEOF |
12625 |
> |
/* confdefs.h. */ |
12626 |
> |
_ACEOF |
12627 |
> |
cat confdefs.h >>conftest.$ac_ext |
12628 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
12629 |
> |
/* end confdefs.h. */ |
12630 |
> |
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h> |
12631 |
> |
_ACEOF |
12632 |
> |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
12633 |
> |
case "(($ac_try" in |
12634 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12635 |
> |
*) ac_try_echo=$ac_try;; |
12636 |
> |
esac |
12637 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12638 |
> |
$as_echo "$ac_try_echo") >&5 |
12639 |
> |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
12640 |
> |
ac_status=$? |
12641 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
12642 |
> |
rm -f conftest.er1 |
12643 |
> |
cat conftest.err >&5 |
12644 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12645 |
> |
(exit $ac_status); } >/dev/null && { |
12646 |
> |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
12647 |
> |
test ! -s conftest.err |
12648 |
> |
}; then |
12649 |
> |
ac_header_preproc=yes |
12650 |
> |
else |
12651 |
> |
$as_echo "$as_me: failed program was:" >&5 |
12652 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
12653 |
> |
|
12654 |
> |
ac_header_preproc=no |
12655 |
> |
fi |
12656 |
> |
|
12657 |
> |
rm -f conftest.err conftest.$ac_ext |
12658 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
12659 |
> |
$as_echo "$ac_header_preproc" >&6; } |
12660 |
> |
|
12661 |
> |
# So? What about this header? |
12662 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
12663 |
> |
yes:no: ) |
12664 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
12665 |
> |
$as_echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
12666 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: proceeding with the compiler's result" >&5 |
12667 |
> |
$as_echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: proceeding with the compiler's result" >&2;} |
12668 |
> |
ac_header_preproc=yes |
12669 |
> |
;; |
12670 |
> |
no:yes:* ) |
12671 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: present but cannot be compiled" >&5 |
12672 |
> |
$as_echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: present but cannot be compiled" >&2;} |
12673 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: check for missing prerequisite headers?" >&5 |
12674 |
> |
$as_echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: check for missing prerequisite headers?" >&2;} |
12675 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: see the Autoconf documentation" >&5 |
12676 |
> |
$as_echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: see the Autoconf documentation" >&2;} |
12677 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: section \"Present But Cannot Be Compiled\"" >&5 |
12678 |
> |
$as_echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: section \"Present But Cannot Be Compiled\"" >&2;} |
12679 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: proceeding with the preprocessor's result" >&5 |
12680 |
> |
$as_echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: proceeding with the preprocessor's result" >&2;} |
12681 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: in the future, the compiler will take precedence" >&5 |
12682 |
> |
$as_echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: in the future, the compiler will take precedence" >&2;} |
12683 |
> |
( cat <<\_ASBOX |
12684 |
> |
## ------------------------------ ## |
12685 |
> |
## Report this to gezelter@nd.edu ## |
12686 |
> |
## ------------------------------ ## |
12687 |
> |
_ASBOX |
12688 |
> |
) | sed "s/^/$as_me: WARNING: /" >&2 |
12689 |
> |
;; |
12690 |
> |
esac |
12691 |
> |
{ $as_echo "$as_me:$LINENO: checking for CGAL/Exact_predicates_inexact_constructions_kernel.h" >&5 |
12692 |
> |
$as_echo_n "checking for CGAL/Exact_predicates_inexact_constructions_kernel.h... " >&6; } |
12693 |
> |
if test "${ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h+set}" = set; then |
12694 |
> |
$as_echo_n "(cached) " >&6 |
12695 |
> |
else |
12696 |
> |
ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h=$ac_header_preproc |
12697 |
> |
fi |
12698 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h" >&5 |
12699 |
> |
$as_echo "$ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h" >&6; } |
12700 |
> |
|
12701 |
> |
fi |
12702 |
> |
if test $ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h = yes; then |
12703 |
> |
cgal_have_header=yes |
12704 |
> |
else |
12705 |
> |
cgal_have_header=no |
12706 |
> |
fi |
12707 |
> |
|
12708 |
> |
|
12709 |
> |
if test "$cgal_have_header" == yes; then |
12710 |
> |
{ $as_echo "$as_me:$LINENO: checking for main in -lCGAL" >&5 |
12711 |
> |
$as_echo_n "checking for main in -lCGAL... " >&6; } |
12712 |
> |
if test "${ac_cv_lib_CGAL_main+set}" = set; then |
12713 |
> |
$as_echo_n "(cached) " >&6 |
12714 |
> |
else |
12715 |
> |
ac_check_lib_save_LIBS=$LIBS |
12716 |
> |
LIBS="-lCGAL $LIBS" |
12717 |
> |
cat >conftest.$ac_ext <<_ACEOF |
12718 |
> |
/* confdefs.h. */ |
12719 |
> |
_ACEOF |
12720 |
> |
cat confdefs.h >>conftest.$ac_ext |
12721 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
12722 |
> |
/* end confdefs.h. */ |
12723 |
> |
|
12724 |
> |
|
12725 |
> |
#ifdef FC_DUMMY_MAIN |
12726 |
> |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
12727 |
> |
# ifdef __cplusplus |
12728 |
> |
extern "C" |
12729 |
> |
# endif |
12730 |
> |
int FC_DUMMY_MAIN() { return 1; } |
12731 |
> |
#endif |
12732 |
> |
#endif |
12733 |
> |
int |
12734 |
> |
main () |
12735 |
> |
{ |
12736 |
> |
return main (); |
12737 |
> |
; |
12738 |
> |
return 0; |
12739 |
> |
} |
12740 |
> |
_ACEOF |
12741 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
12742 |
> |
if { (ac_try="$ac_link" |
12743 |
> |
case "(($ac_try" in |
12744 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12745 |
> |
*) ac_try_echo=$ac_try;; |
12746 |
> |
esac |
12747 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12748 |
> |
$as_echo "$ac_try_echo") >&5 |
12749 |
> |
(eval "$ac_link") 2>conftest.er1 |
12750 |
> |
ac_status=$? |
12751 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
12752 |
> |
rm -f conftest.er1 |
12753 |
> |
cat conftest.err >&5 |
12754 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12755 |
> |
(exit $ac_status); } && { |
12756 |
> |
test -z "$ac_c_werror_flag" || |
12757 |
> |
test ! -s conftest.err |
12758 |
> |
} && test -s conftest$ac_exeext && { |
12759 |
> |
test "$cross_compiling" = yes || |
12760 |
> |
$as_test_x conftest$ac_exeext |
12761 |
> |
}; then |
12762 |
> |
ac_cv_lib_CGAL_main=yes |
12763 |
> |
else |
12764 |
> |
$as_echo "$as_me: failed program was:" >&5 |
12765 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
12766 |
> |
|
12767 |
> |
ac_cv_lib_CGAL_main=no |
12768 |
> |
fi |
12769 |
> |
|
12770 |
> |
rm -rf conftest.dSYM |
12771 |
> |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12772 |
> |
conftest$ac_exeext conftest.$ac_ext |
12773 |
> |
LIBS=$ac_check_lib_save_LIBS |
12774 |
> |
fi |
12775 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_CGAL_main" >&5 |
12776 |
> |
$as_echo "$ac_cv_lib_CGAL_main" >&6; } |
12777 |
> |
if test $ac_cv_lib_CGAL_main = yes; then |
12778 |
> |
cgal_have_lib=yes |
12779 |
> |
else |
12780 |
> |
cgal_have_lib=no |
12781 |
> |
fi |
12782 |
> |
|
12783 |
> |
if test "$cgal_have_lib" == no; then |
12784 |
> |
save_LIBS="$LIBS"; LIBS="$LIBS -lgmp -lmpfr -lm" |
12785 |
> |
{ $as_echo "$as_me:$LINENO: checking for main in -lCGAL" >&5 |
12786 |
> |
$as_echo_n "checking for main in -lCGAL... " >&6; } |
12787 |
> |
if test "${ac_cv_lib_CGAL_main+set}" = set; then |
12788 |
> |
$as_echo_n "(cached) " >&6 |
12789 |
> |
else |
12790 |
> |
ac_check_lib_save_LIBS=$LIBS |
12791 |
> |
LIBS="-lCGAL $LIBS" |
12792 |
> |
cat >conftest.$ac_ext <<_ACEOF |
12793 |
> |
/* confdefs.h. */ |
12794 |
> |
_ACEOF |
12795 |
> |
cat confdefs.h >>conftest.$ac_ext |
12796 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
12797 |
> |
/* end confdefs.h. */ |
12798 |
> |
|
12799 |
> |
|
12800 |
> |
#ifdef FC_DUMMY_MAIN |
12801 |
> |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
12802 |
> |
# ifdef __cplusplus |
12803 |
> |
extern "C" |
12804 |
> |
# endif |
12805 |
> |
int FC_DUMMY_MAIN() { return 1; } |
12806 |
> |
#endif |
12807 |
> |
#endif |
12808 |
> |
int |
12809 |
> |
main () |
12810 |
> |
{ |
12811 |
> |
return main (); |
12812 |
> |
; |
12813 |
> |
return 0; |
12814 |
> |
} |
12815 |
> |
_ACEOF |
12816 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
12817 |
> |
if { (ac_try="$ac_link" |
12818 |
> |
case "(($ac_try" in |
12819 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12820 |
> |
*) ac_try_echo=$ac_try;; |
12821 |
> |
esac |
12822 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12823 |
> |
$as_echo "$ac_try_echo") >&5 |
12824 |
> |
(eval "$ac_link") 2>conftest.er1 |
12825 |
> |
ac_status=$? |
12826 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
12827 |
> |
rm -f conftest.er1 |
12828 |
> |
cat conftest.err >&5 |
12829 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12830 |
> |
(exit $ac_status); } && { |
12831 |
> |
test -z "$ac_c_werror_flag" || |
12832 |
> |
test ! -s conftest.err |
12833 |
> |
} && test -s conftest$ac_exeext && { |
12834 |
> |
test "$cross_compiling" = yes || |
12835 |
> |
$as_test_x conftest$ac_exeext |
12836 |
> |
}; then |
12837 |
> |
ac_cv_lib_CGAL_main=yes |
12838 |
> |
else |
12839 |
> |
$as_echo "$as_me: failed program was:" >&5 |
12840 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
12841 |
> |
|
12842 |
> |
ac_cv_lib_CGAL_main=no |
12843 |
> |
fi |
12844 |
> |
|
12845 |
> |
rm -rf conftest.dSYM |
12846 |
> |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12847 |
> |
conftest$ac_exeext conftest.$ac_ext |
12848 |
> |
LIBS=$ac_check_lib_save_LIBS |
12849 |
> |
fi |
12850 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_CGAL_main" >&5 |
12851 |
> |
$as_echo "$ac_cv_lib_CGAL_main" >&6; } |
12852 |
> |
if test $ac_cv_lib_CGAL_main = yes; then |
12853 |
> |
CGAL_LIBS="-lCGAL -lgmp -lmpfr" |
12854 |
> |
cgal_have_lib=yes |
12855 |
> |
else |
12856 |
> |
cgal_have_lib=no |
12857 |
> |
fi |
12858 |
> |
|
12859 |
> |
LIBS="$save_LIBS" |
12860 |
> |
else |
12861 |
> |
CGAL_LIBS="-lCGAL" |
12862 |
> |
{ $as_echo "$as_me:$LINENO: checking for main in -lmpfr" >&5 |
12863 |
> |
$as_echo_n "checking for main in -lmpfr... " >&6; } |
12864 |
> |
if test "${ac_cv_lib_mpfr_main+set}" = set; then |
12865 |
> |
$as_echo_n "(cached) " >&6 |
12866 |
> |
else |
12867 |
> |
ac_check_lib_save_LIBS=$LIBS |
12868 |
> |
LIBS="-lmpfr $LIBS" |
12869 |
> |
cat >conftest.$ac_ext <<_ACEOF |
12870 |
> |
/* confdefs.h. */ |
12871 |
> |
_ACEOF |
12872 |
> |
cat confdefs.h >>conftest.$ac_ext |
12873 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
12874 |
> |
/* end confdefs.h. */ |
12875 |
> |
|
12876 |
> |
|
12877 |
> |
#ifdef FC_DUMMY_MAIN |
12878 |
> |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
12879 |
> |
# ifdef __cplusplus |
12880 |
> |
extern "C" |
12881 |
> |
# endif |
12882 |
> |
int FC_DUMMY_MAIN() { return 1; } |
12883 |
> |
#endif |
12884 |
> |
#endif |
12885 |
> |
int |
12886 |
> |
main () |
12887 |
> |
{ |
12888 |
> |
return main (); |
12889 |
> |
; |
12890 |
> |
return 0; |
12891 |
> |
} |
12892 |
> |
_ACEOF |
12893 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
12894 |
> |
if { (ac_try="$ac_link" |
12895 |
> |
case "(($ac_try" in |
12896 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12897 |
> |
*) ac_try_echo=$ac_try;; |
12898 |
> |
esac |
12899 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12900 |
> |
$as_echo "$ac_try_echo") >&5 |
12901 |
> |
(eval "$ac_link") 2>conftest.er1 |
12902 |
> |
ac_status=$? |
12903 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
12904 |
> |
rm -f conftest.er1 |
12905 |
> |
cat conftest.err >&5 |
12906 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12907 |
> |
(exit $ac_status); } && { |
12908 |
> |
test -z "$ac_c_werror_flag" || |
12909 |
> |
test ! -s conftest.err |
12910 |
> |
} && test -s conftest$ac_exeext && { |
12911 |
> |
test "$cross_compiling" = yes || |
12912 |
> |
$as_test_x conftest$ac_exeext |
12913 |
> |
}; then |
12914 |
> |
ac_cv_lib_mpfr_main=yes |
12915 |
> |
else |
12916 |
> |
$as_echo "$as_me: failed program was:" >&5 |
12917 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
12918 |
> |
|
12919 |
> |
ac_cv_lib_mpfr_main=no |
12920 |
> |
fi |
12921 |
> |
|
12922 |
> |
rm -rf conftest.dSYM |
12923 |
> |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12924 |
> |
conftest$ac_exeext conftest.$ac_ext |
12925 |
> |
LIBS=$ac_check_lib_save_LIBS |
12926 |
> |
fi |
12927 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mpfr_main" >&5 |
12928 |
> |
$as_echo "$ac_cv_lib_mpfr_main" >&6; } |
12929 |
> |
if test $ac_cv_lib_mpfr_main = yes; then |
12930 |
> |
CGAL_LIBS="$CGAL_LIBS -lmpfr" |
12931 |
> |
fi |
12932 |
> |
|
12933 |
> |
{ $as_echo "$as_me:$LINENO: checking for main in -lgmp" >&5 |
12934 |
> |
$as_echo_n "checking for main in -lgmp... " >&6; } |
12935 |
> |
if test "${ac_cv_lib_gmp_main+set}" = set; then |
12936 |
> |
$as_echo_n "(cached) " >&6 |
12937 |
> |
else |
12938 |
> |
ac_check_lib_save_LIBS=$LIBS |
12939 |
> |
LIBS="-lgmp $LIBS" |
12940 |
> |
cat >conftest.$ac_ext <<_ACEOF |
12941 |
> |
/* confdefs.h. */ |
12942 |
> |
_ACEOF |
12943 |
> |
cat confdefs.h >>conftest.$ac_ext |
12944 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
12945 |
> |
/* end confdefs.h. */ |
12946 |
> |
|
12947 |
> |
|
12948 |
> |
#ifdef FC_DUMMY_MAIN |
12949 |
> |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
12950 |
> |
# ifdef __cplusplus |
12951 |
> |
extern "C" |
12952 |
> |
# endif |
12953 |
> |
int FC_DUMMY_MAIN() { return 1; } |
12954 |
> |
#endif |
12955 |
> |
#endif |
12956 |
> |
int |
12957 |
> |
main () |
12958 |
> |
{ |
12959 |
> |
return main (); |
12960 |
> |
; |
12961 |
> |
return 0; |
12962 |
> |
} |
12963 |
> |
_ACEOF |
12964 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
12965 |
> |
if { (ac_try="$ac_link" |
12966 |
> |
case "(($ac_try" in |
12967 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12968 |
> |
*) ac_try_echo=$ac_try;; |
12969 |
> |
esac |
12970 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12971 |
> |
$as_echo "$ac_try_echo") >&5 |
12972 |
> |
(eval "$ac_link") 2>conftest.er1 |
12973 |
> |
ac_status=$? |
12974 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
12975 |
> |
rm -f conftest.er1 |
12976 |
> |
cat conftest.err >&5 |
12977 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12978 |
> |
(exit $ac_status); } && { |
12979 |
> |
test -z "$ac_c_werror_flag" || |
12980 |
> |
test ! -s conftest.err |
12981 |
> |
} && test -s conftest$ac_exeext && { |
12982 |
> |
test "$cross_compiling" = yes || |
12983 |
> |
$as_test_x conftest$ac_exeext |
12984 |
> |
}; then |
12985 |
> |
ac_cv_lib_gmp_main=yes |
12986 |
> |
else |
12987 |
> |
$as_echo "$as_me: failed program was:" >&5 |
12988 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
12989 |
> |
|
12990 |
> |
ac_cv_lib_gmp_main=no |
12991 |
> |
fi |
12992 |
> |
|
12993 |
> |
rm -rf conftest.dSYM |
12994 |
> |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12995 |
> |
conftest$ac_exeext conftest.$ac_ext |
12996 |
> |
LIBS=$ac_check_lib_save_LIBS |
12997 |
> |
fi |
12998 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gmp_main" >&5 |
12999 |
> |
$as_echo "$ac_cv_lib_gmp_main" >&6; } |
13000 |
> |
if test $ac_cv_lib_gmp_main = yes; then |
13001 |
> |
CGAL_LIBS="$CGAL_LIBS -lgmp" |
13002 |
> |
fi |
13003 |
> |
|
13004 |
> |
{ $as_echo "$as_me:$LINENO: checking for main in -lgmpxx" >&5 |
13005 |
> |
$as_echo_n "checking for main in -lgmpxx... " >&6; } |
13006 |
> |
if test "${ac_cv_lib_gmpxx_main+set}" = set; then |
13007 |
> |
$as_echo_n "(cached) " >&6 |
13008 |
> |
else |
13009 |
> |
ac_check_lib_save_LIBS=$LIBS |
13010 |
> |
LIBS="-lgmpxx $LIBS" |
13011 |
> |
cat >conftest.$ac_ext <<_ACEOF |
13012 |
> |
/* confdefs.h. */ |
13013 |
> |
_ACEOF |
13014 |
> |
cat confdefs.h >>conftest.$ac_ext |
13015 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
13016 |
> |
/* end confdefs.h. */ |
13017 |
> |
|
13018 |
> |
|
13019 |
> |
#ifdef FC_DUMMY_MAIN |
13020 |
> |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
13021 |
> |
# ifdef __cplusplus |
13022 |
> |
extern "C" |
13023 |
> |
# endif |
13024 |
> |
int FC_DUMMY_MAIN() { return 1; } |
13025 |
> |
#endif |
13026 |
> |
#endif |
13027 |
> |
int |
13028 |
> |
main () |
13029 |
> |
{ |
13030 |
> |
return main (); |
13031 |
> |
; |
13032 |
> |
return 0; |
13033 |
> |
} |
13034 |
> |
_ACEOF |
13035 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
13036 |
> |
if { (ac_try="$ac_link" |
13037 |
> |
case "(($ac_try" in |
13038 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13039 |
> |
*) ac_try_echo=$ac_try;; |
13040 |
> |
esac |
13041 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13042 |
> |
$as_echo "$ac_try_echo") >&5 |
13043 |
|
(eval "$ac_link") 2>conftest.er1 |
13044 |
|
ac_status=$? |
13045 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
13046 |
|
rm -f conftest.er1 |
13047 |
|
cat conftest.err >&5 |
13048 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13048 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13049 |
|
(exit $ac_status); } && { |
13050 |
< |
test -z "$ac_cxx_werror_flag" || |
13050 |
> |
test -z "$ac_c_werror_flag" || |
13051 |
|
test ! -s conftest.err |
13052 |
< |
} && test -s conftest$ac_exeext && |
13053 |
< |
$as_test_x conftest$ac_exeext; then |
13052 |
> |
} && test -s conftest$ac_exeext && { |
13053 |
> |
test "$cross_compiling" = yes || |
13054 |
> |
$as_test_x conftest$ac_exeext |
13055 |
> |
}; then |
13056 |
|
ac_cv_lib_gmpxx_main=yes |
13057 |
|
else |
13058 |
< |
echo "$as_me: failed program was:" >&5 |
13058 |
> |
$as_echo "$as_me: failed program was:" >&5 |
13059 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
13060 |
|
|
13061 |
|
ac_cv_lib_gmpxx_main=no |
13062 |
|
fi |
13063 |
|
|
13064 |
+ |
rm -rf conftest.dSYM |
13065 |
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13066 |
|
conftest$ac_exeext conftest.$ac_ext |
13067 |
|
LIBS=$ac_check_lib_save_LIBS |
13068 |
|
fi |
13069 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_gmpxx_main" >&5 |
13070 |
< |
echo "${ECHO_T}$ac_cv_lib_gmpxx_main" >&6; } |
13069 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gmpxx_main" >&5 |
13070 |
> |
$as_echo "$ac_cv_lib_gmpxx_main" >&6; } |
13071 |
|
if test $ac_cv_lib_gmpxx_main = yes; then |
13072 |
|
CGAL_LIBS="$CGAL_LIBS -lgmpxx" |
13073 |
|
fi |
13079 |
|
fi |
13080 |
|
fi |
13081 |
|
if test "$acx_cgal_found" == yes; then |
13082 |
< |
{ echo "$as_me:$LINENO: checking for main in -lCore" >&5 |
13083 |
< |
echo $ECHO_N "checking for main in -lCore... $ECHO_C" >&6; } |
13082 |
> |
{ $as_echo "$as_me:$LINENO: checking for main in -lCore" >&5 |
13083 |
> |
$as_echo_n "checking for main in -lCore... " >&6; } |
13084 |
|
if test "${ac_cv_lib_Core_main+set}" = set; then |
13085 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
13085 |
> |
$as_echo_n "(cached) " >&6 |
13086 |
|
else |
13087 |
|
ac_check_lib_save_LIBS=$LIBS |
13088 |
|
LIBS="-lCore $LIBS" |
13116 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13117 |
|
*) ac_try_echo=$ac_try;; |
13118 |
|
esac |
13119 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13119 |
> |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13120 |
> |
$as_echo "$ac_try_echo") >&5 |
13121 |
|
(eval "$ac_link") 2>conftest.er1 |
13122 |
|
ac_status=$? |
13123 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
13124 |
|
rm -f conftest.er1 |
13125 |
|
cat conftest.err >&5 |
13126 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13126 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13127 |
|
(exit $ac_status); } && { |
13128 |
< |
test -z "$ac_cxx_werror_flag" || |
13128 |
> |
test -z "$ac_c_werror_flag" || |
13129 |
|
test ! -s conftest.err |
13130 |
< |
} && test -s conftest$ac_exeext && |
13131 |
< |
$as_test_x conftest$ac_exeext; then |
13130 |
> |
} && test -s conftest$ac_exeext && { |
13131 |
> |
test "$cross_compiling" = yes || |
13132 |
> |
$as_test_x conftest$ac_exeext |
13133 |
> |
}; then |
13134 |
|
ac_cv_lib_Core_main=yes |
13135 |
|
else |
13136 |
< |
echo "$as_me: failed program was:" >&5 |
13136 |
> |
$as_echo "$as_me: failed program was:" >&5 |
13137 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
13138 |
|
|
13139 |
|
ac_cv_lib_Core_main=no |
13140 |
|
fi |
13141 |
|
|
13142 |
+ |
rm -rf conftest.dSYM |
13143 |
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13144 |
|
conftest$ac_exeext conftest.$ac_ext |
13145 |
|
LIBS=$ac_check_lib_save_LIBS |
13146 |
|
fi |
13147 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Core_main" >&5 |
13148 |
< |
echo "${ECHO_T}$ac_cv_lib_Core_main" >&6; } |
13147 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Core_main" >&5 |
13148 |
> |
$as_echo "$ac_cv_lib_Core_main" >&6; } |
13149 |
|
if test $ac_cv_lib_Core_main = yes; then |
13150 |
|
CGAL_LIBS="$CGAL_LIBS -lCore" |
13151 |
|
fi |
13155 |
|
|
13156 |
|
|
13157 |
|
|
13158 |
< |
{ echo "$as_me:$LINENO: checking CGAL" >&5 |
13159 |
< |
echo $ECHO_N "checking CGAL... $ECHO_C" >&6; } |
13158 |
> |
{ $as_echo "$as_me:$LINENO: checking CGAL" >&5 |
13159 |
> |
$as_echo_n "checking CGAL... " >&6; } |
13160 |
|
|
13161 |
|
|
13162 |
|
|
13163 |
|
|
13164 |
|
|
13165 |
|
if test "$acx_cgal_found" == yes; then |
13166 |
< |
{ echo "$as_me:$LINENO: result: yes" >&5 |
13167 |
< |
echo "${ECHO_T}yes" >&6; } |
13166 |
> |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
13167 |
> |
$as_echo "yes" >&6; } |
13168 |
|
|
13169 |
|
else |
13170 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
13171 |
< |
echo "${ECHO_T}no" >&6; } |
13170 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
13171 |
> |
$as_echo "no" >&6; } |
13172 |
|
|
13173 |
|
fi |
13174 |
|
USE_CGAL=no |
13217 |
|
else |
13218 |
|
# Extract the first word of "doxygen", so it can be a program name with args. |
13219 |
|
set dummy doxygen; ac_word=$2 |
13220 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
13221 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
13220 |
> |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
13221 |
> |
$as_echo_n "checking for $ac_word... " >&6; } |
13222 |
|
if test "${ac_cv_path_DOXYGEN+set}" = set; then |
13223 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
13223 |
> |
$as_echo_n "(cached) " >&6 |
13224 |
|
else |
13225 |
|
case $DOXYGEN in |
13226 |
|
[\\/]* | ?:[\\/]*) |
13235 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
13236 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
13237 |
|
ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext" |
13238 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
13238 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
13239 |
|
break 2 |
13240 |
|
fi |
13241 |
|
done |
13247 |
|
fi |
13248 |
|
DOXYGEN=$ac_cv_path_DOXYGEN |
13249 |
|
if test -n "$DOXYGEN"; then |
13250 |
< |
{ echo "$as_me:$LINENO: result: $DOXYGEN" >&5 |
13251 |
< |
echo "${ECHO_T}$DOXYGEN" >&6; } |
13250 |
> |
{ $as_echo "$as_me:$LINENO: result: $DOXYGEN" >&5 |
13251 |
> |
$as_echo "$DOXYGEN" >&6; } |
13252 |
|
else |
13253 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
13254 |
< |
echo "${ECHO_T}no" >&6; } |
13253 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
13254 |
> |
$as_echo "no" >&6; } |
13255 |
|
fi |
13256 |
|
|
13257 |
|
|
13258 |
|
if test "x$DOXYGEN" = x; then |
13259 |
|
if test "x$enable_doxygen" = xyes; then |
13260 |
< |
{ { echo "$as_me:$LINENO: error: could not find doxygen" >&5 |
13261 |
< |
echo "$as_me: error: could not find doxygen" >&2;} |
13260 |
> |
{ { $as_echo "$as_me:$LINENO: error: could not find doxygen" >&5 |
13261 |
> |
$as_echo "$as_me: error: could not find doxygen" >&2;} |
13262 |
|
{ (exit 1); exit 1; }; } |
13263 |
|
fi |
13264 |
|
enable_doc=no |
13266 |
|
enable_doc=yes |
13267 |
|
# Extract the first word of "dot", so it can be a program name with args. |
13268 |
|
set dummy dot; ac_word=$2 |
13269 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
13270 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
13269 |
> |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
13270 |
> |
$as_echo_n "checking for $ac_word... " >&6; } |
13271 |
|
if test "${ac_cv_path_DOT+set}" = set; then |
13272 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
13272 |
> |
$as_echo_n "(cached) " >&6 |
13273 |
|
else |
13274 |
|
case $DOT in |
13275 |
|
[\\/]* | ?:[\\/]*) |
13284 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
13285 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
13286 |
|
ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext" |
13287 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
13287 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
13288 |
|
break 2 |
13289 |
|
fi |
13290 |
|
done |
13296 |
|
fi |
13297 |
|
DOT=$ac_cv_path_DOT |
13298 |
|
if test -n "$DOT"; then |
13299 |
< |
{ echo "$as_me:$LINENO: result: $DOT" >&5 |
13300 |
< |
echo "${ECHO_T}$DOT" >&6; } |
13299 |
> |
{ $as_echo "$as_me:$LINENO: result: $DOT" >&5 |
13300 |
> |
$as_echo "$DOT" >&6; } |
13301 |
|
else |
13302 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
13303 |
< |
echo "${ECHO_T}no" >&6; } |
13302 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
13303 |
> |
$as_echo "no" >&6; } |
13304 |
|
fi |
13305 |
|
|
13306 |
|
|
13316 |
|
|
13317 |
|
if test x$DOT = x; then |
13318 |
|
if test "x$enable_dot" = xyes; then |
13319 |
< |
{ { echo "$as_me:$LINENO: error: could not find dot" >&5 |
13320 |
< |
echo "$as_me: error: could not find dot" >&2;} |
13319 |
> |
{ { $as_echo "$as_me:$LINENO: error: could not find dot" >&5 |
13320 |
> |
$as_echo "$as_me: error: could not find dot" >&2;} |
13321 |
|
{ (exit 1); exit 1; }; } |
13322 |
|
fi |
13323 |
|
enable_dot=no |
13343 |
|
|
13344 |
|
|
13345 |
|
|
13346 |
< |
ac_config_files="$ac_config_files make/Makefile src/utils/Makefile src/math/Makefile src/applications/atom2md/Makefile scripts/filepp" |
13346 |
> |
ac_config_files="$ac_config_files make/Makefile src/utils/Makefile src/math/Makefile src/integrators/Makefile src/applications/atom2md/Makefile scripts/filepp" |
13347 |
|
|
13348 |
|
|
13349 |
|
cat >confcache <<\_ACEOF |
13373 |
|
case $ac_val in #( |
13374 |
|
*${as_nl}*) |
13375 |
|
case $ac_var in #( |
13376 |
< |
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
13377 |
< |
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
13376 |
> |
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
13377 |
> |
$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
13378 |
|
esac |
13379 |
|
case $ac_var in #( |
13380 |
|
_ | IFS | as_nl) ;; #( |
13381 |
+ |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
13382 |
|
*) $as_unset $ac_var ;; |
13383 |
|
esac ;; |
13384 |
|
esac |
13411 |
|
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
13412 |
|
if test -w "$cache_file"; then |
13413 |
|
test "x$cache_file" != "x/dev/null" && |
13414 |
< |
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
13415 |
< |
echo "$as_me: updating cache $cache_file" >&6;} |
13414 |
> |
{ $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
13415 |
> |
$as_echo "$as_me: updating cache $cache_file" >&6;} |
13416 |
|
cat confcache >$cache_file |
13417 |
|
else |
13418 |
< |
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
13419 |
< |
echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
13418 |
> |
{ $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
13419 |
> |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
13420 |
|
fi |
13421 |
|
fi |
13422 |
|
rm -f confcache |
13432 |
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
13433 |
|
# 1. Remove the extension, and $U if already installed. |
13434 |
|
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
13435 |
< |
ac_i=`echo "$ac_i" | sed "$ac_script"` |
13435 |
> |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
13436 |
|
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
13437 |
|
# will be set to the directory where LIBOBJS objects are built. |
13438 |
|
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
13445 |
|
|
13446 |
|
|
13447 |
|
: ${CONFIG_STATUS=./config.status} |
13448 |
+ |
ac_write_fail=0 |
13449 |
|
ac_clean_files_save=$ac_clean_files |
13450 |
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
13451 |
< |
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
13452 |
< |
echo "$as_me: creating $CONFIG_STATUS" >&6;} |
13453 |
< |
cat >$CONFIG_STATUS <<_ACEOF |
13451 |
> |
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
13452 |
> |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
13453 |
> |
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
13454 |
|
#! $SHELL |
13455 |
|
# Generated by $as_me. |
13456 |
|
# Run this file to recreate the current configuration. |
13463 |
|
SHELL=\${CONFIG_SHELL-$SHELL} |
13464 |
|
_ACEOF |
13465 |
|
|
13466 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
13466 |
> |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
13467 |
|
## --------------------- ## |
13468 |
|
## M4sh Initialization. ## |
13469 |
|
## --------------------- ## |
13473 |
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
13474 |
|
emulate sh |
13475 |
|
NULLCMD=: |
13476 |
< |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
13476 |
> |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
13477 |
|
# is contrary to our usage. Disable this feature. |
13478 |
|
alias -g '${1+"$@"}'='"$@"' |
13479 |
|
setopt NO_GLOB_SUBST |
13495 |
|
as_cr_digits='0123456789' |
13496 |
|
as_cr_alnum=$as_cr_Letters$as_cr_digits |
13497 |
|
|
13498 |
< |
# The user is always right. |
13499 |
< |
if test "${PATH_SEPARATOR+set}" != set; then |
13500 |
< |
echo "#! /bin/sh" >conf$$.sh |
13501 |
< |
echo "exit 0" >>conf$$.sh |
13502 |
< |
chmod +x conf$$.sh |
13503 |
< |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
13504 |
< |
PATH_SEPARATOR=';' |
13498 |
> |
as_nl=' |
13499 |
> |
' |
13500 |
> |
export as_nl |
13501 |
> |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
13502 |
> |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
13503 |
> |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
13504 |
> |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
13505 |
> |
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
13506 |
> |
as_echo='printf %s\n' |
13507 |
> |
as_echo_n='printf %s' |
13508 |
> |
else |
13509 |
> |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
13510 |
> |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
13511 |
> |
as_echo_n='/usr/ucb/echo -n' |
13512 |
|
else |
13513 |
< |
PATH_SEPARATOR=: |
13513 |
> |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
13514 |
> |
as_echo_n_body='eval |
13515 |
> |
arg=$1; |
13516 |
> |
case $arg in |
13517 |
> |
*"$as_nl"*) |
13518 |
> |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
13519 |
> |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
13520 |
> |
esac; |
13521 |
> |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
13522 |
> |
' |
13523 |
> |
export as_echo_n_body |
13524 |
> |
as_echo_n='sh -c $as_echo_n_body as_echo' |
13525 |
|
fi |
13526 |
< |
rm -f conf$$.sh |
13526 |
> |
export as_echo_body |
13527 |
> |
as_echo='sh -c $as_echo_body as_echo' |
13528 |
|
fi |
13529 |
|
|
13530 |
+ |
# The user is always right. |
13531 |
+ |
if test "${PATH_SEPARATOR+set}" != set; then |
13532 |
+ |
PATH_SEPARATOR=: |
13533 |
+ |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
13534 |
+ |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
13535 |
+ |
PATH_SEPARATOR=';' |
13536 |
+ |
} |
13537 |
+ |
fi |
13538 |
+ |
|
13539 |
|
# Support unset when possible. |
13540 |
|
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
13541 |
|
as_unset=unset |
13549 |
|
# there to prevent editors from complaining about space-tab. |
13550 |
|
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
13551 |
|
# splitting by setting IFS to empty value.) |
17029 |
– |
as_nl=' |
17030 |
– |
' |
13552 |
|
IFS=" "" $as_nl" |
13553 |
|
|
13554 |
|
# Find who we are. Look in the path if we contain no directory separator. |
13571 |
|
as_myself=$0 |
13572 |
|
fi |
13573 |
|
if test ! -f "$as_myself"; then |
13574 |
< |
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
13574 |
> |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
13575 |
|
{ (exit 1); exit 1; } |
13576 |
|
fi |
13577 |
|
|
13584 |
|
PS4='+ ' |
13585 |
|
|
13586 |
|
# NLS nuisances. |
13587 |
< |
for as_var in \ |
13588 |
< |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
13589 |
< |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
13590 |
< |
LC_TELEPHONE LC_TIME |
17070 |
< |
do |
17071 |
< |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
17072 |
< |
eval $as_var=C; export $as_var |
17073 |
< |
else |
17074 |
< |
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
17075 |
< |
fi |
17076 |
< |
done |
13587 |
> |
LC_ALL=C |
13588 |
> |
export LC_ALL |
13589 |
> |
LANGUAGE=C |
13590 |
> |
export LANGUAGE |
13591 |
|
|
13592 |
|
# Required to use basename. |
13593 |
|
if expr a : '\(a\)' >/dev/null 2>&1 && |
13609 |
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
13610 |
|
X"$0" : 'X\(//\)$' \| \ |
13611 |
|
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
13612 |
< |
echo X/"$0" | |
13612 |
> |
$as_echo X/"$0" | |
13613 |
|
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
13614 |
|
s//\1/ |
13615 |
|
q |
13660 |
|
s/-\n.*// |
13661 |
|
' >$as_me.lineno && |
13662 |
|
chmod +x "$as_me.lineno" || |
13663 |
< |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
13663 |
> |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
13664 |
|
{ (exit 1); exit 1; }; } |
13665 |
|
|
13666 |
|
# Don't try to exec as it changes $[0], causing all sort of problems |
13688 |
|
*) |
13689 |
|
ECHO_N='-n';; |
13690 |
|
esac |
17177 |
– |
|
13691 |
|
if expr a : '\(a\)' >/dev/null 2>&1 && |
13692 |
|
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
13693 |
|
as_expr=expr |
13700 |
|
rm -f conf$$.dir/conf$$.file |
13701 |
|
else |
13702 |
|
rm -f conf$$.dir |
13703 |
< |
mkdir conf$$.dir |
13703 |
> |
mkdir conf$$.dir 2>/dev/null |
13704 |
|
fi |
13705 |
< |
echo >conf$$.file |
13706 |
< |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
13707 |
< |
as_ln_s='ln -s' |
13708 |
< |
# ... but there are two gotchas: |
13709 |
< |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
13710 |
< |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
13711 |
< |
# In both cases, we have to default to `cp -p'. |
13712 |
< |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
13705 |
> |
if (echo >conf$$.file) 2>/dev/null; then |
13706 |
> |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
13707 |
> |
as_ln_s='ln -s' |
13708 |
> |
# ... but there are two gotchas: |
13709 |
> |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
13710 |
> |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
13711 |
> |
# In both cases, we have to default to `cp -p'. |
13712 |
> |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
13713 |
> |
as_ln_s='cp -p' |
13714 |
> |
elif ln conf$$.file conf$$ 2>/dev/null; then |
13715 |
> |
as_ln_s=ln |
13716 |
> |
else |
13717 |
|
as_ln_s='cp -p' |
13718 |
< |
elif ln conf$$.file conf$$ 2>/dev/null; then |
17202 |
< |
as_ln_s=ln |
13718 |
> |
fi |
13719 |
|
else |
13720 |
|
as_ln_s='cp -p' |
13721 |
|
fi |
13740 |
|
as_test_x=' |
13741 |
|
eval sh -c '\'' |
13742 |
|
if test -d "$1"; then |
13743 |
< |
test -d "$1/."; |
13743 |
> |
test -d "$1/."; |
13744 |
|
else |
13745 |
|
case $1 in |
13746 |
< |
-*)set "./$1";; |
13746 |
> |
-*)set "./$1";; |
13747 |
|
esac; |
13748 |
|
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
13749 |
|
???[sx]*):;;*)false;;esac;fi |
13766 |
|
# values after options handling. |
13767 |
|
ac_log=" |
13768 |
|
This file was extended by OOPSE $as_me 4.0, which was |
13769 |
< |
generated by GNU Autoconf 2.61. Invocation command line was |
13769 |
> |
generated by GNU Autoconf 2.62. Invocation command line was |
13770 |
|
|
13771 |
|
CONFIG_FILES = $CONFIG_FILES |
13772 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
13779 |
|
|
13780 |
|
_ACEOF |
13781 |
|
|
13782 |
< |
cat >>$CONFIG_STATUS <<_ACEOF |
13782 |
> |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
13783 |
|
# Files that config.status was made for. |
13784 |
|
config_files="$ac_config_files" |
13785 |
|
config_headers="$ac_config_headers" |
17270 |
– |
config_links="$ac_config_links" |
13786 |
|
|
13787 |
|
_ACEOF |
13788 |
|
|
13789 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
13789 |
> |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
13790 |
|
ac_cs_usage="\ |
13791 |
|
\`$as_me' instantiates files from templates according to the |
13792 |
|
current configuration. |
13799 |
|
-d, --debug don't remove temporary files |
13800 |
|
--recheck update $as_me by reconfiguring in the same conditions |
13801 |
|
--file=FILE[:TEMPLATE] |
13802 |
< |
instantiate the configuration file FILE |
13802 |
> |
instantiate the configuration file FILE |
13803 |
|
--header=FILE[:TEMPLATE] |
13804 |
< |
instantiate the configuration header FILE |
13804 |
> |
instantiate the configuration header FILE |
13805 |
|
|
13806 |
|
Configuration files: |
13807 |
|
$config_files |
13809 |
|
Configuration headers: |
13810 |
|
$config_headers |
13811 |
|
|
17297 |
– |
Configuration links: |
17298 |
– |
$config_links |
17299 |
– |
|
13812 |
|
Report bugs to <bug-autoconf@gnu.org>." |
13813 |
|
|
13814 |
|
_ACEOF |
13815 |
< |
cat >>$CONFIG_STATUS <<_ACEOF |
13815 |
> |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
13816 |
|
ac_cs_version="\\ |
13817 |
|
OOPSE config.status 4.0 |
13818 |
< |
configured by $0, generated by GNU Autoconf 2.61, |
13819 |
< |
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
13818 |
> |
configured by $0, generated by GNU Autoconf 2.62, |
13819 |
> |
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
13820 |
|
|
13821 |
< |
Copyright (C) 2006 Free Software Foundation, Inc. |
13821 |
> |
Copyright (C) 2008 Free Software Foundation, Inc. |
13822 |
|
This config.status script is free software; the Free Software Foundation |
13823 |
|
gives unlimited permission to copy, distribute and modify it." |
13824 |
|
|
13825 |
|
ac_pwd='$ac_pwd' |
13826 |
|
srcdir='$srcdir' |
13827 |
|
INSTALL='$INSTALL' |
13828 |
+ |
test -n "\$AWK" || AWK=awk |
13829 |
|
_ACEOF |
13830 |
|
|
13831 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
13832 |
< |
# If no file are specified by the user, then we need to provide default |
17320 |
< |
# value. By we need to know if files were specified by the user. |
13831 |
> |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
13832 |
> |
# The default lists apply if the user does not specify any file. |
13833 |
|
ac_need_defaults=: |
13834 |
|
while test $# != 0 |
13835 |
|
do |
13851 |
|
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
13852 |
|
ac_cs_recheck=: ;; |
13853 |
|
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
13854 |
< |
echo "$ac_cs_version"; exit ;; |
13854 |
> |
$as_echo "$ac_cs_version"; exit ;; |
13855 |
|
--debug | --debu | --deb | --de | --d | -d ) |
13856 |
|
debug=: ;; |
13857 |
|
--file | --fil | --fi | --f ) |
13858 |
|
$ac_shift |
13859 |
< |
CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
13859 |
> |
case $ac_optarg in |
13860 |
> |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
13861 |
> |
esac |
13862 |
> |
CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" |
13863 |
|
ac_need_defaults=false;; |
13864 |
|
--header | --heade | --head | --hea ) |
13865 |
|
$ac_shift |
13866 |
< |
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
13866 |
> |
case $ac_optarg in |
13867 |
> |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
13868 |
> |
esac |
13869 |
> |
CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" |
13870 |
|
ac_need_defaults=false;; |
13871 |
|
--he | --h) |
13872 |
|
# Conflict between --help and --header |
13873 |
< |
{ echo "$as_me: error: ambiguous option: $1 |
13873 |
> |
{ $as_echo "$as_me: error: ambiguous option: $1 |
13874 |
|
Try \`$0 --help' for more information." >&2 |
13875 |
|
{ (exit 1); exit 1; }; };; |
13876 |
|
--help | --hel | -h ) |
13877 |
< |
echo "$ac_cs_usage"; exit ;; |
13877 |
> |
$as_echo "$ac_cs_usage"; exit ;; |
13878 |
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
13879 |
|
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
13880 |
|
ac_cs_silent=: ;; |
13881 |
|
|
13882 |
|
# This is an error. |
13883 |
< |
-*) { echo "$as_me: error: unrecognized option: $1 |
13883 |
> |
-*) { $as_echo "$as_me: error: unrecognized option: $1 |
13884 |
|
Try \`$0 --help' for more information." >&2 |
13885 |
|
{ (exit 1); exit 1; }; } ;; |
13886 |
|
|
13899 |
|
fi |
13900 |
|
|
13901 |
|
_ACEOF |
13902 |
< |
cat >>$CONFIG_STATUS <<_ACEOF |
13902 |
> |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
13903 |
|
if \$ac_cs_recheck; then |
13904 |
< |
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
13905 |
< |
CONFIG_SHELL=$SHELL |
13904 |
> |
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
13905 |
> |
shift |
13906 |
> |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
13907 |
> |
CONFIG_SHELL='$SHELL' |
13908 |
|
export CONFIG_SHELL |
13909 |
< |
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
13909 |
> |
exec "\$@" |
13910 |
|
fi |
13911 |
|
|
13912 |
|
_ACEOF |
13913 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
13913 |
> |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
13914 |
|
exec 5>>config.log |
13915 |
|
{ |
13916 |
|
echo |
13917 |
|
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
13918 |
|
## Running $as_me. ## |
13919 |
|
_ASBOX |
13920 |
< |
echo "$ac_log" |
13920 |
> |
$as_echo "$ac_log" |
13921 |
|
} >&5 |
13922 |
|
|
13923 |
|
_ACEOF |
13924 |
< |
cat >>$CONFIG_STATUS <<_ACEOF |
13924 |
> |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
13925 |
|
_ACEOF |
13926 |
|
|
13927 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
13927 |
> |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
13928 |
|
|
13929 |
|
# Handling of arguments. |
13930 |
|
for ac_config_target in $ac_config_targets |
13931 |
|
do |
13932 |
|
case $ac_config_target in |
13933 |
|
"src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; |
17414 |
– |
"src/getopt.h") CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;; |
13934 |
|
"make/Makefile") CONFIG_FILES="$CONFIG_FILES make/Makefile" ;; |
13935 |
|
"src/utils/Makefile") CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;; |
13936 |
|
"src/math/Makefile") CONFIG_FILES="$CONFIG_FILES src/math/Makefile" ;; |
13937 |
+ |
"src/integrators/Makefile") CONFIG_FILES="$CONFIG_FILES src/integrators/Makefile" ;; |
13938 |
|
"src/applications/atom2md/Makefile") CONFIG_FILES="$CONFIG_FILES src/applications/atom2md/Makefile" ;; |
13939 |
|
"scripts/filepp") CONFIG_FILES="$CONFIG_FILES scripts/filepp" ;; |
13940 |
|
|
13941 |
< |
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
13942 |
< |
echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
13941 |
> |
*) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
13942 |
> |
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
13943 |
|
{ (exit 1); exit 1; }; };; |
13944 |
|
esac |
13945 |
|
done |
13952 |
|
if $ac_need_defaults; then |
13953 |
|
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
13954 |
|
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
17435 |
– |
test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links |
13955 |
|
fi |
13956 |
|
|
13957 |
|
# Have a temporary directory for convenience. Make it in the build tree |
13979 |
|
(umask 077 && mkdir "$tmp") |
13980 |
|
} || |
13981 |
|
{ |
13982 |
< |
echo "$me: cannot create a temporary directory in ." >&2 |
13982 |
> |
$as_echo "$as_me: cannot create a temporary directory in ." >&2 |
13983 |
|
{ (exit 1); exit 1; } |
13984 |
|
} |
13985 |
|
|
13986 |
< |
# |
13987 |
< |
# Set up the sed scripts for CONFIG_FILES section. |
13988 |
< |
# |
17470 |
< |
|
17471 |
< |
# No need to generate the scripts if there are no CONFIG_FILES. |
17472 |
< |
# This happens for instance when ./config.status config.h |
13986 |
> |
# Set up the scripts for CONFIG_FILES section. |
13987 |
> |
# No need to generate them if there are no CONFIG_FILES. |
13988 |
> |
# This happens for instance with `./config.status config.h'. |
13989 |
|
if test -n "$CONFIG_FILES"; then |
13990 |
|
|
17475 |
– |
_ACEOF |
13991 |
|
|
13992 |
+ |
ac_cr=' |
13993 |
+ |
' |
13994 |
+ |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
13995 |
+ |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
13996 |
+ |
ac_cs_awk_cr='\\r' |
13997 |
+ |
else |
13998 |
+ |
ac_cs_awk_cr=$ac_cr |
13999 |
+ |
fi |
14000 |
|
|
14001 |
+ |
echo 'BEGIN {' >"$tmp/subs1.awk" && |
14002 |
+ |
_ACEOF |
14003 |
|
|
14004 |
+ |
|
14005 |
+ |
{ |
14006 |
+ |
echo "cat >conf$$subs.awk <<_ACEOF" && |
14007 |
+ |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
14008 |
+ |
echo "_ACEOF" |
14009 |
+ |
} >conf$$subs.sh || |
14010 |
+ |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
14011 |
+ |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
14012 |
+ |
{ (exit 1); exit 1; }; } |
14013 |
+ |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
14014 |
|
ac_delim='%!_!# ' |
14015 |
|
for ac_last_try in false false false false false :; do |
14016 |
< |
cat >conf$$subs.sed <<_ACEOF |
14017 |
< |
SHELL!$SHELL$ac_delim |
14018 |
< |
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim |
14019 |
< |
PACKAGE_NAME!$PACKAGE_NAME$ac_delim |
17485 |
< |
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim |
17486 |
< |
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim |
17487 |
< |
PACKAGE_STRING!$PACKAGE_STRING$ac_delim |
17488 |
< |
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim |
17489 |
< |
exec_prefix!$exec_prefix$ac_delim |
17490 |
< |
prefix!$prefix$ac_delim |
17491 |
< |
program_transform_name!$program_transform_name$ac_delim |
17492 |
< |
bindir!$bindir$ac_delim |
17493 |
< |
sbindir!$sbindir$ac_delim |
17494 |
< |
libexecdir!$libexecdir$ac_delim |
17495 |
< |
datarootdir!$datarootdir$ac_delim |
17496 |
< |
datadir!$datadir$ac_delim |
17497 |
< |
sysconfdir!$sysconfdir$ac_delim |
17498 |
< |
sharedstatedir!$sharedstatedir$ac_delim |
17499 |
< |
localstatedir!$localstatedir$ac_delim |
17500 |
< |
includedir!$includedir$ac_delim |
17501 |
< |
oldincludedir!$oldincludedir$ac_delim |
17502 |
< |
docdir!$docdir$ac_delim |
17503 |
< |
infodir!$infodir$ac_delim |
17504 |
< |
htmldir!$htmldir$ac_delim |
17505 |
< |
dvidir!$dvidir$ac_delim |
17506 |
< |
pdfdir!$pdfdir$ac_delim |
17507 |
< |
psdir!$psdir$ac_delim |
17508 |
< |
libdir!$libdir$ac_delim |
17509 |
< |
localedir!$localedir$ac_delim |
17510 |
< |
mandir!$mandir$ac_delim |
17511 |
< |
DEFS!$DEFS$ac_delim |
17512 |
< |
ECHO_C!$ECHO_C$ac_delim |
17513 |
< |
ECHO_N!$ECHO_N$ac_delim |
17514 |
< |
ECHO_T!$ECHO_T$ac_delim |
17515 |
< |
LIBS!$LIBS$ac_delim |
17516 |
< |
build_alias!$build_alias$ac_delim |
17517 |
< |
host_alias!$host_alias$ac_delim |
17518 |
< |
target_alias!$target_alias$ac_delim |
17519 |
< |
build!$build$ac_delim |
17520 |
< |
build_cpu!$build_cpu$ac_delim |
17521 |
< |
build_vendor!$build_vendor$ac_delim |
17522 |
< |
build_os!$build_os$ac_delim |
17523 |
< |
host!$host$ac_delim |
17524 |
< |
host_cpu!$host_cpu$ac_delim |
17525 |
< |
host_vendor!$host_vendor$ac_delim |
17526 |
< |
host_os!$host_os$ac_delim |
17527 |
< |
PROGNAME!$PROGNAME$ac_delim |
17528 |
< |
debug!$debug$ac_delim |
17529 |
< |
USE_SINGLE_PRECISION!$USE_SINGLE_PRECISION$ac_delim |
17530 |
< |
ac_cc_set!$ac_cc_set$ac_delim |
17531 |
< |
ac_cc_path!$ac_cc_path$ac_delim |
17532 |
< |
ac_cxx_set!$ac_cxx_set$ac_delim |
17533 |
< |
ac_cxx_path!$ac_cxx_path$ac_delim |
17534 |
< |
ac_fc_set!$ac_fc_set$ac_delim |
17535 |
< |
ac_fc_path!$ac_fc_path$ac_delim |
17536 |
< |
acx_mpi_mpicc!$acx_mpi_mpicc$ac_delim |
17537 |
< |
acx_mpi_mpicc_path!$acx_mpi_mpicc_path$ac_delim |
17538 |
< |
acx_mpi_mpif90!$acx_mpi_mpif90$ac_delim |
17539 |
< |
acx_mpi_mpif90_path!$acx_mpi_mpif90_path$ac_delim |
17540 |
< |
acx_mpi_mpicxx!$acx_mpi_mpicxx$ac_delim |
17541 |
< |
acx_mpi_mpicxx_path!$acx_mpi_mpicxx_path$ac_delim |
17542 |
< |
MPI_CPPFLAGS!$MPI_CPPFLAGS$ac_delim |
17543 |
< |
MPI_LIBS!$MPI_LIBS$ac_delim |
17544 |
< |
MPI90_LIBS!$MPI90_LIBS$ac_delim |
17545 |
< |
USE_MPI!$USE_MPI$ac_delim |
17546 |
< |
CXX!$CXX$ac_delim |
17547 |
< |
CXXFLAGS!$CXXFLAGS$ac_delim |
17548 |
< |
LDFLAGS!$LDFLAGS$ac_delim |
17549 |
< |
CPPFLAGS!$CPPFLAGS$ac_delim |
17550 |
< |
ac_ct_CXX!$ac_ct_CXX$ac_delim |
17551 |
< |
EXEEXT!$EXEEXT$ac_delim |
17552 |
< |
OBJEXT!$OBJEXT$ac_delim |
17553 |
< |
CC!$CC$ac_delim |
17554 |
< |
CFLAGS!$CFLAGS$ac_delim |
17555 |
< |
ac_ct_CC!$ac_ct_CC$ac_delim |
17556 |
< |
FC!$FC$ac_delim |
17557 |
< |
FCFLAGS!$FCFLAGS$ac_delim |
17558 |
< |
ac_ct_FC!$ac_ct_FC$ac_delim |
17559 |
< |
CPP!$CPP$ac_delim |
17560 |
< |
GREP!$GREP$ac_delim |
17561 |
< |
EGREP!$EGREP$ac_delim |
17562 |
< |
LN_S!$LN_S$ac_delim |
17563 |
< |
SET_MAKE!$SET_MAKE$ac_delim |
17564 |
< |
RANLIB!$RANLIB$ac_delim |
17565 |
< |
YACC!$YACC$ac_delim |
17566 |
< |
YFLAGS!$YFLAGS$ac_delim |
17567 |
< |
LEX!$LEX$ac_delim |
17568 |
< |
LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim |
17569 |
< |
LEXLIB!$LEXLIB$ac_delim |
17570 |
< |
PERLINTERP!$PERLINTERP$ac_delim |
17571 |
< |
PERL_SHEBANG!$PERL_SHEBANG$ac_delim |
17572 |
< |
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim |
17573 |
< |
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
17574 |
< |
INSTALL_DATA!$INSTALL_DATA$ac_delim |
17575 |
< |
AR!$AR$ac_delim |
17576 |
< |
PS!$PS$ac_delim |
17577 |
< |
FCFLAGS_F90!$FCFLAGS_F90$ac_delim |
17578 |
< |
FCFLAGS_SRCEXT!$FCFLAGS_SRCEXT$ac_delim |
17579 |
< |
_ACEOF |
14016 |
> |
. ./conf$$subs.sh || |
14017 |
> |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
14018 |
> |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
14019 |
> |
{ (exit 1); exit 1; }; } |
14020 |
|
|
14021 |
< |
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then |
14021 |
> |
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then |
14022 |
|
break |
14023 |
|
elif $ac_last_try; then |
14024 |
< |
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
14025 |
< |
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
14024 |
> |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
14025 |
> |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
14026 |
|
{ (exit 1); exit 1; }; } |
14027 |
|
else |
14028 |
|
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
14029 |
|
fi |
14030 |
|
done |
14031 |
+ |
rm -f conf$$subs.sh |
14032 |
|
|
14033 |
< |
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
14034 |
< |
if test -n "$ac_eof"; then |
17594 |
< |
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
17595 |
< |
ac_eof=`expr $ac_eof + 1` |
17596 |
< |
fi |
17597 |
< |
|
17598 |
< |
cat >>$CONFIG_STATUS <<_ACEOF |
17599 |
< |
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof |
17600 |
< |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
14033 |
> |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
14034 |
> |
cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
14035 |
|
_ACEOF |
14036 |
< |
sed ' |
14037 |
< |
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
14038 |
< |
s/^/s,@/; s/!/@,|#_!!_#|/ |
14039 |
< |
:n |
14040 |
< |
t n |
14041 |
< |
s/'"$ac_delim"'$/,g/; t |
14042 |
< |
s/$/\\/; p |
14043 |
< |
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
14044 |
< |
' >>$CONFIG_STATUS <conf$$subs.sed |
14045 |
< |
rm -f conf$$subs.sed |
14046 |
< |
cat >>$CONFIG_STATUS <<_ACEOF |
14047 |
< |
CEOF$ac_eof |
14048 |
< |
_ACEOF |
14036 |
> |
sed -n ' |
14037 |
> |
h |
14038 |
> |
s/^/S["/; s/!.*/"]=/ |
14039 |
> |
p |
14040 |
> |
g |
14041 |
> |
s/^[^!]*!// |
14042 |
> |
:repl |
14043 |
> |
t repl |
14044 |
> |
s/'"$ac_delim"'$// |
14045 |
> |
t delim |
14046 |
> |
:nl |
14047 |
> |
h |
14048 |
> |
s/\(.\{148\}\).*/\1/ |
14049 |
> |
t more1 |
14050 |
> |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
14051 |
> |
p |
14052 |
> |
n |
14053 |
> |
b repl |
14054 |
> |
:more1 |
14055 |
> |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
14056 |
> |
p |
14057 |
> |
g |
14058 |
> |
s/.\{148\}// |
14059 |
> |
t nl |
14060 |
> |
:delim |
14061 |
> |
h |
14062 |
> |
s/\(.\{148\}\).*/\1/ |
14063 |
> |
t more2 |
14064 |
> |
s/["\\]/\\&/g; s/^/"/; s/$/"/ |
14065 |
> |
p |
14066 |
> |
b |
14067 |
> |
:more2 |
14068 |
> |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
14069 |
> |
p |
14070 |
> |
g |
14071 |
> |
s/.\{148\}// |
14072 |
> |
t delim |
14073 |
> |
' <conf$$subs.awk | sed ' |
14074 |
> |
/^[^""]/{ |
14075 |
> |
N |
14076 |
> |
s/\n// |
14077 |
> |
} |
14078 |
> |
' >>$CONFIG_STATUS || ac_write_fail=1 |
14079 |
> |
rm -f conf$$subs.awk |
14080 |
> |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
14081 |
> |
_ACAWK |
14082 |
> |
cat >>"\$tmp/subs1.awk" <<_ACAWK && |
14083 |
> |
for (key in S) S_is_set[key] = 1 |
14084 |
> |
FS = "" |
14085 |
|
|
14086 |
+ |
} |
14087 |
+ |
{ |
14088 |
+ |
line = $ 0 |
14089 |
+ |
nfields = split(line, field, "@") |
14090 |
+ |
substed = 0 |
14091 |
+ |
len = length(field[1]) |
14092 |
+ |
for (i = 2; i < nfields; i++) { |
14093 |
+ |
key = field[i] |
14094 |
+ |
keylen = length(key) |
14095 |
+ |
if (S_is_set[key]) { |
14096 |
+ |
value = S[key] |
14097 |
+ |
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
14098 |
+ |
len += length(value) + length(field[++i]) |
14099 |
+ |
substed = 1 |
14100 |
+ |
} else |
14101 |
+ |
len += 1 + keylen |
14102 |
+ |
} |
14103 |
|
|
14104 |
< |
ac_delim='%!_!# ' |
14105 |
< |
for ac_last_try in false false false false false :; do |
17619 |
< |
cat >conf$$subs.sed <<_ACEOF |
17620 |
< |
PREPDEFFLAG!$PREPDEFFLAG$ac_delim |
17621 |
< |
FCLIBS!$FCLIBS$ac_delim |
17622 |
< |
FC_FUNC!$FC_FUNC$ac_delim |
17623 |
< |
FC_FUNC_!$FC_FUNC_$ac_delim |
17624 |
< |
MOD!$MOD$ac_delim |
17625 |
< |
F90_WORK_FILES_ARG!$F90_WORK_FILES_ARG$ac_delim |
17626 |
< |
MODDIRFLAG!$MODDIRFLAG$ac_delim |
17627 |
< |
F90MODINCSPEC!$F90MODINCSPEC$ac_delim |
17628 |
< |
F90_MODULE_NAMES!$F90_MODULE_NAMES$ac_delim |
17629 |
< |
ZLIB_INC_DIR!$ZLIB_INC_DIR$ac_delim |
17630 |
< |
ZLIB_LIB_DIR!$ZLIB_LIB_DIR$ac_delim |
17631 |
< |
ZLIB!$ZLIB$ac_delim |
17632 |
< |
FFTW_INC_DIR!$FFTW_INC_DIR$ac_delim |
17633 |
< |
FFTW_LIB_DIR!$FFTW_LIB_DIR$ac_delim |
17634 |
< |
FFTW_LIBS!$FFTW_LIBS$ac_delim |
17635 |
< |
QHULL_INC_DIR!$QHULL_INC_DIR$ac_delim |
17636 |
< |
QHULL_LIB_DIR!$QHULL_LIB_DIR$ac_delim |
17637 |
< |
QHULL!$QHULL$ac_delim |
17638 |
< |
USE_QHULL!$USE_QHULL$ac_delim |
17639 |
< |
CXXCPP!$CXXCPP$ac_delim |
17640 |
< |
OPENBABEL_INC_DIR!$OPENBABEL_INC_DIR$ac_delim |
17641 |
< |
OPENBABEL_LIB_DIR!$OPENBABEL_LIB_DIR$ac_delim |
17642 |
< |
OPENBABEL_LIB!$OPENBABEL_LIB$ac_delim |
17643 |
< |
USE_OPENBABEL!$USE_OPENBABEL$ac_delim |
17644 |
< |
LIBOBJS!$LIBOBJS$ac_delim |
17645 |
< |
POW_LIB!$POW_LIB$ac_delim |
17646 |
< |
__func__!$__func__$ac_delim |
17647 |
< |
CGAL_MAKEFILE!$CGAL_MAKEFILE$ac_delim |
17648 |
< |
CGAL_CXXFLAGS!$CGAL_CXXFLAGS$ac_delim |
17649 |
< |
CGAL_CPPFLAGS!$CGAL_CPPFLAGS$ac_delim |
17650 |
< |
CGAL_LDFLAGS!$CGAL_LDFLAGS$ac_delim |
17651 |
< |
CGAL_LIBS!$CGAL_LIBS$ac_delim |
17652 |
< |
USE_CGAL!$USE_CGAL$ac_delim |
17653 |
< |
DOXYGEN!$DOXYGEN$ac_delim |
17654 |
< |
DOT!$DOT$ac_delim |
17655 |
< |
DOC!$DOC$ac_delim |
17656 |
< |
enable_dot!$enable_dot$ac_delim |
17657 |
< |
enable_html_docs!$enable_html_docs$ac_delim |
17658 |
< |
enable_latex_docs!$enable_latex_docs$ac_delim |
17659 |
< |
BATEXT!$BATEXT$ac_delim |
17660 |
< |
MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim |
17661 |
< |
OOPSE!$OOPSE$ac_delim |
17662 |
< |
OOPSE_HOME!$OOPSE_HOME$ac_delim |
17663 |
< |
SUBDIRS!$SUBDIRS$ac_delim |
17664 |
< |
LTLIBOBJS!$LTLIBOBJS$ac_delim |
17665 |
< |
_ACEOF |
14104 |
> |
print line |
14105 |
> |
} |
14106 |
|
|
14107 |
< |
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 45; then |
14108 |
< |
break |
14109 |
< |
elif $ac_last_try; then |
14110 |
< |
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
14111 |
< |
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
14107 |
> |
_ACAWK |
14108 |
> |
_ACEOF |
14109 |
> |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
14110 |
> |
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
14111 |
> |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
14112 |
> |
else |
14113 |
> |
cat |
14114 |
> |
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
14115 |
> |
|| { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 |
14116 |
> |
$as_echo "$as_me: error: could not setup config files machinery" >&2;} |
14117 |
|
{ (exit 1); exit 1; }; } |
17673 |
– |
else |
17674 |
– |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
17675 |
– |
fi |
17676 |
– |
done |
17677 |
– |
|
17678 |
– |
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
17679 |
– |
if test -n "$ac_eof"; then |
17680 |
– |
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
17681 |
– |
ac_eof=`expr $ac_eof + 1` |
17682 |
– |
fi |
17683 |
– |
|
17684 |
– |
cat >>$CONFIG_STATUS <<_ACEOF |
17685 |
– |
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof |
17686 |
– |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end |
14118 |
|
_ACEOF |
17688 |
– |
sed ' |
17689 |
– |
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
17690 |
– |
s/^/s,@/; s/!/@,|#_!!_#|/ |
17691 |
– |
:n |
17692 |
– |
t n |
17693 |
– |
s/'"$ac_delim"'$/,g/; t |
17694 |
– |
s/$/\\/; p |
17695 |
– |
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
17696 |
– |
' >>$CONFIG_STATUS <conf$$subs.sed |
17697 |
– |
rm -f conf$$subs.sed |
17698 |
– |
cat >>$CONFIG_STATUS <<_ACEOF |
17699 |
– |
:end |
17700 |
– |
s/|#_!!_#|//g |
17701 |
– |
CEOF$ac_eof |
17702 |
– |
_ACEOF |
14119 |
|
|
17704 |
– |
|
14120 |
|
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
14121 |
|
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
14122 |
|
# trailing colons and then remove the whole line if VPATH becomes empty |
14132 |
|
}' |
14133 |
|
fi |
14134 |
|
|
14135 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
14135 |
> |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
14136 |
|
fi # test -n "$CONFIG_FILES" |
14137 |
|
|
14138 |
+ |
# Set up the scripts for CONFIG_HEADERS section. |
14139 |
+ |
# No need to generate them if there are no CONFIG_HEADERS. |
14140 |
+ |
# This happens for instance with `./config.status Makefile'. |
14141 |
+ |
if test -n "$CONFIG_HEADERS"; then |
14142 |
+ |
cat >"$tmp/defines.awk" <<\_ACAWK || |
14143 |
+ |
BEGIN { |
14144 |
+ |
_ACEOF |
14145 |
|
|
14146 |
< |
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS |
14146 |
> |
# Transform confdefs.h into an awk script `defines.awk', embedded as |
14147 |
> |
# here-document in config.status, that substitutes the proper values into |
14148 |
> |
# config.h.in to produce config.h. |
14149 |
> |
|
14150 |
> |
# Create a delimiter string that does not exist in confdefs.h, to ease |
14151 |
> |
# handling of long lines. |
14152 |
> |
ac_delim='%!_!# ' |
14153 |
> |
for ac_last_try in false false :; do |
14154 |
> |
ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
14155 |
> |
if test -z "$ac_t"; then |
14156 |
> |
break |
14157 |
> |
elif $ac_last_try; then |
14158 |
> |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 |
14159 |
> |
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} |
14160 |
> |
{ (exit 1); exit 1; }; } |
14161 |
> |
else |
14162 |
> |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
14163 |
> |
fi |
14164 |
> |
done |
14165 |
> |
|
14166 |
> |
# For the awk script, D is an array of macro values keyed by name, |
14167 |
> |
# likewise P contains macro parameters if any. Preserve backslash |
14168 |
> |
# newline sequences. |
14169 |
> |
|
14170 |
> |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
14171 |
> |
sed -n ' |
14172 |
> |
s/.\{148\}/&'"$ac_delim"'/g |
14173 |
> |
t rset |
14174 |
> |
:rset |
14175 |
> |
s/^[ ]*#[ ]*define[ ][ ]*/ / |
14176 |
> |
t def |
14177 |
> |
d |
14178 |
> |
:def |
14179 |
> |
s/\\$// |
14180 |
> |
t bsnl |
14181 |
> |
s/["\\]/\\&/g |
14182 |
> |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
14183 |
> |
D["\1"]=" \3"/p |
14184 |
> |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
14185 |
> |
d |
14186 |
> |
:bsnl |
14187 |
> |
s/["\\]/\\&/g |
14188 |
> |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
14189 |
> |
D["\1"]=" \3\\\\\\n"\\/p |
14190 |
> |
t cont |
14191 |
> |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
14192 |
> |
t cont |
14193 |
> |
d |
14194 |
> |
:cont |
14195 |
> |
n |
14196 |
> |
s/.\{148\}/&'"$ac_delim"'/g |
14197 |
> |
t clear |
14198 |
> |
:clear |
14199 |
> |
s/\\$// |
14200 |
> |
t bsnlc |
14201 |
> |
s/["\\]/\\&/g; s/^/"/; s/$/"/p |
14202 |
> |
d |
14203 |
> |
:bsnlc |
14204 |
> |
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
14205 |
> |
b cont |
14206 |
> |
' <confdefs.h | sed ' |
14207 |
> |
s/'"$ac_delim"'/"\\\ |
14208 |
> |
"/g' >>$CONFIG_STATUS || ac_write_fail=1 |
14209 |
> |
|
14210 |
> |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
14211 |
> |
for (key in D) D_is_set[key] = 1 |
14212 |
> |
FS = "" |
14213 |
> |
} |
14214 |
> |
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
14215 |
> |
line = \$ 0 |
14216 |
> |
split(line, arg, " ") |
14217 |
> |
if (arg[1] == "#") { |
14218 |
> |
defundef = arg[2] |
14219 |
> |
mac1 = arg[3] |
14220 |
> |
} else { |
14221 |
> |
defundef = substr(arg[1], 2) |
14222 |
> |
mac1 = arg[2] |
14223 |
> |
} |
14224 |
> |
split(mac1, mac2, "(") #) |
14225 |
> |
macro = mac2[1] |
14226 |
> |
if (D_is_set[macro]) { |
14227 |
> |
# Preserve the white space surrounding the "#". |
14228 |
> |
prefix = substr(line, 1, index(line, defundef) - 1) |
14229 |
> |
print prefix "define", macro P[macro] D[macro] |
14230 |
> |
next |
14231 |
> |
} else { |
14232 |
> |
# Replace #undef with comments. This is necessary, for example, |
14233 |
> |
# in the case of _POSIX_SOURCE, which is predefined and required |
14234 |
> |
# on some systems where configure will not decide to define it. |
14235 |
> |
if (defundef == "undef") { |
14236 |
> |
print "/*", line, "*/" |
14237 |
> |
next |
14238 |
> |
} |
14239 |
> |
} |
14240 |
> |
} |
14241 |
> |
{ print } |
14242 |
> |
_ACAWK |
14243 |
> |
_ACEOF |
14244 |
> |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
14245 |
> |
{ { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 |
14246 |
> |
$as_echo "$as_me: error: could not setup config headers machinery" >&2;} |
14247 |
> |
{ (exit 1); exit 1; }; } |
14248 |
> |
fi # test -n "$CONFIG_HEADERS" |
14249 |
> |
|
14250 |
> |
|
14251 |
> |
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " |
14252 |
> |
shift |
14253 |
> |
for ac_tag |
14254 |
|
do |
14255 |
|
case $ac_tag in |
14256 |
|
:[FHLC]) ac_mode=$ac_tag; continue;; |
14257 |
|
esac |
14258 |
|
case $ac_mode$ac_tag in |
14259 |
|
:[FHL]*:*);; |
14260 |
< |
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 |
14261 |
< |
echo "$as_me: error: Invalid tag $ac_tag." >&2;} |
14260 |
> |
:L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 |
14261 |
> |
$as_echo "$as_me: error: Invalid tag $ac_tag." >&2;} |
14262 |
|
{ (exit 1); exit 1; }; };; |
14263 |
|
:[FH]-) ac_tag=-:-;; |
14264 |
|
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
14287 |
|
[\\/$]*) false;; |
14288 |
|
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
14289 |
|
esac || |
14290 |
< |
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
14291 |
< |
echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
14290 |
> |
{ { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
14291 |
> |
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
14292 |
|
{ (exit 1); exit 1; }; };; |
14293 |
|
esac |
14294 |
< |
ac_file_inputs="$ac_file_inputs $ac_f" |
14294 |
> |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
14295 |
> |
ac_file_inputs="$ac_file_inputs '$ac_f'" |
14296 |
|
done |
14297 |
|
|
14298 |
|
# Let's still pretend it is `configure' which instantiates (i.e., don't |
14299 |
|
# use $as_me), people would be surprised to read: |
14300 |
|
# /* config.h. Generated by config.status. */ |
14301 |
< |
configure_input="Generated from "`IFS=: |
14302 |
< |
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." |
14301 |
> |
configure_input='Generated from '` |
14302 |
> |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
14303 |
> |
`' by configure.' |
14304 |
|
if test x"$ac_file" != x-; then |
14305 |
|
configure_input="$ac_file. $configure_input" |
14306 |
< |
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
14307 |
< |
echo "$as_me: creating $ac_file" >&6;} |
14306 |
> |
{ $as_echo "$as_me:$LINENO: creating $ac_file" >&5 |
14307 |
> |
$as_echo "$as_me: creating $ac_file" >&6;} |
14308 |
|
fi |
14309 |
+ |
# Neutralize special characters interpreted by sed in replacement strings. |
14310 |
+ |
case $configure_input in #( |
14311 |
+ |
*\&* | *\|* | *\\* ) |
14312 |
+ |
ac_sed_conf_input=`$as_echo "$configure_input" | |
14313 |
+ |
sed 's/[\\\\&|]/\\\\&/g'`;; #( |
14314 |
+ |
*) ac_sed_conf_input=$configure_input;; |
14315 |
+ |
esac |
14316 |
|
|
14317 |
|
case $ac_tag in |
14318 |
< |
*:-:* | *:-) cat >"$tmp/stdin";; |
14318 |
> |
*:-:* | *:-) cat >"$tmp/stdin" \ |
14319 |
> |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
14320 |
> |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
14321 |
> |
{ (exit 1); exit 1; }; } ;; |
14322 |
|
esac |
14323 |
|
;; |
14324 |
|
esac |
14328 |
|
X"$ac_file" : 'X\(//\)[^/]' \| \ |
14329 |
|
X"$ac_file" : 'X\(//\)$' \| \ |
14330 |
|
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
14331 |
< |
echo X"$ac_file" | |
14331 |
> |
$as_echo X"$ac_file" | |
14332 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
14333 |
|
s//\1/ |
14334 |
|
q |
14354 |
|
as_dirs= |
14355 |
|
while :; do |
14356 |
|
case $as_dir in #( |
14357 |
< |
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
14357 |
> |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
14358 |
|
*) as_qdir=$as_dir;; |
14359 |
|
esac |
14360 |
|
as_dirs="'$as_qdir' $as_dirs" |
14363 |
|
X"$as_dir" : 'X\(//\)[^/]' \| \ |
14364 |
|
X"$as_dir" : 'X\(//\)$' \| \ |
14365 |
|
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
14366 |
< |
echo X"$as_dir" | |
14366 |
> |
$as_echo X"$as_dir" | |
14367 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
14368 |
|
s//\1/ |
14369 |
|
q |
14384 |
|
test -d "$as_dir" && break |
14385 |
|
done |
14386 |
|
test -z "$as_dirs" || eval "mkdir $as_dirs" |
14387 |
< |
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
14388 |
< |
echo "$as_me: error: cannot create directory $as_dir" >&2;} |
14387 |
> |
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
14388 |
> |
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} |
14389 |
|
{ (exit 1); exit 1; }; }; } |
14390 |
|
ac_builddir=. |
14391 |
|
|
14392 |
|
case "$ac_dir" in |
14393 |
|
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
14394 |
|
*) |
14395 |
< |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
14395 |
> |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
14396 |
|
# A ".." for each directory in $ac_dir_suffix. |
14397 |
< |
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
14397 |
> |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
14398 |
|
case $ac_top_builddir_sub in |
14399 |
|
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
14400 |
|
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
14434 |
|
esac |
14435 |
|
_ACEOF |
14436 |
|
|
14437 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
14437 |
> |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
14438 |
|
# If the template does not know about datarootdir, expand it. |
14439 |
|
# FIXME: This hack should be removed a few years after 2.60. |
14440 |
|
ac_datarootdir_hack=; ac_datarootdir_seen= |
14441 |
|
|
14442 |
< |
case `sed -n '/datarootdir/ { |
14442 |
> |
ac_sed_dataroot=' |
14443 |
> |
/datarootdir/ { |
14444 |
|
p |
14445 |
|
q |
14446 |
|
} |
14449 |
|
/@infodir@/p |
14450 |
|
/@localedir@/p |
14451 |
|
/@mandir@/p |
14452 |
< |
' $ac_file_inputs` in |
14452 |
> |
' |
14453 |
> |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
14454 |
|
*datarootdir*) ac_datarootdir_seen=yes;; |
14455 |
|
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
14456 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
14457 |
< |
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
14456 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
14457 |
> |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
14458 |
|
_ACEOF |
14459 |
< |
cat >>$CONFIG_STATUS <<_ACEOF |
14459 |
> |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
14460 |
|
ac_datarootdir_hack=' |
14461 |
|
s&@datadir@&$datadir&g |
14462 |
|
s&@docdir@&$docdir&g |
14470 |
|
# Neutralize VPATH when `$srcdir' = `.'. |
14471 |
|
# Shell code in configure.ac might set extrasub. |
14472 |
|
# FIXME: do we really want to maintain this feature? |
14473 |
< |
cat >>$CONFIG_STATUS <<_ACEOF |
14474 |
< |
sed "$ac_vpsub |
14473 |
> |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
14474 |
> |
ac_sed_extra="$ac_vpsub |
14475 |
|
$extrasub |
14476 |
|
_ACEOF |
14477 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
14477 |
> |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
14478 |
|
:t |
14479 |
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
14480 |
< |
s&@configure_input@&$configure_input&;t t |
14480 |
> |
s|@configure_input@|$ac_sed_conf_input|;t t |
14481 |
|
s&@top_builddir@&$ac_top_builddir_sub&;t t |
14482 |
+ |
s&@top_build_prefix@&$ac_top_build_prefix&;t t |
14483 |
|
s&@srcdir@&$ac_srcdir&;t t |
14484 |
|
s&@abs_srcdir@&$ac_abs_srcdir&;t t |
14485 |
|
s&@top_srcdir@&$ac_top_srcdir&;t t |
14489 |
|
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
14490 |
|
s&@INSTALL@&$ac_INSTALL&;t t |
14491 |
|
$ac_datarootdir_hack |
14492 |
< |
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out |
14492 |
> |
" |
14493 |
> |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
14494 |
> |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
14495 |
> |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
14496 |
> |
{ (exit 1); exit 1; }; } |
14497 |
|
|
14498 |
|
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
14499 |
|
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
14500 |
|
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
14501 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
14501 |
> |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
14502 |
|
which seems to be undefined. Please make sure it is defined." >&5 |
14503 |
< |
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
14503 |
> |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
14504 |
|
which seems to be undefined. Please make sure it is defined." >&2;} |
14505 |
|
|
14506 |
|
rm -f "$tmp/stdin" |
14507 |
|
case $ac_file in |
14508 |
< |
-) cat "$tmp/out"; rm -f "$tmp/out";; |
14509 |
< |
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; |
14510 |
< |
esac |
14508 |
> |
-) cat "$tmp/out" && rm -f "$tmp/out";; |
14509 |
> |
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
14510 |
> |
esac \ |
14511 |
> |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
14512 |
> |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
14513 |
> |
{ (exit 1); exit 1; }; } |
14514 |
|
;; |
14515 |
|
:H) |
14516 |
|
# |
14517 |
|
# CONFIG_HEADER |
14518 |
|
# |
14519 |
< |
_ACEOF |
14520 |
< |
|
14521 |
< |
# Transform confdefs.h into a sed script `conftest.defines', that |
14522 |
< |
# substitutes the proper values into config.h.in to produce config.h. |
14523 |
< |
rm -f conftest.defines conftest.tail |
14524 |
< |
# First, append a space to every undef/define line, to ease matching. |
14525 |
< |
echo 's/$/ /' >conftest.defines |
14526 |
< |
# Then, protect against being on the right side of a sed subst, or in |
14527 |
< |
# an unquoted here document, in config.status. If some macros were |
14528 |
< |
# called several times there might be several #defines for the same |
14529 |
< |
# symbol, which is useless. But do not sort them, since the last |
17979 |
< |
# AC_DEFINE must be honored. |
17980 |
< |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
17981 |
< |
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where |
17982 |
< |
# NAME is the cpp macro being defined, VALUE is the value it is being given. |
17983 |
< |
# PARAMS is the parameter list in the macro definition--in most cases, it's |
17984 |
< |
# just an empty string. |
17985 |
< |
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' |
17986 |
< |
ac_dB='\\)[ (].*,\\1define\\2' |
17987 |
< |
ac_dC=' ' |
17988 |
< |
ac_dD=' ,' |
17989 |
< |
|
17990 |
< |
uniq confdefs.h | |
17991 |
< |
sed -n ' |
17992 |
< |
t rset |
17993 |
< |
:rset |
17994 |
< |
s/^[ ]*#[ ]*define[ ][ ]*// |
17995 |
< |
t ok |
17996 |
< |
d |
17997 |
< |
:ok |
17998 |
< |
s/[\\&,]/\\&/g |
17999 |
< |
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p |
18000 |
< |
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p |
18001 |
< |
' >>conftest.defines |
18002 |
< |
|
18003 |
< |
# Remove the space that was appended to ease matching. |
18004 |
< |
# Then replace #undef with comments. This is necessary, for |
18005 |
< |
# example, in the case of _POSIX_SOURCE, which is predefined and required |
18006 |
< |
# on some systems where configure will not decide to define it. |
18007 |
< |
# (The regexp can be short, since the line contains either #define or #undef.) |
18008 |
< |
echo 's/ $// |
18009 |
< |
s,^[ #]*u.*,/* & */,' >>conftest.defines |
18010 |
< |
|
18011 |
< |
# Break up conftest.defines: |
18012 |
< |
ac_max_sed_lines=50 |
18013 |
< |
|
18014 |
< |
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" |
18015 |
< |
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" |
18016 |
< |
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" |
18017 |
< |
# et cetera. |
18018 |
< |
ac_in='$ac_file_inputs' |
18019 |
< |
ac_out='"$tmp/out1"' |
18020 |
< |
ac_nxt='"$tmp/out2"' |
18021 |
< |
|
18022 |
< |
while : |
18023 |
< |
do |
18024 |
< |
# Write a here document: |
18025 |
< |
cat >>$CONFIG_STATUS <<_ACEOF |
18026 |
< |
# First, check the format of the line: |
18027 |
< |
cat >"\$tmp/defines.sed" <<\\CEOF |
18028 |
< |
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def |
18029 |
< |
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def |
18030 |
< |
b |
18031 |
< |
:def |
18032 |
< |
_ACEOF |
18033 |
< |
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS |
18034 |
< |
echo 'CEOF |
18035 |
< |
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS |
18036 |
< |
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in |
18037 |
< |
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail |
18038 |
< |
grep . conftest.tail >/dev/null || break |
18039 |
< |
rm -f conftest.defines |
18040 |
< |
mv conftest.tail conftest.defines |
18041 |
< |
done |
18042 |
< |
rm -f conftest.defines conftest.tail |
18043 |
< |
|
18044 |
< |
echo "ac_result=$ac_in" >>$CONFIG_STATUS |
18045 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
18046 |
< |
if test x"$ac_file" != x-; then |
18047 |
< |
echo "/* $configure_input */" >"$tmp/config.h" |
18048 |
< |
cat "$ac_result" >>"$tmp/config.h" |
18049 |
< |
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then |
18050 |
< |
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
18051 |
< |
echo "$as_me: $ac_file is unchanged" >&6;} |
14519 |
> |
if test x"$ac_file" != x-; then |
14520 |
> |
{ |
14521 |
> |
$as_echo "/* $configure_input */" \ |
14522 |
> |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
14523 |
> |
} >"$tmp/config.h" \ |
14524 |
> |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
14525 |
> |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
14526 |
> |
{ (exit 1); exit 1; }; } |
14527 |
> |
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
14528 |
> |
{ $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
14529 |
> |
$as_echo "$as_me: $ac_file is unchanged" >&6;} |
14530 |
|
else |
14531 |
< |
rm -f $ac_file |
14532 |
< |
mv "$tmp/config.h" $ac_file |
14531 |
> |
rm -f "$ac_file" |
14532 |
> |
mv "$tmp/config.h" "$ac_file" \ |
14533 |
> |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
14534 |
> |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
14535 |
> |
{ (exit 1); exit 1; }; } |
14536 |
|
fi |
14537 |
|
else |
14538 |
< |
echo "/* $configure_input */" |
14539 |
< |
cat "$ac_result" |
14538 |
> |
$as_echo "/* $configure_input */" \ |
14539 |
> |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
14540 |
> |
|| { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 |
14541 |
> |
$as_echo "$as_me: error: could not create -" >&2;} |
14542 |
> |
{ (exit 1); exit 1; }; } |
14543 |
|
fi |
18060 |
– |
rm -f "$tmp/out12" |
14544 |
|
;; |
18062 |
– |
:L) |
18063 |
– |
# |
18064 |
– |
# CONFIG_LINK |
18065 |
– |
# |
14545 |
|
|
18067 |
– |
{ echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_file" >&5 |
18068 |
– |
echo "$as_me: linking $srcdir/$ac_source to $ac_file" >&6;} |
14546 |
|
|
18070 |
– |
if test ! -r "$srcdir/$ac_source"; then |
18071 |
– |
{ { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5 |
18072 |
– |
echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;} |
18073 |
– |
{ (exit 1); exit 1; }; } |
18074 |
– |
fi |
18075 |
– |
rm -f "$ac_file" |
18076 |
– |
|
18077 |
– |
# Try a relative symlink, then a hard link, then a copy. |
18078 |
– |
case $srcdir in |
18079 |
– |
[\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;; |
18080 |
– |
*) ac_rel_source=$ac_top_build_prefix$srcdir/$ac_source ;; |
14547 |
|
esac |
18082 |
– |
ln -s "$ac_rel_source" "$ac_file" 2>/dev/null || |
18083 |
– |
ln "$srcdir/$ac_source" "$ac_file" 2>/dev/null || |
18084 |
– |
cp -p "$srcdir/$ac_source" "$ac_file" || |
18085 |
– |
{ { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_file" >&5 |
18086 |
– |
echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_file" >&2;} |
18087 |
– |
{ (exit 1); exit 1; }; } |
18088 |
– |
;; |
14548 |
|
|
18090 |
– |
esac |
14549 |
|
|
18092 |
– |
|
14550 |
|
case $ac_file$ac_mode in |
14551 |
|
"make/Makefile":F) chmod 0755 scripts/* ;; |
14552 |
|
"src/utils/Makefile":F) chmod 0755 scripts/* ;; |
14553 |
|
"src/math/Makefile":F) chmod 0755 scripts/* ;; |
14554 |
+ |
"src/integrators/Makefile":F) chmod 0755 scripts/* ;; |
14555 |
|
"src/applications/atom2md/Makefile":F) chmod 0755 scripts/* ;; |
14556 |
|
"scripts/filepp":F) chmod 0755 scripts/* ;; |
14557 |
|
|
14564 |
|
chmod +x $CONFIG_STATUS |
14565 |
|
ac_clean_files=$ac_clean_files_save |
14566 |
|
|
14567 |
+ |
test $ac_write_fail = 0 || |
14568 |
+ |
{ { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 |
14569 |
+ |
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} |
14570 |
+ |
{ (exit 1); exit 1; }; } |
14571 |
|
|
14572 |
+ |
|
14573 |
|
# configure is writing to config.log, and then calls config.status. |
14574 |
|
# config.status does its own redirection, appending to config.log. |
14575 |
|
# Unfortunately, on DOS this fails, as config.log is still kept open |
14590 |
|
# would make configure fail if this is the last instruction. |
14591 |
|
$ac_cs_success || { (exit 1); exit 1; } |
14592 |
|
fi |
14593 |
+ |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
14594 |
+ |
{ $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5 |
14595 |
+ |
$as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;} |
14596 |
+ |
fi |
14597 |
|
|