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 |
686 |
|
PROGNAME |
687 |
|
debug |
688 |
|
USE_SINGLE_PRECISION |
689 |
+ |
ac_cc_set |
690 |
+ |
ac_cc_path |
691 |
+ |
ac_cxx_set |
692 |
+ |
ac_cxx_path |
693 |
+ |
ac_fc_set |
694 |
+ |
ac_fc_path |
695 |
+ |
acx_mpi_mpicc |
696 |
+ |
acx_mpi_mpicc_path |
697 |
+ |
acx_mpi_mpif90 |
698 |
+ |
acx_mpi_mpif90_path |
699 |
+ |
acx_mpi_mpicxx |
700 |
+ |
acx_mpi_mpicxx_path |
701 |
+ |
MPI_CPPFLAGS |
702 |
+ |
MPI_LIBS |
703 |
+ |
MPI90_LIBS |
704 |
+ |
USE_MPI |
705 |
|
CXX |
706 |
|
CXXFLAGS |
707 |
|
LDFLAGS |
721 |
|
LN_S |
722 |
|
SET_MAKE |
723 |
|
RANLIB |
686 |
– |
YACC |
687 |
– |
YFLAGS |
688 |
– |
LEX |
689 |
– |
LEX_OUTPUT_ROOT |
690 |
– |
LEXLIB |
724 |
|
PERLINTERP |
725 |
|
PERL_SHEBANG |
726 |
|
INSTALL_PROGRAM |
756 |
|
USE_OPENBABEL |
757 |
|
LIBOBJS |
758 |
|
POW_LIB |
726 |
– |
__func__ |
727 |
– |
MPI_LIB_DIR |
728 |
– |
MPI_INC_DIR |
729 |
– |
MPI_F90_INC |
730 |
– |
MPI_LIB |
731 |
– |
MPI_F90_LIB |
732 |
– |
USE_MPI |
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 |
766 |
– |
YACC |
767 |
– |
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 |
1445 |
|
Optional Packages: |
1446 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1447 |
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1448 |
+ |
--with-mpi=auto|mpich|lam|openmpi|no |
1449 |
+ |
Indicates which kind of MPI implementation to use |
1450 |
+ |
[default=auto] |
1451 |
|
--with-perl-shebang override what perl thinks is the way for the kernel |
1452 |
|
to start it (seldom needed) |
1453 |
|
--with-zlib=DIR root directory path of zlib installation (defaults |
1459 |
|
--with-openbabel=DIR root directory path of openbabel-2.x installation |
1460 |
|
(defaults to /usr/local or /usr if not found in |
1461 |
|
/usr/local) |
1366 |
– |
--with-mpi=<prefix> compile with MPI installed in <prefix> [default=no] |
1462 |
|
--with-cgalmakefile=makefile |
1463 |
|
Use the following CGAL makefile |
1464 |
|
|
1475 |
|
FC Fortran compiler command |
1476 |
|
FCFLAGS Fortran compiler flags |
1477 |
|
CPP C preprocessor |
1383 |
– |
YACC The `Yet Another C Compiler' implementation to use. Defaults to |
1384 |
– |
the first program found out of: `bison -y', `byacc', `yacc'. |
1385 |
– |
YFLAGS The list of arguments that will be passed by default to $YACC. |
1386 |
– |
This script will default YFLAGS to the empty string to avoid a |
1387 |
– |
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 |
1714 |
< |
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 |
|
|
2106 |
|
|
2107 |
|
|
2108 |
|
|
2109 |
+ |
# ACX_MPI_GET_PROG |
2110 |
|
|
2111 |
+ |
# ACX_DETECT_MPI_IMPLEMENTATION |
2112 |
|
|
2113 |
|
|
2114 |
|
|
2115 |
|
|
2116 |
|
|
2117 |
+ |
# ACX_MPI |
2118 |
|
|
2119 |
|
|
2120 |
|
|
2131 |
|
|
2132 |
|
|
2133 |
|
|
2134 |
+ |
|
2135 |
+ |
|
2136 |
+ |
|
2137 |
+ |
|
2138 |
+ |
|
2139 |
+ |
|
2140 |
+ |
|
2141 |
+ |
|
2142 |
+ |
|
2143 |
+ |
|
2144 |
+ |
|
2145 |
|
# This is taken from http://autoqt.sourceforge.net/ |
2146 |
|
# Copyright (c) 2002, Geoffrey Wossum |
2147 |
|
# All rights reserved. |
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 |
2329 |
|
|
2330 |
|
fi |
2331 |
|
|
2332 |
< |
# Checks for programs. |
2333 |
< |
ac_ext=cpp |
2334 |
< |
ac_cpp='$CXXCPP $CPPFLAGS' |
2335 |
< |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2336 |
< |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2337 |
< |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
2338 |
< |
if test -z "$CXX"; then |
2339 |
< |
if test -n "$CCC"; then |
2340 |
< |
CXX=$CCC |
2222 |
< |
else |
2223 |
< |
if test -n "$ac_tool_prefix"; then |
2224 |
< |
for ac_prog in mpicxx icpc pathCC pgCC c++ xlc++ xlC g++ CC |
2225 |
< |
do |
2226 |
< |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2227 |
< |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2228 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2229 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2230 |
< |
if test "${ac_cv_prog_CXX+set}" = set; then |
2231 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2332 |
> |
if test x"$CC" != x; then |
2333 |
> |
for ac_prog in $CC |
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 |
> |
{ $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 |
> |
$as_echo_n "(cached) " >&6 |
2341 |
|
else |
2342 |
< |
if test -n "$CXX"; then |
2343 |
< |
ac_cv_prog_CXX="$CXX" # Let the user override the test. |
2342 |
> |
if test -n "$ac_cc_set"; then |
2343 |
> |
ac_cv_prog_ac_cc_set="$ac_cc_set" # Let the user override the test. |
2344 |
|
else |
2345 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2346 |
|
for as_dir in $PATH |
2349 |
|
test -z "$as_dir" && as_dir=. |
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_CXX="$ac_tool_prefix$ac_prog" |
2353 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2352 |
> |
ac_cv_prog_ac_cc_set="$ac_prog" |
2353 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2354 |
|
break 2 |
2355 |
|
fi |
2356 |
|
done |
2359 |
|
|
2360 |
|
fi |
2361 |
|
fi |
2362 |
< |
CXX=$ac_cv_prog_CXX |
2363 |
< |
if test -n "$CXX"; then |
2364 |
< |
{ echo "$as_me:$LINENO: result: $CXX" >&5 |
2365 |
< |
echo "${ECHO_T}$CXX" >&6; } |
2362 |
> |
ac_cc_set=$ac_cv_prog_ac_cc_set |
2363 |
> |
if test -n "$ac_cc_set"; then |
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 |
|
|
2372 |
< |
test -n "$CXX" && break |
2373 |
< |
done |
2372 |
> |
test -n "$ac_cc_set" && break |
2373 |
> |
done |
2374 |
> |
test -n "$ac_cc_set" || ac_cc_set="no" |
2375 |
> |
|
2376 |
> |
if test $ac_cc_set != no; then |
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 |
> |
{ $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 |
> |
$as_echo_n "(cached) " >&6 |
2384 |
> |
else |
2385 |
> |
case $ac_cc_path in |
2386 |
> |
[\\/]* | ?:[\\/]*) |
2387 |
> |
ac_cv_path_ac_cc_path="$ac_cc_path" # Let the user override the test with a path. |
2388 |
> |
;; |
2389 |
> |
*) |
2390 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2391 |
> |
for as_dir in $PATH |
2392 |
> |
do |
2393 |
> |
IFS=$as_save_IFS |
2394 |
> |
test -z "$as_dir" && as_dir=. |
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 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2399 |
> |
break 2 |
2400 |
> |
fi |
2401 |
> |
done |
2402 |
> |
done |
2403 |
> |
IFS=$as_save_IFS |
2404 |
> |
|
2405 |
> |
test -z "$ac_cv_path_ac_cc_path" && ac_cv_path_ac_cc_path="no" |
2406 |
> |
;; |
2407 |
> |
esac |
2408 |
|
fi |
2409 |
< |
if test -z "$CXX"; then |
2410 |
< |
ac_ct_CXX=$CXX |
2411 |
< |
for ac_prog in mpicxx icpc pathCC pgCC c++ xlc++ xlC g++ CC |
2409 |
> |
ac_cc_path=$ac_cv_path_ac_cc_path |
2410 |
> |
if test -n "$ac_cc_path"; then |
2411 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cc_path" >&5 |
2412 |
> |
$as_echo "$ac_cc_path" >&6; } |
2413 |
> |
else |
2414 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2415 |
> |
$as_echo "no" >&6; } |
2416 |
> |
fi |
2417 |
> |
|
2418 |
> |
|
2419 |
> |
else |
2420 |
> |
|
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 |
> |
{ $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 |
> |
{ { $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 |
> |
|
2438 |
> |
fi |
2439 |
> |
|
2440 |
> |
if test x"$CXX" != x; then |
2441 |
> |
for ac_prog in $CXX |
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; } |
2447 |
< |
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
2448 |
< |
echo $ECHO_N "(cached) $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 |
> |
$as_echo_n "(cached) " >&6 |
2449 |
|
else |
2450 |
< |
if test -n "$ac_ct_CXX"; then |
2451 |
< |
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
2450 |
> |
if test -n "$ac_cxx_set"; then |
2451 |
> |
ac_cv_prog_ac_cxx_set="$ac_cxx_set" # Let the user override the test. |
2452 |
|
else |
2453 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2454 |
|
for as_dir in $PATH |
2457 |
|
test -z "$as_dir" && as_dir=. |
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_ct_CXX="$ac_prog" |
2461 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2460 |
> |
ac_cv_prog_ac_cxx_set="$ac_prog" |
2461 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2462 |
|
break 2 |
2463 |
|
fi |
2464 |
|
done |
2467 |
|
|
2468 |
|
fi |
2469 |
|
fi |
2470 |
< |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
2471 |
< |
if test -n "$ac_ct_CXX"; then |
2472 |
< |
{ echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
2473 |
< |
echo "${ECHO_T}$ac_ct_CXX" >&6; } |
2470 |
> |
ac_cxx_set=$ac_cv_prog_ac_cxx_set |
2471 |
> |
if test -n "$ac_cxx_set"; then |
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 |
|
|
2480 |
< |
test -n "$ac_ct_CXX" && break |
2480 |
> |
test -n "$ac_cxx_set" && break |
2481 |
|
done |
2482 |
+ |
test -n "$ac_cxx_set" || ac_cxx_set="no" |
2483 |
|
|
2484 |
< |
if test "x$ac_ct_CXX" = x; then |
2485 |
< |
CXX="g++" |
2486 |
< |
else |
2487 |
< |
case $cross_compiling:$ac_tool_warned in |
2488 |
< |
yes:) |
2489 |
< |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
2490 |
< |
whose name does not start with the host triplet. If you think this |
2491 |
< |
configuration is useful to you, please write to autoconf@gnu.org." >&5 |
2492 |
< |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
2493 |
< |
whose name does not start with the host triplet. If you think this |
2494 |
< |
configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
2495 |
< |
ac_tool_warned=yes ;; |
2496 |
< |
esac |
2497 |
< |
CXX=$ac_ct_CXX |
2484 |
> |
if test $ac_cxx_set != no; then |
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 |
> |
{ $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 |
> |
$as_echo_n "(cached) " >&6 |
2492 |
> |
else |
2493 |
> |
case $ac_cxx_path in |
2494 |
> |
[\\/]* | ?:[\\/]*) |
2495 |
> |
ac_cv_path_ac_cxx_path="$ac_cxx_path" # Let the user override the test with a path. |
2496 |
> |
;; |
2497 |
> |
*) |
2498 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2499 |
> |
for as_dir in $PATH |
2500 |
> |
do |
2501 |
> |
IFS=$as_save_IFS |
2502 |
> |
test -z "$as_dir" && as_dir=. |
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 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2507 |
> |
break 2 |
2508 |
|
fi |
2509 |
+ |
done |
2510 |
+ |
done |
2511 |
+ |
IFS=$as_save_IFS |
2512 |
+ |
|
2513 |
+ |
test -z "$ac_cv_path_ac_cxx_path" && ac_cv_path_ac_cxx_path="no" |
2514 |
+ |
;; |
2515 |
+ |
esac |
2516 |
|
fi |
2517 |
+ |
ac_cxx_path=$ac_cv_path_ac_cxx_path |
2518 |
+ |
if test -n "$ac_cxx_path"; then |
2519 |
+ |
{ $as_echo "$as_me:$LINENO: result: $ac_cxx_path" >&5 |
2520 |
+ |
$as_echo "$ac_cxx_path" >&6; } |
2521 |
+ |
else |
2522 |
+ |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2523 |
+ |
$as_echo "no" >&6; } |
2524 |
+ |
fi |
2525 |
|
|
2526 |
< |
fi |
2526 |
> |
|
2527 |
> |
else |
2528 |
> |
|
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 |
2329 |
– |
# Provide some information about the compiler. |
2330 |
– |
echo "$as_me:$LINENO: checking for C++ compiler version" >&5 |
2331 |
– |
ac_compiler=`set X $ac_compile; echo $2` |
2332 |
– |
{ (ac_try="$ac_compiler --version >&5" |
2333 |
– |
case "(($ac_try" in |
2334 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2335 |
– |
*) ac_try_echo=$ac_try;; |
2336 |
– |
esac |
2337 |
– |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2338 |
– |
(eval "$ac_compiler --version >&5") 2>&5 |
2339 |
– |
ac_status=$? |
2340 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2341 |
– |
(exit $ac_status); } |
2342 |
– |
{ (ac_try="$ac_compiler -v >&5" |
2343 |
– |
case "(($ac_try" in |
2344 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2345 |
– |
*) ac_try_echo=$ac_try;; |
2346 |
– |
esac |
2347 |
– |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2348 |
– |
(eval "$ac_compiler -v >&5") 2>&5 |
2349 |
– |
ac_status=$? |
2350 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2351 |
– |
(exit $ac_status); } |
2352 |
– |
{ (ac_try="$ac_compiler -V >&5" |
2353 |
– |
case "(($ac_try" in |
2354 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2355 |
– |
*) ac_try_echo=$ac_try;; |
2356 |
– |
esac |
2357 |
– |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2358 |
– |
(eval "$ac_compiler -V >&5") 2>&5 |
2359 |
– |
ac_status=$? |
2360 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2361 |
– |
(exit $ac_status); } |
2533 |
|
|
2363 |
– |
cat >conftest.$ac_ext <<_ACEOF |
2364 |
– |
/* confdefs.h. */ |
2365 |
– |
_ACEOF |
2366 |
– |
cat confdefs.h >>conftest.$ac_ext |
2367 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
2368 |
– |
/* end confdefs.h. */ |
2534 |
|
|
2535 |
< |
int |
2371 |
< |
main () |
2372 |
< |
{ |
2535 |
> |
if test $ac_cxx_path != no; then |
2536 |
|
|
2537 |
< |
; |
2538 |
< |
return 0; |
2539 |
< |
} |
2377 |
< |
_ACEOF |
2378 |
< |
ac_clean_files_save=$ac_clean_files |
2379 |
< |
ac_clean_files="$ac_clean_files a.out a.exe b.out" |
2380 |
< |
# Try to create an executable without -o first, disregard a.out. |
2381 |
< |
# It will help us diagnose broken compilers, and finding out an intuition |
2382 |
< |
# of exeext. |
2383 |
< |
{ echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 |
2384 |
< |
echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; } |
2385 |
< |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2386 |
< |
# |
2387 |
< |
# List of possible output files, starting from the most likely. |
2388 |
< |
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) |
2389 |
< |
# only as a last resort. b.out is created by i960 compilers. |
2390 |
< |
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' |
2391 |
< |
# |
2392 |
< |
# The IRIX 6 linker writes into existing files which may not be |
2393 |
< |
# executable, retaining their permissions. Remove them first so a |
2394 |
< |
# subsequent execution test works. |
2395 |
< |
ac_rmfiles= |
2396 |
< |
for ac_file in $ac_files |
2397 |
< |
do |
2398 |
< |
case $ac_file in |
2399 |
< |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
2400 |
< |
* ) ac_rmfiles="$ac_rmfiles $ac_file";; |
2401 |
< |
esac |
2402 |
< |
done |
2403 |
< |
rm -f $ac_rmfiles |
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 |
< |
if { (ac_try="$ac_link_default" |
2542 |
< |
case "(($ac_try" in |
2543 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2544 |
< |
*) ac_try_echo=$ac_try;; |
2545 |
< |
esac |
2546 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2547 |
< |
(eval "$ac_link_default") 2>&5 |
2548 |
< |
ac_status=$? |
2549 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2414 |
< |
(exit $ac_status); }; then |
2415 |
< |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
2416 |
< |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
2417 |
< |
# in a Makefile. We should not override ac_cv_exeext if it was cached, |
2418 |
< |
# so that the user can short-circuit this test for compilers unknown to |
2419 |
< |
# Autoconf. |
2420 |
< |
for ac_file in $ac_files '' |
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 |
> |
|
2546 |
> |
fi |
2547 |
> |
|
2548 |
> |
if test x"$FC" != x; then |
2549 |
> |
for ac_prog in $FC |
2550 |
|
do |
2551 |
< |
test -f "$ac_file" || continue |
2552 |
< |
case $ac_file in |
2553 |
< |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) |
2554 |
< |
;; |
2555 |
< |
[ab].out ) |
2556 |
< |
# We found the default executable, but exeext='' is most |
2557 |
< |
# certainly right. |
2558 |
< |
break;; |
2559 |
< |
*.* ) |
2560 |
< |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
2561 |
< |
then :; else |
2562 |
< |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2563 |
< |
fi |
2564 |
< |
# We set ac_cv_exeext here because the later test for it is not |
2565 |
< |
# safe: cross compilers may not add the suffix if given an `-o' |
2566 |
< |
# argument, so we may need to know it at that point already. |
2567 |
< |
# Even if this section looks crufty: it has the advantage of |
2568 |
< |
# actually working. |
2569 |
< |
break;; |
2570 |
< |
* ) |
2571 |
< |
break;; |
2443 |
< |
esac |
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 |
> |
{ $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 |
> |
$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. |
2560 |
> |
else |
2561 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2562 |
> |
for as_dir in $PATH |
2563 |
> |
do |
2564 |
> |
IFS=$as_save_IFS |
2565 |
> |
test -z "$as_dir" && as_dir=. |
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 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2570 |
> |
break 2 |
2571 |
> |
fi |
2572 |
|
done |
2573 |
< |
test "$ac_cv_exeext" = no && ac_cv_exeext= |
2573 |
> |
done |
2574 |
> |
IFS=$as_save_IFS |
2575 |
|
|
2576 |
+ |
fi |
2577 |
+ |
fi |
2578 |
+ |
ac_fc_set=$ac_cv_prog_ac_fc_set |
2579 |
+ |
if test -n "$ac_fc_set"; then |
2580 |
+ |
{ $as_echo "$as_me:$LINENO: result: $ac_fc_set" >&5 |
2581 |
+ |
$as_echo "$ac_fc_set" >&6; } |
2582 |
|
else |
2583 |
< |
ac_file='' |
2583 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2584 |
> |
$as_echo "no" >&6; } |
2585 |
|
fi |
2586 |
|
|
2451 |
– |
{ echo "$as_me:$LINENO: result: $ac_file" >&5 |
2452 |
– |
echo "${ECHO_T}$ac_file" >&6; } |
2453 |
– |
if test -z "$ac_file"; then |
2454 |
– |
echo "$as_me: failed program was:" >&5 |
2455 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
2587 |
|
|
2588 |
< |
{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables |
2589 |
< |
See \`config.log' for more details." >&5 |
2590 |
< |
echo "$as_me: error: C++ compiler cannot create executables |
2460 |
< |
See \`config.log' for more details." >&2;} |
2461 |
< |
{ (exit 77); exit 77; }; } |
2462 |
< |
fi |
2588 |
> |
test -n "$ac_fc_set" && break |
2589 |
> |
done |
2590 |
> |
test -n "$ac_fc_set" || ac_fc_set="no" |
2591 |
|
|
2592 |
< |
ac_exeext=$ac_cv_exeext |
2592 |
> |
if test $ac_fc_set != no; then |
2593 |
|
|
2594 |
< |
# Check that the compiler produces executables we can run. If not, either |
2595 |
< |
# the compiler is broken, or we cross compile. |
2596 |
< |
{ echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 |
2597 |
< |
echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; } |
2598 |
< |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
2599 |
< |
# If not cross compiling, check that we can run a simple program. |
2600 |
< |
if test "$cross_compiling" != yes; then |
2601 |
< |
if { ac_try='./$ac_file' |
2602 |
< |
{ (case "(($ac_try" in |
2603 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2604 |
< |
*) ac_try_echo=$ac_try;; |
2605 |
< |
esac |
2606 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2607 |
< |
(eval "$ac_try") 2>&5 |
2608 |
< |
ac_status=$? |
2609 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2610 |
< |
(exit $ac_status); }; }; then |
2611 |
< |
cross_compiling=no |
2612 |
< |
else |
2613 |
< |
if test "$cross_compiling" = maybe; then |
2614 |
< |
cross_compiling=yes |
2615 |
< |
else |
2488 |
< |
{ { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. |
2489 |
< |
If you meant to cross compile, use \`--host'. |
2490 |
< |
See \`config.log' for more details." >&5 |
2491 |
< |
echo "$as_me: error: cannot run C++ compiled programs. |
2492 |
< |
If you meant to cross compile, use \`--host'. |
2493 |
< |
See \`config.log' for more details." >&2;} |
2494 |
< |
{ (exit 1); exit 1; }; } |
2495 |
< |
fi |
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 |
> |
{ $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 |
> |
$as_echo_n "(cached) " >&6 |
2600 |
> |
else |
2601 |
> |
case $ac_fc_path in |
2602 |
> |
[\\/]* | ?:[\\/]*) |
2603 |
> |
ac_cv_path_ac_fc_path="$ac_fc_path" # Let the user override the test with a path. |
2604 |
> |
;; |
2605 |
> |
*) |
2606 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2607 |
> |
for as_dir in $PATH |
2608 |
> |
do |
2609 |
> |
IFS=$as_save_IFS |
2610 |
> |
test -z "$as_dir" && as_dir=. |
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 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2615 |
> |
break 2 |
2616 |
|
fi |
2617 |
+ |
done |
2618 |
+ |
done |
2619 |
+ |
IFS=$as_save_IFS |
2620 |
+ |
|
2621 |
+ |
test -z "$ac_cv_path_ac_fc_path" && ac_cv_path_ac_fc_path="no" |
2622 |
+ |
;; |
2623 |
+ |
esac |
2624 |
|
fi |
2625 |
< |
{ echo "$as_me:$LINENO: result: yes" >&5 |
2626 |
< |
echo "${ECHO_T}yes" >&6; } |
2625 |
> |
ac_fc_path=$ac_cv_path_ac_fc_path |
2626 |
> |
if test -n "$ac_fc_path"; then |
2627 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_fc_path" >&5 |
2628 |
> |
$as_echo "$ac_fc_path" >&6; } |
2629 |
> |
else |
2630 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2631 |
> |
$as_echo "no" >&6; } |
2632 |
> |
fi |
2633 |
|
|
2501 |
– |
rm -f a.out a.exe conftest$ac_cv_exeext b.out |
2502 |
– |
ac_clean_files=$ac_clean_files_save |
2503 |
– |
# Check that the compiler produces executables we can run. If not, either |
2504 |
– |
# the compiler is broken, or we cross compile. |
2505 |
– |
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
2506 |
– |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } |
2507 |
– |
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
2508 |
– |
echo "${ECHO_T}$cross_compiling" >&6; } |
2634 |
|
|
2510 |
– |
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
2511 |
– |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } |
2512 |
– |
if { (ac_try="$ac_link" |
2513 |
– |
case "(($ac_try" in |
2514 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2515 |
– |
*) ac_try_echo=$ac_try;; |
2516 |
– |
esac |
2517 |
– |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2518 |
– |
(eval "$ac_link") 2>&5 |
2519 |
– |
ac_status=$? |
2520 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2521 |
– |
(exit $ac_status); }; then |
2522 |
– |
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
2523 |
– |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
2524 |
– |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
2525 |
– |
# `rm'. |
2526 |
– |
for ac_file in conftest.exe conftest conftest.*; do |
2527 |
– |
test -f "$ac_file" || continue |
2528 |
– |
case $ac_file in |
2529 |
– |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
2530 |
– |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2531 |
– |
break;; |
2532 |
– |
* ) break;; |
2533 |
– |
esac |
2534 |
– |
done |
2635 |
|
else |
2636 |
< |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
2637 |
< |
See \`config.log' for more details." >&5 |
2638 |
< |
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
2539 |
< |
See \`config.log' for more details." >&2;} |
2636 |
> |
|
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 |
|
|
2543 |
– |
rm -f conftest$ac_cv_exeext |
2544 |
– |
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
2545 |
– |
echo "${ECHO_T}$ac_cv_exeext" >&6; } |
2642 |
|
|
2643 |
< |
rm -f conftest.$ac_ext |
2644 |
< |
EXEEXT=$ac_cv_exeext |
2645 |
< |
ac_exeext=$EXEEXT |
2646 |
< |
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
2551 |
< |
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } |
2552 |
< |
if test "${ac_cv_objext+set}" = set; then |
2553 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2643 |
> |
if test $ac_fc_path != no; then |
2644 |
> |
|
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 |
2555 |
– |
cat >conftest.$ac_ext <<_ACEOF |
2556 |
– |
/* confdefs.h. */ |
2557 |
– |
_ACEOF |
2558 |
– |
cat confdefs.h >>conftest.$ac_ext |
2559 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
2560 |
– |
/* end confdefs.h. */ |
2648 |
|
|
2649 |
< |
int |
2650 |
< |
main () |
2651 |
< |
{ |
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 |
|
|
2654 |
< |
; |
2655 |
< |
return 0; |
2656 |
< |
} |
2657 |
< |
_ACEOF |
2658 |
< |
rm -f conftest.o conftest.obj |
2659 |
< |
if { (ac_try="$ac_compile" |
2660 |
< |
case "(($ac_try" in |
2661 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2662 |
< |
*) ac_try_echo=$ac_try;; |
2663 |
< |
esac |
2664 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2665 |
< |
(eval "$ac_compile") 2>&5 |
2666 |
< |
ac_status=$? |
2667 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2668 |
< |
(exit $ac_status); }; then |
2669 |
< |
for ac_file in conftest.o conftest.obj conftest.*; do |
2670 |
< |
test -f "$ac_file" || continue; |
2671 |
< |
case $ac_file in |
2672 |
< |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
2673 |
< |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2674 |
< |
break;; |
2675 |
< |
esac |
2654 |
> |
fi |
2655 |
> |
|
2656 |
> |
|
2657 |
> |
|
2658 |
> |
|
2659 |
> |
# Check whether --with-mpi was given. |
2660 |
> |
if test "${with_mpi+set}" = set; then |
2661 |
> |
withval=$with_mpi; |
2662 |
> |
else |
2663 |
> |
with_mpi="auto" |
2664 |
> |
fi |
2665 |
> |
|
2666 |
> |
if test "x$with_mpi" != "xno"; then |
2667 |
> |
|
2668 |
> |
|
2669 |
> |
for ac_prog in $CC openmpicc mpicc |
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 |
> |
{ $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 |
> |
$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. |
2680 |
> |
else |
2681 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2682 |
> |
for as_dir in $PATH |
2683 |
> |
do |
2684 |
> |
IFS=$as_save_IFS |
2685 |
> |
test -z "$as_dir" && as_dir=. |
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 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2690 |
> |
break 2 |
2691 |
> |
fi |
2692 |
|
done |
2693 |
+ |
done |
2694 |
+ |
IFS=$as_save_IFS |
2695 |
+ |
|
2696 |
+ |
fi |
2697 |
+ |
fi |
2698 |
+ |
acx_mpi_mpicc=$ac_cv_prog_acx_mpi_mpicc |
2699 |
+ |
if test -n "$acx_mpi_mpicc"; then |
2700 |
+ |
{ $as_echo "$as_me:$LINENO: result: $acx_mpi_mpicc" >&5 |
2701 |
+ |
$as_echo "$acx_mpi_mpicc" >&6; } |
2702 |
|
else |
2703 |
< |
echo "$as_me: failed program was:" >&5 |
2704 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
2703 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2704 |
> |
$as_echo "no" >&6; } |
2705 |
> |
fi |
2706 |
|
|
2707 |
< |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
2708 |
< |
See \`config.log' for more details." >&5 |
2709 |
< |
echo "$as_me: error: cannot compute suffix of object files: cannot compile |
2710 |
< |
See \`config.log' for more details." >&2;} |
2711 |
< |
{ (exit 1); exit 1; }; } |
2707 |
> |
|
2708 |
> |
test -n "$acx_mpi_mpicc" && break |
2709 |
> |
done |
2710 |
> |
test -n "$acx_mpi_mpicc" || acx_mpi_mpicc="no" |
2711 |
> |
|
2712 |
> |
if test $acx_mpi_mpicc != no; then |
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 |
> |
{ $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 |
> |
$as_echo_n "(cached) " >&6 |
2720 |
> |
else |
2721 |
> |
case $acx_mpi_mpicc_path in |
2722 |
> |
[\\/]* | ?:[\\/]*) |
2723 |
> |
ac_cv_path_acx_mpi_mpicc_path="$acx_mpi_mpicc_path" # Let the user override the test with a path. |
2724 |
> |
;; |
2725 |
> |
*) |
2726 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2727 |
> |
for as_dir in $PATH |
2728 |
> |
do |
2729 |
> |
IFS=$as_save_IFS |
2730 |
> |
test -z "$as_dir" && as_dir=. |
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 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2735 |
> |
break 2 |
2736 |
> |
fi |
2737 |
> |
done |
2738 |
> |
done |
2739 |
> |
IFS=$as_save_IFS |
2740 |
> |
|
2741 |
> |
test -z "$ac_cv_path_acx_mpi_mpicc_path" && ac_cv_path_acx_mpi_mpicc_path="no" |
2742 |
> |
;; |
2743 |
> |
esac |
2744 |
|
fi |
2745 |
+ |
acx_mpi_mpicc_path=$ac_cv_path_acx_mpi_mpicc_path |
2746 |
+ |
if test -n "$acx_mpi_mpicc_path"; then |
2747 |
+ |
{ $as_echo "$as_me:$LINENO: result: $acx_mpi_mpicc_path" >&5 |
2748 |
+ |
$as_echo "$acx_mpi_mpicc_path" >&6; } |
2749 |
+ |
else |
2750 |
+ |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2751 |
+ |
$as_echo "no" >&6; } |
2752 |
+ |
fi |
2753 |
|
|
2754 |
< |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2754 |
> |
|
2755 |
|
fi |
2756 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
2757 |
< |
echo "${ECHO_T}$ac_cv_objext" >&6; } |
2758 |
< |
OBJEXT=$ac_cv_objext |
2759 |
< |
ac_objext=$OBJEXT |
2760 |
< |
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
2761 |
< |
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } |
2762 |
< |
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
2763 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2756 |
> |
|
2757 |
> |
for ac_prog in $FC openmpif90 mpif90 |
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 |
> |
{ $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 |
> |
$as_echo_n "(cached) " >&6 |
2765 |
|
else |
2766 |
< |
cat >conftest.$ac_ext <<_ACEOF |
2767 |
< |
/* confdefs.h. */ |
2768 |
< |
_ACEOF |
2769 |
< |
cat confdefs.h >>conftest.$ac_ext |
2770 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
2771 |
< |
/* end confdefs.h. */ |
2766 |
> |
if test -n "$acx_mpi_mpif90"; then |
2767 |
> |
ac_cv_prog_acx_mpi_mpif90="$acx_mpi_mpif90" # Let the user override the test. |
2768 |
> |
else |
2769 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2770 |
> |
for as_dir in $PATH |
2771 |
> |
do |
2772 |
> |
IFS=$as_save_IFS |
2773 |
> |
test -z "$as_dir" && as_dir=. |
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 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2778 |
> |
break 2 |
2779 |
> |
fi |
2780 |
> |
done |
2781 |
> |
done |
2782 |
> |
IFS=$as_save_IFS |
2783 |
|
|
2784 |
< |
int |
2785 |
< |
main () |
2786 |
< |
{ |
2787 |
< |
#ifndef __GNUC__ |
2788 |
< |
choke me |
2789 |
< |
#endif |
2784 |
> |
fi |
2785 |
> |
fi |
2786 |
> |
acx_mpi_mpif90=$ac_cv_prog_acx_mpi_mpif90 |
2787 |
> |
if test -n "$acx_mpi_mpif90"; then |
2788 |
> |
{ $as_echo "$as_me:$LINENO: result: $acx_mpi_mpif90" >&5 |
2789 |
> |
$as_echo "$acx_mpi_mpif90" >&6; } |
2790 |
> |
else |
2791 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2792 |
> |
$as_echo "no" >&6; } |
2793 |
> |
fi |
2794 |
|
|
2795 |
< |
; |
2796 |
< |
return 0; |
2797 |
< |
} |
2798 |
< |
_ACEOF |
2799 |
< |
rm -f conftest.$ac_objext |
2800 |
< |
if { (ac_try="$ac_compile" |
2801 |
< |
case "(($ac_try" in |
2802 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2803 |
< |
*) ac_try_echo=$ac_try;; |
2795 |
> |
|
2796 |
> |
test -n "$acx_mpi_mpif90" && break |
2797 |
> |
done |
2798 |
> |
test -n "$acx_mpi_mpif90" || acx_mpi_mpif90="no" |
2799 |
> |
|
2800 |
> |
if test $acx_mpi_mpif90 != no; then |
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 |
> |
{ $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 |
> |
$as_echo_n "(cached) " >&6 |
2808 |
> |
else |
2809 |
> |
case $acx_mpi_mpif90_path in |
2810 |
> |
[\\/]* | ?:[\\/]*) |
2811 |
> |
ac_cv_path_acx_mpi_mpif90_path="$acx_mpi_mpif90_path" # Let the user override the test with a path. |
2812 |
> |
;; |
2813 |
> |
*) |
2814 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2815 |
> |
for as_dir in $PATH |
2816 |
> |
do |
2817 |
> |
IFS=$as_save_IFS |
2818 |
> |
test -z "$as_dir" && as_dir=. |
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 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2823 |
> |
break 2 |
2824 |
> |
fi |
2825 |
> |
done |
2826 |
> |
done |
2827 |
> |
IFS=$as_save_IFS |
2828 |
> |
|
2829 |
> |
test -z "$ac_cv_path_acx_mpi_mpif90_path" && ac_cv_path_acx_mpi_mpif90_path="no" |
2830 |
> |
;; |
2831 |
|
esac |
2832 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2833 |
< |
(eval "$ac_compile") 2>conftest.er1 |
2834 |
< |
ac_status=$? |
2835 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
2836 |
< |
rm -f conftest.er1 |
2640 |
< |
cat conftest.err >&5 |
2641 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2642 |
< |
(exit $ac_status); } && { |
2643 |
< |
test -z "$ac_cxx_werror_flag" || |
2644 |
< |
test ! -s conftest.err |
2645 |
< |
} && test -s conftest.$ac_objext; then |
2646 |
< |
ac_compiler_gnu=yes |
2832 |
> |
fi |
2833 |
> |
acx_mpi_mpif90_path=$ac_cv_path_acx_mpi_mpif90_path |
2834 |
> |
if test -n "$acx_mpi_mpif90_path"; then |
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: failed program was:" >&5 |
2839 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
2838 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2839 |
> |
$as_echo "no" >&6; } |
2840 |
> |
fi |
2841 |
|
|
2842 |
< |
ac_compiler_gnu=no |
2842 |
> |
|
2843 |
|
fi |
2844 |
|
|
2845 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2846 |
< |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
2845 |
> |
for ac_prog in $CXX openmpicxx openmpiCC openmpic++ mpicxx mpiCC mpic++ |
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 |
> |
{ $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 |
> |
$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. |
2856 |
> |
else |
2857 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2858 |
> |
for as_dir in $PATH |
2859 |
> |
do |
2860 |
> |
IFS=$as_save_IFS |
2861 |
> |
test -z "$as_dir" && as_dir=. |
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 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2866 |
> |
break 2 |
2867 |
> |
fi |
2868 |
> |
done |
2869 |
> |
done |
2870 |
> |
IFS=$as_save_IFS |
2871 |
|
|
2872 |
|
fi |
2873 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
2874 |
< |
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } |
2875 |
< |
GXX=`test $ac_compiler_gnu = yes && echo yes` |
2876 |
< |
ac_test_CXXFLAGS=${CXXFLAGS+set} |
2877 |
< |
ac_save_CXXFLAGS=$CXXFLAGS |
2663 |
< |
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
2664 |
< |
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } |
2665 |
< |
if test "${ac_cv_prog_cxx_g+set}" = set; then |
2666 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2873 |
> |
fi |
2874 |
> |
acx_mpi_mpicxx=$ac_cv_prog_acx_mpi_mpicxx |
2875 |
> |
if test -n "$acx_mpi_mpicxx"; then |
2876 |
> |
{ $as_echo "$as_me:$LINENO: result: $acx_mpi_mpicxx" >&5 |
2877 |
> |
$as_echo "$acx_mpi_mpicxx" >&6; } |
2878 |
|
else |
2879 |
< |
ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
2880 |
< |
ac_cxx_werror_flag=yes |
2881 |
< |
ac_cv_prog_cxx_g=no |
2882 |
< |
CXXFLAGS="-g" |
2883 |
< |
cat >conftest.$ac_ext <<_ACEOF |
2879 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2880 |
> |
$as_echo "no" >&6; } |
2881 |
> |
fi |
2882 |
> |
|
2883 |
> |
|
2884 |
> |
test -n "$acx_mpi_mpicxx" && break |
2885 |
> |
done |
2886 |
> |
test -n "$acx_mpi_mpicxx" || acx_mpi_mpicxx="no" |
2887 |
> |
|
2888 |
> |
if test $acx_mpi_mpicxx != no; then |
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 |
> |
{ $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 |
> |
$as_echo_n "(cached) " >&6 |
2896 |
> |
else |
2897 |
> |
case $acx_mpi_mpicxx_path in |
2898 |
> |
[\\/]* | ?:[\\/]*) |
2899 |
> |
ac_cv_path_acx_mpi_mpicxx_path="$acx_mpi_mpicxx_path" # Let the user override the test with a path. |
2900 |
> |
;; |
2901 |
> |
*) |
2902 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2903 |
> |
for as_dir in $PATH |
2904 |
> |
do |
2905 |
> |
IFS=$as_save_IFS |
2906 |
> |
test -z "$as_dir" && as_dir=. |
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 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2911 |
> |
break 2 |
2912 |
> |
fi |
2913 |
> |
done |
2914 |
> |
done |
2915 |
> |
IFS=$as_save_IFS |
2916 |
> |
|
2917 |
> |
test -z "$ac_cv_path_acx_mpi_mpicxx_path" && ac_cv_path_acx_mpi_mpicxx_path="no" |
2918 |
> |
;; |
2919 |
> |
esac |
2920 |
> |
fi |
2921 |
> |
acx_mpi_mpicxx_path=$ac_cv_path_acx_mpi_mpicxx_path |
2922 |
> |
if test -n "$acx_mpi_mpicxx_path"; then |
2923 |
> |
{ $as_echo "$as_me:$LINENO: result: $acx_mpi_mpicxx_path" >&5 |
2924 |
> |
$as_echo "$acx_mpi_mpicxx_path" >&6; } |
2925 |
> |
else |
2926 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2927 |
> |
$as_echo "no" >&6; } |
2928 |
> |
fi |
2929 |
> |
|
2930 |
> |
|
2931 |
> |
fi |
2932 |
> |
|
2933 |
> |
if test $acx_mpi_mpicc = no; then |
2934 |
> |
|
2935 |
> |
if test $acx_mpi_mpicxx = no; then |
2936 |
> |
|
2937 |
> |
acx_mpi_compiler=no |
2938 |
> |
|
2939 |
> |
else |
2940 |
> |
|
2941 |
> |
acx_mpi_compiler=$acx_mpi_mpicxx |
2942 |
> |
acx_mpi_compiler_path=$acx_mpi_mpicxx_path |
2943 |
> |
fi |
2944 |
> |
|
2945 |
> |
|
2946 |
> |
else |
2947 |
> |
|
2948 |
> |
if test $acx_mpi_mpicxx = no; then |
2949 |
> |
|
2950 |
> |
acx_mpi_compiler=$acx_mpi_mpicc |
2951 |
> |
acx_mpi_compiler_path=$acx_mpi_mpicc_path |
2952 |
> |
|
2953 |
> |
else |
2954 |
> |
|
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' |
2960 |
> |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2961 |
> |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
2962 |
> |
|
2963 |
> |
cat >conftest.$ac_ext <<_ACEOF |
2964 |
|
/* confdefs.h. */ |
2965 |
|
_ACEOF |
2966 |
|
cat confdefs.h >>conftest.$ac_ext |
2967 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2968 |
|
/* end confdefs.h. */ |
2969 |
|
|
2970 |
+ |
#include <mpi.h> |
2971 |
+ |
|
2972 |
|
int |
2973 |
|
main () |
2974 |
|
{ |
2975 |
|
|
2976 |
+ |
MPI_Finalize(); |
2977 |
+ |
|
2978 |
|
; |
2979 |
|
return 0; |
2980 |
|
} |
2981 |
|
_ACEOF |
2982 |
< |
rm -f conftest.$ac_objext |
2688 |
< |
if { (ac_try="$ac_compile" |
2982 |
> |
if { (ac_try="$acx_mpi_mpicxx_path -c conftest.$ac_ext >&5" |
2983 |
|
case "(($ac_try" in |
2984 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2985 |
|
*) ac_try_echo=$ac_try;; |
2986 |
|
esac |
2987 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2988 |
< |
(eval "$ac_compile") 2>conftest.er1 |
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 |
2996 |
> |
test -z "$ac_cxx_werror_flag" || |
2997 |
> |
test ! -s conftest.err |
2998 |
|
} && test -s conftest.$ac_objext; then |
2999 |
< |
ac_cv_prog_cxx_g=yes |
2999 |
> |
|
3000 |
> |
acx_mpi_compiler=$acx_mpi_mpicxx |
3001 |
> |
acx_mpi_compiler_path=$acx_mpi_mpicxx_path |
3002 |
> |
|
3003 |
|
else |
2706 |
– |
echo "$as_me: failed program was:" >&5 |
2707 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
3004 |
|
|
3005 |
< |
CXXFLAGS="" |
3006 |
< |
cat >conftest.$ac_ext <<_ACEOF |
3007 |
< |
/* confdefs.h. */ |
2712 |
< |
_ACEOF |
2713 |
< |
cat confdefs.h >>conftest.$ac_ext |
2714 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
2715 |
< |
/* end confdefs.h. */ |
3005 |
> |
acx_mpi_compiler=$acx_mpi_mpicc |
3006 |
> |
acx_mpi_compiler_path=$acx_mpi_mpicc_path |
3007 |
> |
fi |
3008 |
|
|
3009 |
< |
int |
3010 |
< |
main () |
3011 |
< |
{ |
3009 |
> |
ac_ext=c |
3010 |
> |
ac_cpp='$CPP $CPPFLAGS' |
3011 |
> |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
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 |
< |
; |
3016 |
< |
return 0; |
3017 |
< |
} |
3018 |
< |
_ACEOF |
3019 |
< |
rm -f conftest.$ac_objext |
3020 |
< |
if { (ac_try="$ac_compile" |
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 |
> |
{ $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' |
3026 |
> |
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
3027 |
> |
|
3028 |
> |
ac_save_ext=$ac_ext |
3029 |
> |
ac_ext=F90 |
3030 |
> |
rm -f conftest* |
3031 |
> |
cat >conftest.$ac_ext <<EOF |
3032 |
> |
program main |
3033 |
> |
include 'mpif.h' |
3034 |
> |
call MPI_Init |
3035 |
> |
end |
3036 |
> |
EOF |
3037 |
> |
if $acx_mpi_mpif90_path -c conftest.$ac_ext > conftest.out 2>&1 ; then |
3038 |
> |
acx_mpi_f90_compiler=yes |
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 |
> |
{ $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 |
3051 |
> |
ac_ext=c |
3052 |
> |
ac_cpp='$CPP $CPPFLAGS' |
3053 |
> |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3054 |
> |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3055 |
> |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3056 |
> |
|
3057 |
> |
if test $acx_mpi_compiler = no || test $acx_mpi_f90_compiler = no; then |
3058 |
> |
|
3059 |
> |
acx_cv_mpi_implementation=no |
3060 |
> |
else |
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 |
> |
$as_echo_n "(cached) " >&6 |
3065 |
> |
else |
3066 |
> |
acx_cv_mpi_implementation=no |
3067 |
> |
if { (ac_try="grep -q LAM $acx_mpi_compiler_path" |
3068 |
|
case "(($ac_try" in |
3069 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3070 |
|
*) ac_try_echo=$ac_try;; |
3071 |
|
esac |
3072 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3073 |
< |
(eval "$ac_compile") 2>conftest.er1 |
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 |
3080 |
< |
(exit $ac_status); } && { |
3081 |
< |
test -z "$ac_cxx_werror_flag" || |
3082 |
< |
test ! -s conftest.err |
3083 |
< |
} && test -s conftest.$ac_objext; then |
2742 |
< |
: |
3079 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3080 |
> |
(exit $ac_status); }; then |
3081 |
> |
|
3082 |
> |
acx_cv_mpi_implementation=lammpi |
3083 |
> |
|
3084 |
|
else |
2744 |
– |
echo "$as_me: failed program was:" >&5 |
2745 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
3085 |
|
|
3086 |
< |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
3087 |
< |
CXXFLAGS="-g" |
3088 |
< |
cat >conftest.$ac_ext <<_ACEOF |
3089 |
< |
/* confdefs.h. */ |
3090 |
< |
_ACEOF |
3091 |
< |
cat confdefs.h >>conftest.$ac_ext |
3092 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
3093 |
< |
/* end confdefs.h. */ |
3094 |
< |
|
3095 |
< |
int |
3096 |
< |
main () |
3097 |
< |
{ |
3098 |
< |
|
3099 |
< |
; |
3100 |
< |
return 0; |
3101 |
< |
} |
3102 |
< |
_ACEOF |
3103 |
< |
rm -f conftest.$ac_objext |
3104 |
< |
if { (ac_try="$ac_compile" |
3086 |
> |
if { (ac_try="grep -q showme $acx_mpi_compiler_path" |
3087 |
> |
case "(($ac_try" in |
3088 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3089 |
> |
*) ac_try_echo=$ac_try;; |
3090 |
> |
esac |
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 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3099 |
> |
(exit $ac_status); }; then |
3100 |
> |
|
3101 |
> |
acx_cv_mpi_implementation=openmpi |
3102 |
> |
|
3103 |
> |
else |
3104 |
> |
|
3105 |
> |
if { (ac_try="grep -q MPICH $acx_mpi_compiler_path" |
3106 |
|
case "(($ac_try" in |
3107 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3108 |
|
*) ac_try_echo=$ac_try;; |
3109 |
|
esac |
3110 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3111 |
< |
(eval "$ac_compile") 2>conftest.er1 |
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 |
3118 |
< |
(exit $ac_status); } && { |
3119 |
< |
test -z "$ac_cxx_werror_flag" || |
3120 |
< |
test ! -s conftest.err |
3121 |
< |
} && test -s conftest.$ac_objext; then |
2781 |
< |
ac_cv_prog_cxx_g=yes |
3117 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3118 |
> |
(exit $ac_status); }; then |
3119 |
> |
|
3120 |
> |
acx_cv_mpi_implementation=mpich |
3121 |
> |
|
3122 |
|
else |
3123 |
< |
echo "$as_me: failed program was:" >&5 |
3124 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
3123 |
> |
acx_cv_mpi_implementation=$with_mpi |
3124 |
> |
fi |
3125 |
|
|
3126 |
+ |
fi |
3127 |
|
|
3128 |
|
fi |
3129 |
|
|
2789 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3130 |
|
fi |
3131 |
+ |
{ $as_echo "$as_me:$LINENO: result: $acx_cv_mpi_implementation" >&5 |
3132 |
+ |
$as_echo "$acx_cv_mpi_implementation" >&6; } |
3133 |
|
|
2792 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3134 |
|
fi |
3135 |
+ |
case $acx_cv_mpi_implementation in |
3136 |
+ |
(lammpi) |
3137 |
|
|
3138 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3139 |
< |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
3138 |
> |
cat >>confdefs.h <<\_ACEOF |
3139 |
> |
#define MPI_IS_LAMMPI 1 |
3140 |
> |
_ACEOF |
3141 |
> |
|
3142 |
> |
;; |
3143 |
> |
(openmpi) |
3144 |
> |
|
3145 |
> |
cat >>confdefs.h <<\_ACEOF |
3146 |
> |
#define MPI_IS_OPENMPI 1 |
3147 |
> |
_ACEOF |
3148 |
> |
|
3149 |
> |
;; |
3150 |
> |
(mpich) |
3151 |
> |
|
3152 |
> |
cat >>confdefs.h <<\_ACEOF |
3153 |
> |
#define MPI_IS_MPICH 1 |
3154 |
> |
_ACEOF |
3155 |
> |
|
3156 |
> |
;; |
3157 |
> |
esac |
3158 |
> |
if test $acx_cv_mpi_implementation = no; then |
3159 |
> |
|
3160 |
> |
acx_mpi_cflags="" |
3161 |
> |
acx_mpi_libs="" |
3162 |
> |
USE_MPI="no" |
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 |
> |
{ $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 |
> |
$as_echo_n "(cached) " >&6 |
3172 |
> |
else |
3173 |
> |
|
3174 |
> |
case $acx_cv_mpi_implementation in |
3175 |
> |
(lammpi) |
3176 |
> |
cfo="--showme:compile" |
3177 |
> |
;; |
3178 |
> |
(openmpi) |
3179 |
> |
cfo="--showme:compile" |
3180 |
> |
;; |
3181 |
> |
(mpich) |
3182 |
> |
case "$acx_mpi_compiler_path" in |
3183 |
> |
(*mpiCC) |
3184 |
> |
sc_cv_cn="-CC=" |
3185 |
> |
;; |
3186 |
> |
(*mpicxx) |
3187 |
> |
sc_cv_cn="-cxx=" |
3188 |
> |
;; |
3189 |
> |
(*mpicc) |
3190 |
> |
sc_cv_cn="-cc=" |
3191 |
> |
;; |
3192 |
> |
(*) |
3193 |
> |
sc_cv_cn="" |
3194 |
> |
;; |
3195 |
> |
esac |
3196 |
> |
cfo="-compile_info $sc_cv_cn" |
3197 |
> |
;; |
3198 |
> |
esac |
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 |
> |
$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 |
3208 |
> |
acx_mpi_cflags="no" |
3209 |
> |
;; |
3210 |
> |
(*) |
3211 |
> |
acx_mpi_tmp_mode="normal" |
3212 |
> |
acx_mpi_tmp_prefix="" |
3213 |
> |
eval "acx_mpi_cflags=\"\"" |
3214 |
> |
for acx_mpi_tmp in $mpi_pre_cflags; do |
3215 |
> |
case "$acx_mpi_tmp_mode" in |
3216 |
> |
(normal) |
3217 |
> |
case "$acx_mpi_tmp" in |
3218 |
> |
(-I|-D) |
3219 |
> |
acx_mpi_tmp_prefix="$acx_mpi_tmp" |
3220 |
> |
acx_mpi_tmp_mode="accept" |
3221 |
> |
;; |
3222 |
> |
(-I*|-D*) |
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" |
3228 |
> |
;; |
3229 |
> |
(*) |
3230 |
> |
;; |
3231 |
> |
esac |
3232 |
> |
;; |
3233 |
> |
(accept) |
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 |
> |
;; |
3239 |
> |
esac |
3240 |
> |
done |
3241 |
> |
|
3242 |
> |
;; |
3243 |
> |
esac |
3244 |
> |
|
3245 |
|
fi |
3246 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
3247 |
< |
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } |
3248 |
< |
if test "$ac_test_CXXFLAGS" = set; then |
3249 |
< |
CXXFLAGS=$ac_save_CXXFLAGS |
3250 |
< |
elif test $ac_cv_prog_cxx_g = yes; then |
3251 |
< |
if test "$GXX" = yes; then |
3252 |
< |
CXXFLAGS="-g -O2" |
3253 |
< |
else |
2806 |
< |
CXXFLAGS="-g" |
2807 |
< |
fi |
3246 |
> |
{ $as_echo "$as_me:$LINENO: result: $acx_mpi_cflags" >&5 |
3247 |
> |
$as_echo "$acx_mpi_cflags" >&6; } |
3248 |
> |
|
3249 |
> |
|
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 |
> |
$as_echo_n "(cached) " >&6 |
3254 |
|
else |
3255 |
< |
if test "$GXX" = yes; then |
3256 |
< |
CXXFLAGS="-O2" |
3257 |
< |
else |
3258 |
< |
CXXFLAGS= |
3259 |
< |
fi |
3255 |
> |
|
3256 |
> |
case $acx_cv_mpi_implementation in |
3257 |
> |
(lammpi) |
3258 |
> |
lfo="--showme:compile --showme:link" |
3259 |
> |
;; |
3260 |
> |
(openmpi) |
3261 |
> |
lfo="--showme:link" |
3262 |
> |
;; |
3263 |
> |
(mpich) |
3264 |
> |
case "$acx_mpi_compiler_path" in |
3265 |
> |
(*mpiCC) |
3266 |
> |
sc_cv_cn="-CC=" |
3267 |
> |
;; |
3268 |
> |
(*mpicxx) |
3269 |
> |
sc_cv_cn="-cxx=" |
3270 |
> |
;; |
3271 |
> |
(*mpicc) |
3272 |
> |
sc_cv_cn="-cc=" |
3273 |
> |
;; |
3274 |
> |
(*) |
3275 |
> |
sc_cv_cn="" |
3276 |
> |
;; |
3277 |
> |
esac |
3278 |
> |
lfo="-link_info $sc_cv_cn" |
3279 |
> |
;; |
3280 |
> |
esac |
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 |
> |
$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 |
3290 |
> |
;; |
3291 |
> |
(*) |
3292 |
> |
acx_mpi_libs="$mpi_pre_libs" |
3293 |
> |
;; |
3294 |
> |
esac |
3295 |
> |
|
3296 |
|
fi |
3297 |
< |
ac_ext=c |
3298 |
< |
ac_cpp='$CPP $CPPFLAGS' |
2817 |
< |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2818 |
< |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2819 |
< |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3297 |
> |
{ $as_echo "$as_me:$LINENO: result: $acx_mpi_libs" >&5 |
3298 |
> |
$as_echo "$acx_mpi_libs" >&6; } |
3299 |
|
|
3300 |
< |
ac_ext=c |
3301 |
< |
ac_cpp='$CPP $CPPFLAGS' |
3302 |
< |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3303 |
< |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3304 |
< |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3305 |
< |
if test -n "$ac_tool_prefix"; then |
3306 |
< |
for ac_prog in mpicc icc pathcc pgcc cc xlc gcc |
3300 |
> |
if test $acx_mpi_mpif90_path != no; then |
3301 |
> |
|
3302 |
> |
|
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 |
> |
$as_echo_n "(cached) " >&6 |
3307 |
> |
else |
3308 |
> |
|
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 |
> |
$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 |
3318 |
> |
;; |
3319 |
> |
(*) |
3320 |
> |
acx_mpi90_libs="$mpi_pre_libs" |
3321 |
> |
;; |
3322 |
> |
esac |
3323 |
> |
|
3324 |
> |
fi |
3325 |
> |
{ $as_echo "$as_me:$LINENO: result: $acx_mpi90_libs" >&5 |
3326 |
> |
$as_echo "$acx_mpi90_libs" >&6; } |
3327 |
> |
|
3328 |
> |
|
3329 |
> |
fi |
3330 |
> |
|
3331 |
> |
if test "$acx_mpi_cflags" = no -o "$acx_mpi_libs" = no; then |
3332 |
> |
|
3333 |
> |
acx_mpi_cflags="" |
3334 |
> |
acx_mpi_libs="" |
3335 |
> |
USE_MPI="no" |
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 |
3341 |
> |
|
3342 |
> |
MPI_LIBS=$acx_mpi_libs |
3343 |
> |
|
3344 |
> |
if test "$acx_mpi90_libs" != no; then |
3345 |
> |
MPI90_LIBS=$acx_mpi90_libs |
3346 |
> |
|
3347 |
> |
fi |
3348 |
> |
|
3349 |
> |
USE_MPI="yes" |
3350 |
> |
fi |
3351 |
> |
|
3352 |
> |
|
3353 |
> |
fi |
3354 |
> |
|
3355 |
> |
|
3356 |
> |
fi |
3357 |
> |
|
3358 |
> |
|
3359 |
> |
|
3360 |
> |
# Checks for programs. |
3361 |
> |
ac_ext=cpp |
3362 |
> |
ac_cpp='$CXXCPP $CPPFLAGS' |
3363 |
> |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3364 |
> |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3365 |
> |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
3366 |
> |
if test -z "$CXX"; then |
3367 |
> |
if test -n "$CCC"; then |
3368 |
> |
CXX=$CCC |
3369 |
> |
else |
3370 |
> |
if test -n "$ac_tool_prefix"; then |
3371 |
> |
for ac_prog in $CXX $ac_cv_prog_acx_mpi_mpicxx icpc pathCC pgCC c++ xlc++ xlC g++ CC |
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; } |
3377 |
< |
if test "${ac_cv_prog_CC+set}" = set; then |
3378 |
< |
echo $ECHO_N "(cached) $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 |
> |
$as_echo_n "(cached) " >&6 |
3379 |
|
else |
3380 |
< |
if test -n "$CC"; then |
3381 |
< |
ac_cv_prog_CC="$CC" # Let the user override the test. |
3380 |
> |
if test -n "$CXX"; then |
3381 |
> |
ac_cv_prog_CXX="$CXX" # Let the user override the test. |
3382 |
|
else |
3383 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3384 |
|
for as_dir in $PATH |
3387 |
|
test -z "$as_dir" && as_dir=. |
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_CC="$ac_tool_prefix$ac_prog" |
3391 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3390 |
> |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
3391 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3392 |
|
break 2 |
3393 |
|
fi |
3394 |
|
done |
3397 |
|
|
3398 |
|
fi |
3399 |
|
fi |
3400 |
< |
CC=$ac_cv_prog_CC |
3401 |
< |
if test -n "$CC"; then |
3402 |
< |
{ echo "$as_me:$LINENO: result: $CC" >&5 |
3403 |
< |
echo "${ECHO_T}$CC" >&6; } |
3400 |
> |
CXX=$ac_cv_prog_CXX |
3401 |
> |
if test -n "$CXX"; then |
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 |
|
|
3410 |
< |
test -n "$CC" && break |
3410 |
> |
test -n "$CXX" && break |
3411 |
|
done |
3412 |
|
fi |
3413 |
< |
if test -z "$CC"; then |
3414 |
< |
ac_ct_CC=$CC |
3415 |
< |
for ac_prog in mpicc icc pathcc pgcc cc xlc gcc |
3413 |
> |
if test -z "$CXX"; then |
3414 |
> |
ac_ct_CXX=$CXX |
3415 |
> |
for ac_prog in $CXX $ac_cv_prog_acx_mpi_mpicxx icpc pathCC pgCC c++ xlc++ xlC g++ CC |
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; } |
3421 |
< |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
3422 |
< |
echo $ECHO_N "(cached) $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 |
> |
$as_echo_n "(cached) " >&6 |
3423 |
|
else |
3424 |
< |
if test -n "$ac_ct_CC"; then |
3425 |
< |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3424 |
> |
if test -n "$ac_ct_CXX"; then |
3425 |
> |
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
3426 |
|
else |
3427 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3428 |
|
for as_dir in $PATH |
3431 |
|
test -z "$as_dir" && as_dir=. |
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_CC="$ac_prog" |
3435 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3434 |
> |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
3435 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3436 |
|
break 2 |
3437 |
|
fi |
3438 |
|
done |
3441 |
|
|
3442 |
|
fi |
3443 |
|
fi |
3444 |
< |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
3445 |
< |
if test -n "$ac_ct_CC"; then |
3446 |
< |
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
3447 |
< |
echo "${ECHO_T}$ac_ct_CC" >&6; } |
3444 |
> |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
3445 |
> |
if test -n "$ac_ct_CXX"; then |
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 |
|
|
3454 |
< |
test -n "$ac_ct_CC" && break |
3454 |
> |
test -n "$ac_ct_CXX" && break |
3455 |
|
done |
3456 |
|
|
3457 |
< |
if test "x$ac_ct_CC" = x; then |
3458 |
< |
CC="" |
3457 |
> |
if test "x$ac_ct_CXX" = x; then |
3458 |
> |
CXX="g++" |
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 ;; |
3469 |
|
esac |
3470 |
< |
CC=$ac_ct_CC |
3470 |
> |
CXX=$ac_ct_CXX |
3471 |
|
fi |
3472 |
|
fi |
3473 |
|
|
3474 |
< |
|
3475 |
< |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
2932 |
< |
See \`config.log' for more details." >&5 |
2933 |
< |
echo "$as_me: error: no acceptable C compiler found in \$PATH |
2934 |
< |
See \`config.log' for more details." >&2;} |
2935 |
< |
{ (exit 1); exit 1; }; } |
2936 |
< |
|
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 |
< |
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
2972 |
< |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } |
2973 |
< |
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
2974 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2975 |
< |
else |
2976 |
< |
cat >conftest.$ac_ext <<_ACEOF |
3514 |
> |
cat >conftest.$ac_ext <<_ACEOF |
3515 |
|
/* confdefs.h. */ |
3516 |
|
_ACEOF |
3517 |
|
cat confdefs.h >>conftest.$ac_ext |
3521 |
|
int |
3522 |
|
main () |
3523 |
|
{ |
2986 |
– |
#ifndef __GNUC__ |
2987 |
– |
choke me |
2988 |
– |
#endif |
3524 |
|
|
3525 |
|
; |
3526 |
|
return 0; |
3527 |
|
} |
3528 |
|
_ACEOF |
3529 |
< |
rm -f conftest.$ac_objext |
3530 |
< |
if { (ac_try="$ac_compile" |
3529 |
> |
ac_clean_files_save=$ac_clean_files |
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 |
> |
{ $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 | *.dSYM | *.o | *.obj ) ;; |
3546 |
> |
* ) ac_rmfiles="$ac_rmfiles $ac_file";; |
3547 |
> |
esac |
3548 |
> |
done |
3549 |
> |
rm -f $ac_rmfiles |
3550 |
> |
|
3551 |
> |
if { (ac_try="$ac_link_default" |
3552 |
|
case "(($ac_try" in |
3553 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3554 |
|
*) ac_try_echo=$ac_try;; |
3555 |
|
esac |
3556 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3557 |
< |
(eval "$ac_compile") 2>conftest.er1 |
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 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
3561 |
< |
rm -f conftest.er1 |
3562 |
< |
cat conftest.err >&5 |
3563 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3564 |
< |
(exit $ac_status); } && { |
3565 |
< |
test -z "$ac_c_werror_flag" || |
3566 |
< |
test ! -s conftest.err |
3567 |
< |
} && test -s conftest.$ac_objext; then |
3568 |
< |
ac_compiler_gnu=yes |
3569 |
< |
else |
3570 |
< |
echo "$as_me: failed program was:" >&5 |
3571 |
< |
sed 's/^/| /' conftest.$ac_ext >&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' |
3564 |
> |
# in a Makefile. We should not override ac_cv_exeext if it was cached, |
3565 |
> |
# so that the user can short-circuit this test for compilers unknown to |
3566 |
> |
# Autoconf. |
3567 |
> |
for ac_file in $ac_files '' |
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 | *.dSYM | *.o | *.obj ) |
3572 |
> |
;; |
3573 |
> |
[ab].out ) |
3574 |
> |
# We found the default executable, but exeext='' is most |
3575 |
> |
# certainly right. |
3576 |
> |
break;; |
3577 |
> |
*.* ) |
3578 |
> |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
3579 |
> |
then :; else |
3580 |
> |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3581 |
> |
fi |
3582 |
> |
# We set ac_cv_exeext here because the later test for it is not |
3583 |
> |
# safe: cross compilers may not add the suffix if given an `-o' |
3584 |
> |
# argument, so we may need to know it at that point already. |
3585 |
> |
# Even if this section looks crufty: it has the advantage of |
3586 |
> |
# actually working. |
3587 |
> |
break;; |
3588 |
> |
* ) |
3589 |
> |
break;; |
3590 |
> |
esac |
3591 |
> |
done |
3592 |
> |
test "$ac_cv_exeext" = no && ac_cv_exeext= |
3593 |
|
|
3594 |
< |
ac_compiler_gnu=no |
3594 |
> |
else |
3595 |
> |
ac_file='' |
3596 |
|
fi |
3597 |
|
|
3598 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3599 |
< |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
3600 |
< |
|
3598 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 |
3599 |
> |
$as_echo "$ac_file" >&6; } |
3600 |
> |
if test -z "$ac_file"; then |
3601 |
> |
$as_echo "$as_me: failed program was:" >&5 |
3602 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
3603 |
> |
|
3604 |
> |
{ { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables |
3605 |
> |
See \`config.log' for more details." >&5 |
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 |
3610 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
3611 |
< |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } |
3612 |
< |
GCC=`test $ac_compiler_gnu = yes && echo yes` |
3610 |
> |
|
3611 |
> |
ac_exeext=$ac_cv_exeext |
3612 |
> |
|
3613 |
> |
# Check that the compiler produces executables we can run. If not, either |
3614 |
> |
# the compiler is broken, or we cross compile. |
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 |
3620 |
> |
if { ac_try='./$ac_file' |
3621 |
> |
{ (case "(($ac_try" in |
3622 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3623 |
> |
*) ac_try_echo=$ac_try;; |
3624 |
> |
esac |
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 |
> |
$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 |
> |
{ { $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 |
> |
$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 |
> |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
3647 |
> |
$as_echo "yes" >&6; } |
3648 |
> |
|
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 |
> |
{ $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 |
> |
{ $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 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 |
> |
$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 |
3673 |
> |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
3674 |
> |
# `rm'. |
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 | *.dSYM | *.o | *.obj ) ;; |
3679 |
> |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3680 |
> |
break;; |
3681 |
> |
* ) break;; |
3682 |
> |
esac |
3683 |
> |
done |
3684 |
> |
else |
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 |
> |
$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 |
> |
{ $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 |
> |
{ $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 |
> |
$as_echo_n "(cached) " >&6 |
3703 |
> |
else |
3704 |
> |
cat >conftest.$ac_ext <<_ACEOF |
3705 |
> |
/* confdefs.h. */ |
3706 |
> |
_ACEOF |
3707 |
> |
cat confdefs.h >>conftest.$ac_ext |
3708 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
3709 |
> |
/* end confdefs.h. */ |
3710 |
> |
|
3711 |
> |
int |
3712 |
> |
main () |
3713 |
> |
{ |
3714 |
> |
|
3715 |
> |
; |
3716 |
> |
return 0; |
3717 |
> |
} |
3718 |
> |
_ACEOF |
3719 |
> |
rm -f conftest.o conftest.obj |
3720 |
> |
if { (ac_try="$ac_compile" |
3721 |
> |
case "(($ac_try" in |
3722 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3723 |
> |
*) ac_try_echo=$ac_try;; |
3724 |
> |
esac |
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 |
> |
$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 | *.dSYM ) ;; |
3735 |
> |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
3736 |
> |
break;; |
3737 |
> |
esac |
3738 |
> |
done |
3739 |
> |
else |
3740 |
> |
$as_echo "$as_me: failed program was:" >&5 |
3741 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
3742 |
> |
|
3743 |
> |
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
3744 |
> |
See \`config.log' for more details." >&5 |
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 |
> |
{ $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 |
> |
{ $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 |
> |
$as_echo_n "(cached) " >&6 |
3760 |
> |
else |
3761 |
> |
cat >conftest.$ac_ext <<_ACEOF |
3762 |
> |
/* confdefs.h. */ |
3763 |
> |
_ACEOF |
3764 |
> |
cat confdefs.h >>conftest.$ac_ext |
3765 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
3766 |
> |
/* end confdefs.h. */ |
3767 |
> |
|
3768 |
> |
int |
3769 |
> |
main () |
3770 |
> |
{ |
3771 |
> |
#ifndef __GNUC__ |
3772 |
> |
choke me |
3773 |
> |
#endif |
3774 |
> |
|
3775 |
> |
; |
3776 |
> |
return 0; |
3777 |
> |
} |
3778 |
> |
_ACEOF |
3779 |
> |
rm -f conftest.$ac_objext |
3780 |
> |
if { (ac_try="$ac_compile" |
3781 |
> |
case "(($ac_try" in |
3782 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3783 |
> |
*) ac_try_echo=$ac_try;; |
3784 |
> |
esac |
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 |
> |
$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 |
> |
$as_echo "$as_me: failed program was:" >&5 |
3800 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
3801 |
> |
|
3802 |
> |
ac_compiler_gnu=no |
3803 |
> |
fi |
3804 |
> |
|
3805 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3806 |
> |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
3807 |
> |
|
3808 |
> |
fi |
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 |
> |
{ $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 |
> |
$as_echo_n "(cached) " >&6 |
3822 |
> |
else |
3823 |
> |
ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
3824 |
> |
ac_cxx_werror_flag=yes |
3825 |
> |
ac_cv_prog_cxx_g=no |
3826 |
> |
CXXFLAGS="-g" |
3827 |
> |
cat >conftest.$ac_ext <<_ACEOF |
3828 |
> |
/* confdefs.h. */ |
3829 |
> |
_ACEOF |
3830 |
> |
cat confdefs.h >>conftest.$ac_ext |
3831 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
3832 |
> |
/* end confdefs.h. */ |
3833 |
> |
|
3834 |
> |
int |
3835 |
> |
main () |
3836 |
> |
{ |
3837 |
> |
|
3838 |
> |
; |
3839 |
> |
return 0; |
3840 |
> |
} |
3841 |
> |
_ACEOF |
3842 |
> |
rm -f conftest.$ac_objext |
3843 |
> |
if { (ac_try="$ac_compile" |
3844 |
> |
case "(($ac_try" in |
3845 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3846 |
> |
*) ac_try_echo=$ac_try;; |
3847 |
> |
esac |
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 |
> |
$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 |
> |
$as_echo "$as_me: failed program was:" >&5 |
3863 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
3864 |
> |
|
3865 |
> |
CXXFLAGS="" |
3866 |
> |
cat >conftest.$ac_ext <<_ACEOF |
3867 |
> |
/* confdefs.h. */ |
3868 |
> |
_ACEOF |
3869 |
> |
cat confdefs.h >>conftest.$ac_ext |
3870 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
3871 |
> |
/* end confdefs.h. */ |
3872 |
> |
|
3873 |
> |
int |
3874 |
> |
main () |
3875 |
> |
{ |
3876 |
> |
|
3877 |
> |
; |
3878 |
> |
return 0; |
3879 |
> |
} |
3880 |
> |
_ACEOF |
3881 |
> |
rm -f conftest.$ac_objext |
3882 |
> |
if { (ac_try="$ac_compile" |
3883 |
> |
case "(($ac_try" in |
3884 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3885 |
> |
*) ac_try_echo=$ac_try;; |
3886 |
> |
esac |
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 |
> |
$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 |
> |
$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 |
3905 |
> |
CXXFLAGS="-g" |
3906 |
> |
cat >conftest.$ac_ext <<_ACEOF |
3907 |
> |
/* confdefs.h. */ |
3908 |
> |
_ACEOF |
3909 |
> |
cat confdefs.h >>conftest.$ac_ext |
3910 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
3911 |
> |
/* end confdefs.h. */ |
3912 |
> |
|
3913 |
> |
int |
3914 |
> |
main () |
3915 |
> |
{ |
3916 |
> |
|
3917 |
> |
; |
3918 |
> |
return 0; |
3919 |
> |
} |
3920 |
> |
_ACEOF |
3921 |
> |
rm -f conftest.$ac_objext |
3922 |
> |
if { (ac_try="$ac_compile" |
3923 |
> |
case "(($ac_try" in |
3924 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3925 |
> |
*) ac_try_echo=$ac_try;; |
3926 |
> |
esac |
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 |
> |
$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 |
> |
$as_echo "$as_me: failed program was:" >&5 |
3942 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
3943 |
> |
|
3944 |
> |
|
3945 |
> |
fi |
3946 |
> |
|
3947 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3948 |
> |
fi |
3949 |
> |
|
3950 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3951 |
> |
fi |
3952 |
> |
|
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 |
> |
{ $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 |
3961 |
> |
if test "$GXX" = yes; then |
3962 |
> |
CXXFLAGS="-g -O2" |
3963 |
> |
else |
3964 |
> |
CXXFLAGS="-g" |
3965 |
> |
fi |
3966 |
> |
else |
3967 |
> |
if test "$GXX" = yes; then |
3968 |
> |
CXXFLAGS="-O2" |
3969 |
> |
else |
3970 |
> |
CXXFLAGS= |
3971 |
> |
fi |
3972 |
> |
fi |
3973 |
> |
ac_ext=c |
3974 |
> |
ac_cpp='$CPP $CPPFLAGS' |
3975 |
> |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3976 |
> |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3977 |
> |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3978 |
> |
|
3979 |
> |
ac_ext=c |
3980 |
> |
ac_cpp='$CPP $CPPFLAGS' |
3981 |
> |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3982 |
> |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3983 |
> |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3984 |
> |
if test -n "$ac_tool_prefix"; then |
3985 |
> |
for ac_prog in $CC $ac_cv_prog_acx_mpi_mpicc icc pathcc pgcc cc xlc gcc |
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 |
> |
{ $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 |
> |
$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. |
3996 |
> |
else |
3997 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3998 |
> |
for as_dir in $PATH |
3999 |
> |
do |
4000 |
> |
IFS=$as_save_IFS |
4001 |
> |
test -z "$as_dir" && as_dir=. |
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 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4006 |
> |
break 2 |
4007 |
> |
fi |
4008 |
> |
done |
4009 |
> |
done |
4010 |
> |
IFS=$as_save_IFS |
4011 |
> |
|
4012 |
> |
fi |
4013 |
> |
fi |
4014 |
> |
CC=$ac_cv_prog_CC |
4015 |
> |
if test -n "$CC"; then |
4016 |
> |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5 |
4017 |
> |
$as_echo "$CC" >&6; } |
4018 |
> |
else |
4019 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
4020 |
> |
$as_echo "no" >&6; } |
4021 |
> |
fi |
4022 |
> |
|
4023 |
> |
|
4024 |
> |
test -n "$CC" && break |
4025 |
> |
done |
4026 |
> |
fi |
4027 |
> |
if test -z "$CC"; then |
4028 |
> |
ac_ct_CC=$CC |
4029 |
> |
for ac_prog in $CC $ac_cv_prog_acx_mpi_mpicc icc pathcc pgcc cc xlc gcc |
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 |
> |
{ $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 |
> |
$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. |
4040 |
> |
else |
4041 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4042 |
> |
for as_dir in $PATH |
4043 |
> |
do |
4044 |
> |
IFS=$as_save_IFS |
4045 |
> |
test -z "$as_dir" && as_dir=. |
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 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4050 |
> |
break 2 |
4051 |
> |
fi |
4052 |
> |
done |
4053 |
> |
done |
4054 |
> |
IFS=$as_save_IFS |
4055 |
> |
|
4056 |
> |
fi |
4057 |
> |
fi |
4058 |
> |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
4059 |
> |
if test -n "$ac_ct_CC"; then |
4060 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
4061 |
> |
$as_echo "$ac_ct_CC" >&6; } |
4062 |
> |
else |
4063 |
> |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
4064 |
> |
$as_echo "no" >&6; } |
4065 |
> |
fi |
4066 |
> |
|
4067 |
> |
|
4068 |
> |
test -n "$ac_ct_CC" && break |
4069 |
> |
done |
4070 |
> |
|
4071 |
> |
if test "x$ac_ct_CC" = x; then |
4072 |
> |
CC="" |
4073 |
> |
else |
4074 |
> |
case $cross_compiling:$ac_tool_warned in |
4075 |
> |
yes:) |
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 |
> |
$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 ;; |
4083 |
> |
esac |
4084 |
> |
CC=$ac_ct_CC |
4085 |
> |
fi |
4086 |
> |
fi |
4087 |
> |
|
4088 |
> |
|
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 |
> |
$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 |
> |
$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 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 |
> |
$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 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 |
> |
$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 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 |
> |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4131 |
> |
(exit $ac_status); } |
4132 |
> |
|
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 |
> |
$as_echo_n "(cached) " >&6 |
4137 |
> |
else |
4138 |
> |
cat >conftest.$ac_ext <<_ACEOF |
4139 |
> |
/* confdefs.h. */ |
4140 |
> |
_ACEOF |
4141 |
> |
cat confdefs.h >>conftest.$ac_ext |
4142 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
4143 |
> |
/* end confdefs.h. */ |
4144 |
> |
|
4145 |
> |
int |
4146 |
> |
main () |
4147 |
> |
{ |
4148 |
> |
#ifndef __GNUC__ |
4149 |
> |
choke me |
4150 |
> |
#endif |
4151 |
> |
|
4152 |
> |
; |
4153 |
> |
return 0; |
4154 |
> |
} |
4155 |
> |
_ACEOF |
4156 |
> |
rm -f conftest.$ac_objext |
4157 |
> |
if { (ac_try="$ac_compile" |
4158 |
> |
case "(($ac_try" in |
4159 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4160 |
> |
*) ac_try_echo=$ac_try;; |
4161 |
> |
esac |
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 |
> |
$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 |
> |
$as_echo "$as_me: failed program was:" >&5 |
4177 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
4178 |
> |
|
4179 |
> |
ac_compiler_gnu=no |
4180 |
> |
fi |
4181 |
> |
|
4182 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4183 |
> |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
4184 |
> |
|
4185 |
> |
fi |
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 |
|
|
4474 |
|
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
4475 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
4476 |
|
if test -n "$ac_tool_prefix"; then |
4477 |
< |
for ac_prog in mpif90 ifort ifc pathf95 pgf95 xlf95 lf95 epcf90 pathf90 xlf90 f95 f90 gfortran g95 fort |
4477 |
> |
for ac_prog in $FC $ac_cv_prog_acx_mpi_mpif90 ifort ifc pathf95 pgf95 xlf95 lf95 epcf90 pathf90 xlf90 f95 f90 gfortran g95 fort |
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 |
|
|
4518 |
|
fi |
4519 |
|
if test -z "$FC"; then |
4520 |
|
ac_ct_FC=$FC |
4521 |
< |
for ac_prog in mpif90 ifort ifc pathf95 pgf95 xlf95 lf95 epcf90 pathf90 xlf90 f95 f90 gfortran g95 fort |
4521 |
> |
for ac_prog in $FC $ac_cv_prog_acx_mpi_mpif90 ifort ifc pathf95 pgf95 xlf95 lf95 epcf90 pathf90 xlf90 f95 f90 gfortran g95 fort |
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 |
3796 |
< |
if test -z "$GREP"; then |
3797 |
< |
set dummy grep ggrep; ac_prog_name=$2 |
3798 |
< |
if test "${ac_cv_path_GREP+set}" = set; then |
3799 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3800 |
< |
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 |
3844 |
– |
|
3845 |
– |
done |
5020 |
|
IFS=$as_save_IFS |
5021 |
< |
|
5022 |
< |
|
5023 |
< |
fi |
3850 |
< |
|
3851 |
< |
GREP="$ac_cv_path_GREP" |
3852 |
< |
if test -z "$GREP"; then |
3853 |
< |
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
3854 |
< |
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 |
3857 |
< |
|
5025 |
> |
fi |
5026 |
|
else |
5027 |
|
ac_cv_path_GREP=$GREP |
5028 |
|
fi |
5029 |
|
|
3862 |
– |
|
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 |
3878 |
< |
if test -z "$EGREP"; then |
3879 |
< |
set dummy egrep; ac_prog_name=$2 |
3880 |
< |
if test "${ac_cv_path_EGREP+set}" = set; then |
3881 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3882 |
< |
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 |
3926 |
– |
|
3927 |
– |
done |
5088 |
|
IFS=$as_save_IFS |
5089 |
< |
|
5090 |
< |
|
5091 |
< |
fi |
3932 |
< |
|
3933 |
< |
EGREP="$ac_cv_path_EGREP" |
3934 |
< |
if test -z "$EGREP"; then |
3935 |
< |
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
3936 |
< |
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 |
3939 |
< |
|
5093 |
> |
fi |
5094 |
|
else |
5095 |
|
ac_cv_path_EGREP=$EGREP |
5096 |
|
fi |
5097 |
|
|
3944 |
– |
|
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 |
|
|
5243 |
< |
for ac_prog in 'bison -y' byacc |
5244 |
< |
do |
5245 |
< |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
5246 |
< |
set dummy $ac_prog; ac_word=$2 |
5247 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5248 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5249 |
< |
if test "${ac_cv_prog_YACC+set}" = set; then |
4096 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5243 |
> |
|
5244 |
> |
# Extract the first word of "perl", so it can be a program name with args. |
5245 |
> |
set dummy perl; ac_word=$2 |
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 |
> |
$as_echo_n "(cached) " >&6 |
5250 |
|
else |
5251 |
< |
if test -n "$YACC"; then |
5252 |
< |
ac_cv_prog_YACC="$YACC" # Let the user override the test. |
5253 |
< |
else |
5254 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5251 |
> |
case $PERLINTERP in |
5252 |
> |
[\\/]* | ?:[\\/]*) |
5253 |
> |
ac_cv_path_PERLINTERP="$PERLINTERP" # Let the user override the test with a path. |
5254 |
> |
;; |
5255 |
> |
*) |
5256 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5257 |
|
for as_dir in $PATH |
5258 |
|
do |
5259 |
|
IFS=$as_save_IFS |
5260 |
|
test -z "$as_dir" && as_dir=. |
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_prog_YACC="$ac_prog" |
5264 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5263 |
> |
ac_cv_path_PERLINTERP="$as_dir/$ac_word$ac_exec_ext" |
5264 |
> |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5265 |
|
break 2 |
5266 |
|
fi |
5267 |
|
done |
5268 |
|
done |
5269 |
|
IFS=$as_save_IFS |
5270 |
|
|
5271 |
+ |
test -z "$ac_cv_path_PERLINTERP" && ac_cv_path_PERLINTERP="perl" |
5272 |
+ |
;; |
5273 |
+ |
esac |
5274 |
|
fi |
5275 |
< |
fi |
5276 |
< |
YACC=$ac_cv_prog_YACC |
5277 |
< |
if test -n "$YACC"; then |
5278 |
< |
{ echo "$as_me:$LINENO: result: $YACC" >&5 |
4121 |
< |
echo "${ECHO_T}$YACC" >&6; } |
5275 |
> |
PERLINTERP=$ac_cv_path_PERLINTERP |
5276 |
> |
if test -n "$PERLINTERP"; then |
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 |
|
|
5285 |
< |
test -n "$YACC" && break |
5286 |
< |
done |
4130 |
< |
test -n "$YACC" || YACC="yacc" |
5285 |
> |
ac_cv_path_perlinterp="$PERLINTERP" |
5286 |
> |
_sHpB='#!' |
5287 |
|
|
5288 |
|
|
5289 |
< |
for ac_prog in flex lex |
5290 |
< |
do |
5291 |
< |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
4136 |
< |
set dummy $ac_prog; ac_word=$2 |
4137 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4138 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4139 |
< |
if test "${ac_cv_prog_LEX+set}" = set; then |
4140 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5289 |
> |
# Check whether --with-perl-shebang was given. |
5290 |
> |
if test "${with_perl_shebang+set}" = set; then |
5291 |
> |
withval=$with_perl_shebang; opt_perl_shebang="$withval" |
5292 |
|
else |
4142 |
– |
if test -n "$LEX"; then |
4143 |
– |
ac_cv_prog_LEX="$LEX" # Let the user override the test. |
4144 |
– |
else |
4145 |
– |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4146 |
– |
for as_dir in $PATH |
4147 |
– |
do |
4148 |
– |
IFS=$as_save_IFS |
4149 |
– |
test -z "$as_dir" && as_dir=. |
4150 |
– |
for ac_exec_ext in '' $ac_executable_extensions; do |
4151 |
– |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4152 |
– |
ac_cv_prog_LEX="$ac_prog" |
4153 |
– |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4154 |
– |
break 2 |
4155 |
– |
fi |
4156 |
– |
done |
4157 |
– |
done |
4158 |
– |
IFS=$as_save_IFS |
4159 |
– |
|
4160 |
– |
fi |
4161 |
– |
fi |
4162 |
– |
LEX=$ac_cv_prog_LEX |
4163 |
– |
if test -n "$LEX"; then |
4164 |
– |
{ echo "$as_me:$LINENO: result: $LEX" >&5 |
4165 |
– |
echo "${ECHO_T}$LEX" >&6; } |
4166 |
– |
else |
4167 |
– |
{ echo "$as_me:$LINENO: result: no" >&5 |
4168 |
– |
echo "${ECHO_T}no" >&6; } |
4169 |
– |
fi |
4170 |
– |
|
4171 |
– |
|
4172 |
– |
test -n "$LEX" && break |
4173 |
– |
done |
4174 |
– |
test -n "$LEX" || LEX=":" |
4175 |
– |
|
4176 |
– |
if test "x$LEX" != "x:"; then |
4177 |
– |
cat >conftest.l <<_ACEOF |
4178 |
– |
%% |
4179 |
– |
a { ECHO; } |
4180 |
– |
b { REJECT; } |
4181 |
– |
c { yymore (); } |
4182 |
– |
d { yyless (1); } |
4183 |
– |
e { yyless (input () != 0); } |
4184 |
– |
f { unput (yytext[0]); } |
4185 |
– |
. { BEGIN INITIAL; } |
4186 |
– |
%% |
4187 |
– |
#ifdef YYTEXT_POINTER |
4188 |
– |
extern char *yytext; |
4189 |
– |
#endif |
4190 |
– |
int |
4191 |
– |
main (void) |
4192 |
– |
{ |
4193 |
– |
return ! yylex () + ! yywrap (); |
4194 |
– |
} |
4195 |
– |
_ACEOF |
4196 |
– |
{ (ac_try="$LEX conftest.l" |
4197 |
– |
case "(($ac_try" in |
4198 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4199 |
– |
*) ac_try_echo=$ac_try;; |
4200 |
– |
esac |
4201 |
– |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4202 |
– |
(eval "$LEX conftest.l") 2>&5 |
4203 |
– |
ac_status=$? |
4204 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4205 |
– |
(exit $ac_status); } |
4206 |
– |
{ echo "$as_me:$LINENO: checking lex output file root" >&5 |
4207 |
– |
echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; } |
4208 |
– |
if test "${ac_cv_prog_lex_root+set}" = set; then |
4209 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4210 |
– |
else |
4211 |
– |
|
4212 |
– |
if test -f lex.yy.c; then |
4213 |
– |
ac_cv_prog_lex_root=lex.yy |
4214 |
– |
elif test -f lexyy.c; then |
4215 |
– |
ac_cv_prog_lex_root=lexyy |
4216 |
– |
else |
4217 |
– |
{ { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5 |
4218 |
– |
echo "$as_me: error: cannot find output from $LEX; giving up" >&2;} |
4219 |
– |
{ (exit 1); exit 1; }; } |
4220 |
– |
fi |
4221 |
– |
fi |
4222 |
– |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5 |
4223 |
– |
echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; } |
4224 |
– |
LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root |
4225 |
– |
|
4226 |
– |
if test -z "${LEXLIB+set}"; then |
4227 |
– |
{ echo "$as_me:$LINENO: checking lex library" >&5 |
4228 |
– |
echo $ECHO_N "checking lex library... $ECHO_C" >&6; } |
4229 |
– |
if test "${ac_cv_lib_lex+set}" = set; then |
4230 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4231 |
– |
else |
4232 |
– |
|
4233 |
– |
ac_save_LIBS=$LIBS |
4234 |
– |
ac_cv_lib_lex='none needed' |
4235 |
– |
for ac_lib in '' -lfl -ll; do |
4236 |
– |
LIBS="$ac_lib $ac_save_LIBS" |
4237 |
– |
cat >conftest.$ac_ext <<_ACEOF |
4238 |
– |
`cat $LEX_OUTPUT_ROOT.c` |
4239 |
– |
_ACEOF |
4240 |
– |
rm -f conftest.$ac_objext conftest$ac_exeext |
4241 |
– |
if { (ac_try="$ac_link" |
4242 |
– |
case "(($ac_try" in |
4243 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4244 |
– |
*) ac_try_echo=$ac_try;; |
4245 |
– |
esac |
4246 |
– |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4247 |
– |
(eval "$ac_link") 2>conftest.er1 |
4248 |
– |
ac_status=$? |
4249 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
4250 |
– |
rm -f conftest.er1 |
4251 |
– |
cat conftest.err >&5 |
4252 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4253 |
– |
(exit $ac_status); } && { |
4254 |
– |
test -z "$ac_c_werror_flag" || |
4255 |
– |
test ! -s conftest.err |
4256 |
– |
} && test -s conftest$ac_exeext && |
4257 |
– |
$as_test_x conftest$ac_exeext; then |
4258 |
– |
ac_cv_lib_lex=$ac_lib |
4259 |
– |
else |
4260 |
– |
echo "$as_me: failed program was:" >&5 |
4261 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
4262 |
– |
|
4263 |
– |
|
4264 |
– |
fi |
4265 |
– |
|
4266 |
– |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
4267 |
– |
conftest$ac_exeext conftest.$ac_ext |
4268 |
– |
test "$ac_cv_lib_lex" != 'none needed' && break |
4269 |
– |
done |
4270 |
– |
LIBS=$ac_save_LIBS |
4271 |
– |
|
4272 |
– |
fi |
4273 |
– |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5 |
4274 |
– |
echo "${ECHO_T}$ac_cv_lib_lex" >&6; } |
4275 |
– |
test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex |
4276 |
– |
fi |
4277 |
– |
|
4278 |
– |
|
4279 |
– |
{ echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5 |
4280 |
– |
echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; } |
4281 |
– |
if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then |
4282 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4283 |
– |
else |
4284 |
– |
# POSIX says lex can declare yytext either as a pointer or an array; the |
4285 |
– |
# default is implementation-dependent. Figure out which it is, since |
4286 |
– |
# not all implementations provide the %pointer and %array declarations. |
4287 |
– |
ac_cv_prog_lex_yytext_pointer=no |
4288 |
– |
ac_save_LIBS=$LIBS |
4289 |
– |
LIBS="$LEXLIB $ac_save_LIBS" |
4290 |
– |
cat >conftest.$ac_ext <<_ACEOF |
4291 |
– |
#define YYTEXT_POINTER 1 |
4292 |
– |
`cat $LEX_OUTPUT_ROOT.c` |
4293 |
– |
_ACEOF |
4294 |
– |
rm -f conftest.$ac_objext conftest$ac_exeext |
4295 |
– |
if { (ac_try="$ac_link" |
4296 |
– |
case "(($ac_try" in |
4297 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4298 |
– |
*) ac_try_echo=$ac_try;; |
4299 |
– |
esac |
4300 |
– |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4301 |
– |
(eval "$ac_link") 2>conftest.er1 |
4302 |
– |
ac_status=$? |
4303 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
4304 |
– |
rm -f conftest.er1 |
4305 |
– |
cat conftest.err >&5 |
4306 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4307 |
– |
(exit $ac_status); } && { |
4308 |
– |
test -z "$ac_c_werror_flag" || |
4309 |
– |
test ! -s conftest.err |
4310 |
– |
} && test -s conftest$ac_exeext && |
4311 |
– |
$as_test_x conftest$ac_exeext; then |
4312 |
– |
ac_cv_prog_lex_yytext_pointer=yes |
4313 |
– |
else |
4314 |
– |
echo "$as_me: failed program was:" >&5 |
4315 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
4316 |
– |
|
4317 |
– |
|
4318 |
– |
fi |
4319 |
– |
|
4320 |
– |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
4321 |
– |
conftest$ac_exeext conftest.$ac_ext |
4322 |
– |
LIBS=$ac_save_LIBS |
4323 |
– |
|
4324 |
– |
fi |
4325 |
– |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5 |
4326 |
– |
echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; } |
4327 |
– |
if test $ac_cv_prog_lex_yytext_pointer = yes; then |
4328 |
– |
|
4329 |
– |
cat >>confdefs.h <<\_ACEOF |
4330 |
– |
#define YYTEXT_POINTER 1 |
4331 |
– |
_ACEOF |
4332 |
– |
|
4333 |
– |
fi |
4334 |
– |
rm -f conftest.l $LEX_OUTPUT_ROOT.c |
4335 |
– |
|
4336 |
– |
fi |
4337 |
– |
|
4338 |
– |
# Extract the first word of "perl", so it can be a program name with args. |
4339 |
– |
set dummy perl; ac_word=$2 |
4340 |
– |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4341 |
– |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4342 |
– |
if test "${ac_cv_path_PERLINTERP+set}" = set; then |
4343 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4344 |
– |
else |
4345 |
– |
case $PERLINTERP in |
4346 |
– |
[\\/]* | ?:[\\/]*) |
4347 |
– |
ac_cv_path_PERLINTERP="$PERLINTERP" # Let the user override the test with a path. |
4348 |
– |
;; |
4349 |
– |
*) |
4350 |
– |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4351 |
– |
for as_dir in $PATH |
4352 |
– |
do |
4353 |
– |
IFS=$as_save_IFS |
4354 |
– |
test -z "$as_dir" && as_dir=. |
4355 |
– |
for ac_exec_ext in '' $ac_executable_extensions; do |
4356 |
– |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4357 |
– |
ac_cv_path_PERLINTERP="$as_dir/$ac_word$ac_exec_ext" |
4358 |
– |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4359 |
– |
break 2 |
4360 |
– |
fi |
4361 |
– |
done |
4362 |
– |
done |
4363 |
– |
IFS=$as_save_IFS |
4364 |
– |
|
4365 |
– |
test -z "$ac_cv_path_PERLINTERP" && ac_cv_path_PERLINTERP="perl" |
4366 |
– |
;; |
4367 |
– |
esac |
4368 |
– |
fi |
4369 |
– |
PERLINTERP=$ac_cv_path_PERLINTERP |
4370 |
– |
if test -n "$PERLINTERP"; then |
4371 |
– |
{ echo "$as_me:$LINENO: result: $PERLINTERP" >&5 |
4372 |
– |
echo "${ECHO_T}$PERLINTERP" >&6; } |
4373 |
– |
else |
4374 |
– |
{ echo "$as_me:$LINENO: result: no" >&5 |
4375 |
– |
echo "${ECHO_T}no" >&6; } |
4376 |
– |
fi |
4377 |
– |
|
4378 |
– |
|
4379 |
– |
ac_cv_path_perlinterp="$PERLINTERP" |
4380 |
– |
_sHpB='#!' |
4381 |
– |
|
4382 |
– |
|
4383 |
– |
# Check whether --with-perl-shebang was given. |
4384 |
– |
if test "${with_perl_shebang+set}" = set; then |
4385 |
– |
withval=$with_perl_shebang; opt_perl_shebang="$withval" |
4386 |
– |
else |
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; } |
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 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
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 |
7966 |
– |
QHULL_OLD_LDFLAGS=$LDFLAGS |
7967 |
– |
QHULL_OLD_CFLAGS=$CFLAGS |
7968 |
– |
LDFLAGS="$LDFLAGS -L${QHULL_HOME}/lib" |
7969 |
– |
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 |
7983 |
< |
LIBS="-lqhull $LIBS" |
7984 |
< |
cat >conftest.$ac_ext <<_ACEOF |
7985 |
< |
/* confdefs.h. */ |
7986 |
< |
_ACEOF |
7987 |
< |
cat confdefs.h >>conftest.$ac_ext |
7988 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
7989 |
< |
/* end confdefs.h. */ |
7990 |
< |
|
7991 |
< |
/* Override any GCC internal prototype to avoid an error. |
7992 |
< |
Use char because int might match the return type of a GCC |
7993 |
< |
builtin and then its argument prototype would still apply. */ |
7994 |
< |
#ifdef __cplusplus |
7995 |
< |
extern "C" |
7996 |
< |
#endif |
7997 |
< |
char qh_qhull (); |
7998 |
< |
#ifdef FC_DUMMY_MAIN |
7999 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
8000 |
< |
# ifdef __cplusplus |
8001 |
< |
extern "C" |
8002 |
< |
# endif |
8003 |
< |
int FC_DUMMY_MAIN() { return 1; } |
8004 |
< |
#endif |
8005 |
< |
#endif |
8006 |
< |
int |
8007 |
< |
main () |
8008 |
< |
{ |
8009 |
< |
return qh_qhull (); |
8010 |
< |
; |
8011 |
< |
return 0; |
8012 |
< |
} |
8013 |
< |
_ACEOF |
8014 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
8015 |
< |
if { (ac_try="$ac_link" |
8016 |
< |
case "(($ac_try" in |
8017 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8018 |
< |
*) ac_try_echo=$ac_try;; |
8019 |
< |
esac |
8020 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8021 |
< |
(eval "$ac_link") 2>conftest.er1 |
8022 |
< |
ac_status=$? |
8023 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
8024 |
< |
rm -f conftest.er1 |
8025 |
< |
cat conftest.err >&5 |
8026 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8027 |
< |
(exit $ac_status); } && { |
8028 |
< |
test -z "$ac_c_werror_flag" || |
8029 |
< |
test ! -s conftest.err |
8030 |
< |
} && test -s conftest$ac_exeext && |
8031 |
< |
$as_test_x conftest$ac_exeext; then |
8032 |
< |
ac_cv_lib_qhull_qh_qhull=yes |
8033 |
< |
else |
8034 |
< |
echo "$as_me: failed program was:" >&5 |
8035 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
8036 |
< |
|
8037 |
< |
ac_cv_lib_qhull_qh_qhull=no |
8038 |
< |
fi |
8039 |
< |
|
8040 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
8041 |
< |
conftest$ac_exeext conftest.$ac_ext |
8042 |
< |
LIBS=$ac_check_lib_save_LIBS |
8043 |
< |
fi |
8044 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_qhull_qh_qhull" >&5 |
8045 |
< |
echo "${ECHO_T}$ac_cv_lib_qhull_qh_qhull" >&6; } |
8046 |
< |
if test $ac_cv_lib_qhull_qh_qhull = yes; then |
8047 |
< |
qhull_cv_libqhull=yes |
8048 |
< |
else |
8049 |
< |
qhull_cv_libqhull=no |
8050 |
< |
fi |
8051 |
< |
|
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" |
8220 |
< |
{ echo "$as_me:$LINENO: result: failed" >&5 |
8221 |
< |
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 |
9513 |
|
OPENBABEL_OLD_CPPFLAGS=$CPPFLAGS |
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_2_0_openbabel_babelconfig_h+set}" = set; then |
9517 |
< |
{ echo "$as_me:$LINENO: checking for openbabel-2.0/openbabel/babelconfig.h" >&5 |
9518 |
< |
echo $ECHO_N "checking for openbabel-2.0/openbabel/babelconfig.h... $ECHO_C" >&6; } |
9519 |
< |
if test "${ac_cv_header_openbabel_2_0_openbabel_babelconfig_h+set}" = set; then |
9520 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9516 |
> |
if test "${ac_cv_header_openbabel_babelconfig_h+set}" = set; then |
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 |
> |
$as_echo_n "(cached) " >&6 |
9521 |
|
fi |
9522 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_openbabel_2_0_openbabel_babelconfig_h" >&5 |
9523 |
< |
echo "${ECHO_T}$ac_cv_header_openbabel_2_0_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-2.0/openbabel/babelconfig.h usability" >&5 |
9527 |
< |
echo $ECHO_N "checking openbabel-2.0/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 |
9532 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9533 |
|
/* end confdefs.h. */ |
9534 |
|
$ac_includes_default |
9535 |
< |
#include <openbabel-2.0/openbabel/babelconfig.h> |
9535 |
> |
#include <openbabel/babelconfig.h> |
9536 |
|
_ACEOF |
9537 |
|
rm -f conftest.$ac_objext |
9538 |
|
if { (ac_try="$ac_compile" |
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-2.0/openbabel/babelconfig.h presence" >&5 |
9569 |
< |
echo $ECHO_N "checking openbabel-2.0/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 |
9573 |
|
cat confdefs.h >>conftest.$ac_ext |
9574 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9575 |
|
/* end confdefs.h. */ |
9576 |
< |
#include <openbabel-2.0/openbabel/babelconfig.h> |
9576 |
> |
#include <openbabel/babelconfig.h> |
9577 |
|
_ACEOF |
9578 |
|
if { (ac_try="$ac_cpp conftest.$ac_ext" |
9579 |
|
case "(($ac_try" in |
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-2.0/openbabel/babelconfig.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
9611 |
< |
echo "$as_me: WARNING: openbabel-2.0/openbabel/babelconfig.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
9612 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel-2.0/openbabel/babelconfig.h: proceeding with the compiler's result" >&5 |
9613 |
< |
echo "$as_me: WARNING: openbabel-2.0/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-2.0/openbabel/babelconfig.h: present but cannot be compiled" >&5 |
9618 |
< |
echo "$as_me: WARNING: openbabel-2.0/openbabel/babelconfig.h: present but cannot be compiled" >&2;} |
9619 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel-2.0/openbabel/babelconfig.h: check for missing prerequisite headers?" >&5 |
9620 |
< |
echo "$as_me: WARNING: openbabel-2.0/openbabel/babelconfig.h: check for missing prerequisite headers?" >&2;} |
9621 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel-2.0/openbabel/babelconfig.h: see the Autoconf documentation" >&5 |
9622 |
< |
echo "$as_me: WARNING: openbabel-2.0/openbabel/babelconfig.h: see the Autoconf documentation" >&2;} |
9623 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel-2.0/openbabel/babelconfig.h: section \"Present But Cannot Be Compiled\"" >&5 |
9624 |
< |
echo "$as_me: WARNING: openbabel-2.0/openbabel/babelconfig.h: section \"Present But Cannot Be Compiled\"" >&2;} |
9625 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel-2.0/openbabel/babelconfig.h: proceeding with the preprocessor's result" >&5 |
9626 |
< |
echo "$as_me: WARNING: openbabel-2.0/openbabel/babelconfig.h: proceeding with the preprocessor's result" >&2;} |
9627 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel-2.0/openbabel/babelconfig.h: in the future, the compiler will take precedence" >&5 |
9628 |
< |
echo "$as_me: WARNING: openbabel-2.0/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-2.0/openbabel/babelconfig.h" >&5 |
9638 |
< |
echo $ECHO_N "checking for openbabel-2.0/openbabel/babelconfig.h... $ECHO_C" >&6; } |
9639 |
< |
if test "${ac_cv_header_openbabel_2_0_openbabel_babelconfig_h+set}" = set; then |
9640 |
< |
echo $ECHO_N "(cached) $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 |
> |
$as_echo_n "(cached) " >&6 |
9641 |
|
else |
9642 |
< |
ac_cv_header_openbabel_2_0_openbabel_babelconfig_h=$ac_header_preproc |
9642 |
> |
ac_cv_header_openbabel_babelconfig_h=$ac_header_preproc |
9643 |
|
fi |
9644 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_openbabel_2_0_openbabel_babelconfig_h" >&5 |
9645 |
< |
echo "${ECHO_T}$ac_cv_header_openbabel_2_0_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_2_0_openbabel_babelconfig_h = yes; then |
9648 |
> |
if test $ac_cv_header_openbabel_babelconfig_h = yes; then |
9649 |
|
openbabel_cv_openbabel_h=yes |
9650 |
|
else |
9651 |
|
openbabel_cv_openbabel_h=no |
9652 |
|
fi |
9653 |
|
|
9654 |
|
|
9655 |
< |
if test "${ac_cv_header_openbabel_2_0_openbabel_obconversion_h+set}" = set; then |
9656 |
< |
{ echo "$as_me:$LINENO: checking for openbabel-2.0/openbabel/obconversion.h" >&5 |
9657 |
< |
echo $ECHO_N "checking for openbabel-2.0/openbabel/obconversion.h... $ECHO_C" >&6; } |
9658 |
< |
if test "${ac_cv_header_openbabel_2_0_openbabel_obconversion_h+set}" = set; then |
9659 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9655 |
> |
if test "${ac_cv_header_openbabel_obconversion_h+set}" = set; then |
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 |
> |
$as_echo_n "(cached) " >&6 |
9660 |
|
fi |
9661 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_openbabel_2_0_openbabel_obconversion_h" >&5 |
9662 |
< |
echo "${ECHO_T}$ac_cv_header_openbabel_2_0_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-2.0/openbabel/obconversion.h usability" >&5 |
9666 |
< |
echo $ECHO_N "checking openbabel-2.0/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 |
9671 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9672 |
|
/* end confdefs.h. */ |
9673 |
|
$ac_includes_default |
9674 |
< |
#include <openbabel-2.0/openbabel/obconversion.h> |
9674 |
> |
#include <openbabel/obconversion.h> |
9675 |
|
_ACEOF |
9676 |
|
rm -f conftest.$ac_objext |
9677 |
|
if { (ac_try="$ac_compile" |
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-2.0/openbabel/obconversion.h presence" >&5 |
9708 |
< |
echo $ECHO_N "checking openbabel-2.0/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 |
9712 |
|
cat confdefs.h >>conftest.$ac_ext |
9713 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9714 |
|
/* end confdefs.h. */ |
9715 |
< |
#include <openbabel-2.0/openbabel/obconversion.h> |
9715 |
> |
#include <openbabel/obconversion.h> |
9716 |
|
_ACEOF |
9717 |
|
if { (ac_try="$ac_cpp conftest.$ac_ext" |
9718 |
|
case "(($ac_try" in |
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-2.0/openbabel/obconversion.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
9750 |
< |
echo "$as_me: WARNING: openbabel-2.0/openbabel/obconversion.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
9751 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel-2.0/openbabel/obconversion.h: proceeding with the compiler's result" >&5 |
9752 |
< |
echo "$as_me: WARNING: openbabel-2.0/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-2.0/openbabel/obconversion.h: present but cannot be compiled" >&5 |
9757 |
< |
echo "$as_me: WARNING: openbabel-2.0/openbabel/obconversion.h: present but cannot be compiled" >&2;} |
9758 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel-2.0/openbabel/obconversion.h: check for missing prerequisite headers?" >&5 |
9759 |
< |
echo "$as_me: WARNING: openbabel-2.0/openbabel/obconversion.h: check for missing prerequisite headers?" >&2;} |
9760 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel-2.0/openbabel/obconversion.h: see the Autoconf documentation" >&5 |
9761 |
< |
echo "$as_me: WARNING: openbabel-2.0/openbabel/obconversion.h: see the Autoconf documentation" >&2;} |
9762 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel-2.0/openbabel/obconversion.h: section \"Present But Cannot Be Compiled\"" >&5 |
9763 |
< |
echo "$as_me: WARNING: openbabel-2.0/openbabel/obconversion.h: section \"Present But Cannot Be Compiled\"" >&2;} |
9764 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel-2.0/openbabel/obconversion.h: proceeding with the preprocessor's result" >&5 |
9765 |
< |
echo "$as_me: WARNING: openbabel-2.0/openbabel/obconversion.h: proceeding with the preprocessor's result" >&2;} |
9766 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel-2.0/openbabel/obconversion.h: in the future, the compiler will take precedence" >&5 |
9767 |
< |
echo "$as_me: WARNING: openbabel-2.0/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-2.0/openbabel/obconversion.h" >&5 |
9777 |
< |
echo $ECHO_N "checking for openbabel-2.0/openbabel/obconversion.h... $ECHO_C" >&6; } |
9778 |
< |
if test "${ac_cv_header_openbabel_2_0_openbabel_obconversion_h+set}" = set; then |
9779 |
< |
echo $ECHO_N "(cached) $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 |
> |
$as_echo_n "(cached) " >&6 |
9780 |
|
else |
9781 |
< |
ac_cv_header_openbabel_2_0_openbabel_obconversion_h=$ac_header_preproc |
9781 |
> |
ac_cv_header_openbabel_obconversion_h=$ac_header_preproc |
9782 |
|
fi |
9783 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_openbabel_2_0_openbabel_obconversion_h" >&5 |
9784 |
< |
echo "${ECHO_T}$ac_cv_header_openbabel_2_0_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_2_0_openbabel_obconversion_h = yes; then |
9787 |
> |
if test $ac_cv_header_openbabel_obconversion_h = yes; then |
9788 |
|
openbabel_cv_obconversion_h=yes |
9789 |
|
else |
9790 |
|
openbabel_cv_obconversion_h=no |
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 |
< |
|
9095 |
< |
|
9096 |
< |
|
9097 |
< |
|
9098 |
< |
|
9099 |
< |
|
9100 |
< |
|
9101 |
< |
|
9102 |
< |
|
9103 |
< |
|
9104 |
< |
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 |
9386 |
– |
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; |
9400 |
< |
if (sizeof (ac__type_new_)) |
9401 |
< |
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 |
9423 |
– |
ac_cv_type__Bool=yes |
9424 |
– |
else |
9425 |
– |
echo "$as_me: failed program was:" >&5 |
9426 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
9427 |
– |
|
9428 |
– |
ac_cv_type__Bool=no |
9429 |
– |
fi |
9430 |
– |
|
9431 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9432 |
– |
fi |
9433 |
– |
{ echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 |
9434 |
– |
echo "${ECHO_T}$ac_cv_type__Bool" >&6; } |
9435 |
– |
if test $ac_cv_type__Bool = yes; then |
9436 |
– |
|
9437 |
– |
cat >>confdefs.h <<_ACEOF |
9438 |
– |
#define HAVE__BOOL 1 |
9439 |
– |
_ACEOF |
9440 |
– |
|
9441 |
– |
|
9442 |
– |
fi |
9443 |
– |
|
9444 |
– |
if test $ac_cv_header_stdbool_h = yes; then |
9445 |
– |
|
9446 |
– |
cat >>confdefs.h <<\_ACEOF |
9447 |
– |
#define HAVE_STDBOOL_H 1 |
9448 |
– |
_ACEOF |
9449 |
– |
|
9450 |
– |
fi |
9451 |
– |
|
9452 |
– |
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
9453 |
– |
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } |
9454 |
– |
if test "${ac_cv_c_const+set}" = set; then |
9455 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9456 |
– |
else |
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 |
< |
|
10443 |
> |
$ac_includes_default |
10444 |
|
#ifdef FC_DUMMY_MAIN |
10445 |
|
#ifndef FC_DUMMY_MAIN_EQ_F77 |
10446 |
|
# ifdef __cplusplus |
10452 |
|
int |
10453 |
|
main () |
10454 |
|
{ |
10455 |
< |
/* FIXME: Include the comments suggested by Paul. */ |
10456 |
< |
#ifndef __cplusplus |
10457 |
< |
/* Ultrix mips cc rejects this. */ |
10458 |
< |
typedef int charset[2]; |
10459 |
< |
const charset cs; |
10460 |
< |
/* SunOS 4.1.1 cc rejects this. */ |
10461 |
< |
char const *const *pcpcc; |
10462 |
< |
char **ppc; |
10463 |
< |
/* NEC SVR4.0.2 mips cc rejects this. */ |
10464 |
< |
struct point {int x, y;}; |
10465 |
< |
static struct point const zero = {0,0}; |
10466 |
< |
/* AIX XL C 1.02.0.0 rejects this. |
10467 |
< |
It does not let you subtract one const X* pointer from another in |
10468 |
< |
an arm of an if-expression whose if-part is not a constant |
10469 |
< |
expression */ |
10470 |
< |
const char *g = "string"; |
10471 |
< |
pcpcc = &g + (g ? g-g : 0); |
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=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 |
> |
|
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 |
10502 |
> |
#define HAVE__BOOL 1 |
10503 |
> |
_ACEOF |
10504 |
> |
|
10505 |
> |
|
10506 |
> |
fi |
10507 |
> |
|
10508 |
> |
if test $ac_cv_header_stdbool_h = yes; then |
10509 |
> |
|
10510 |
> |
cat >>confdefs.h <<\_ACEOF |
10511 |
> |
#define HAVE_STDBOOL_H 1 |
10512 |
> |
_ACEOF |
10513 |
> |
|
10514 |
> |
fi |
10515 |
> |
|
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 |
> |
$as_echo_n "(cached) " >&6 |
10520 |
> |
else |
10521 |
> |
cat >conftest.$ac_ext <<_ACEOF |
10522 |
> |
/* confdefs.h. */ |
10523 |
> |
_ACEOF |
10524 |
> |
cat confdefs.h >>conftest.$ac_ext |
10525 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
10526 |
> |
/* end confdefs.h. */ |
10527 |
> |
|
10528 |
> |
#ifdef FC_DUMMY_MAIN |
10529 |
> |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
10530 |
> |
# ifdef __cplusplus |
10531 |
> |
extern "C" |
10532 |
> |
# endif |
10533 |
> |
int FC_DUMMY_MAIN() { return 1; } |
10534 |
> |
#endif |
10535 |
> |
#endif |
10536 |
> |
int |
10537 |
> |
main () |
10538 |
> |
{ |
10539 |
> |
/* FIXME: Include the comments suggested by Paul. */ |
10540 |
> |
#ifndef __cplusplus |
10541 |
> |
/* Ultrix mips cc rejects this. */ |
10542 |
> |
typedef int charset[2]; |
10543 |
> |
const charset cs; |
10544 |
> |
/* SunOS 4.1.1 cc rejects this. */ |
10545 |
> |
char const *const *pcpcc; |
10546 |
> |
char **ppc; |
10547 |
> |
/* NEC SVR4.0.2 mips cc rejects this. */ |
10548 |
> |
struct point {int x, y;}; |
10549 |
> |
static struct point const zero = {0,0}; |
10550 |
> |
/* AIX XL C 1.02.0.0 rejects this. |
10551 |
> |
It does not let you subtract one const X* pointer from another in |
10552 |
> |
an arm of an if-expression whose if-part is not a constant |
10553 |
> |
expression */ |
10554 |
> |
const char *g = "string"; |
10555 |
> |
pcpcc = &g + (g ? g-g : 0); |
10556 |
|
/* HPUX 7.0 cc rejects these. */ |
10557 |
|
++pcpcc; |
10558 |
|
ppc = (char**) pcpcc; |
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 |
9642 |
< |
# the less common variants. |
9643 |
< |
for ac_kw in restrict __restrict __restrict__ _Restrict; do |
9644 |
< |
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; |
9651 |
< |
int foo (int_ptr $ac_kw ip) { |
9652 |
< |
return ip[0]; |
9653 |
< |
} |
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; |
9667 |
< |
t[0] = 0; |
9668 |
< |
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 |
9690 |
– |
ac_cv_c_restrict=$ac_kw |
9691 |
– |
else |
9692 |
– |
echo "$as_me: failed program was:" >&5 |
9693 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
9694 |
– |
|
9695 |
– |
|
9696 |
– |
fi |
9697 |
– |
|
9698 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9699 |
– |
test "$ac_cv_c_restrict" != no && break |
9700 |
– |
done |
9701 |
– |
|
9702 |
– |
fi |
9703 |
– |
{ echo "$as_me:$LINENO: result: $ac_cv_c_restrict" >&5 |
9704 |
– |
echo "${ECHO_T}$ac_cv_c_restrict" >&6; } |
9705 |
– |
case $ac_cv_c_restrict in |
9706 |
– |
restrict) ;; |
9707 |
– |
no) |
9708 |
– |
cat >>confdefs.h <<\_ACEOF |
9709 |
– |
#define restrict |
9710 |
– |
_ACEOF |
9711 |
– |
;; |
9712 |
– |
*) cat >>confdefs.h <<_ACEOF |
9713 |
– |
#define restrict $ac_cv_c_restrict |
9714 |
– |
_ACEOF |
9715 |
– |
;; |
9716 |
– |
esac |
9717 |
– |
|
9718 |
– |
{ echo "$as_me:$LINENO: checking for size_t" >&5 |
9719 |
– |
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } |
9720 |
– |
if test "${ac_cv_type_size_t+set}" = set; then |
9721 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9722 |
– |
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 |
9730 |
– |
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; |
9744 |
< |
if (sizeof (ac__type_new_)) |
9745 |
< |
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 |
10888 |
|
|
10889 |
|
fi |
10890 |
|
|
9858 |
– |
{ echo "$as_me:$LINENO: checking for clock_t" >&5 |
9859 |
– |
echo $ECHO_N "checking for clock_t... $ECHO_C" >&6; } |
9860 |
– |
if test "${ac_cv_type_clock_t+set}" = set; then |
9861 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9862 |
– |
else |
9863 |
– |
cat >conftest.$ac_ext <<_ACEOF |
9864 |
– |
/* confdefs.h. */ |
9865 |
– |
_ACEOF |
9866 |
– |
cat confdefs.h >>conftest.$ac_ext |
9867 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
9868 |
– |
/* end confdefs.h. */ |
9869 |
– |
$ac_includes_default |
9870 |
– |
typedef clock_t ac__type_new_; |
9871 |
– |
#ifdef FC_DUMMY_MAIN |
9872 |
– |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
9873 |
– |
# ifdef __cplusplus |
9874 |
– |
extern "C" |
9875 |
– |
# endif |
9876 |
– |
int FC_DUMMY_MAIN() { return 1; } |
9877 |
– |
#endif |
9878 |
– |
#endif |
9879 |
– |
int |
9880 |
– |
main () |
9881 |
– |
{ |
9882 |
– |
if ((ac__type_new_ *) 0) |
9883 |
– |
return 0; |
9884 |
– |
if (sizeof (ac__type_new_)) |
9885 |
– |
return 0; |
9886 |
– |
; |
9887 |
– |
return 0; |
9888 |
– |
} |
9889 |
– |
_ACEOF |
9890 |
– |
rm -f conftest.$ac_objext |
9891 |
– |
if { (ac_try="$ac_compile" |
9892 |
– |
case "(($ac_try" in |
9893 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9894 |
– |
*) ac_try_echo=$ac_try;; |
9895 |
– |
esac |
9896 |
– |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9897 |
– |
(eval "$ac_compile") 2>conftest.er1 |
9898 |
– |
ac_status=$? |
9899 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
9900 |
– |
rm -f conftest.er1 |
9901 |
– |
cat conftest.err >&5 |
9902 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9903 |
– |
(exit $ac_status); } && { |
9904 |
– |
test -z "$ac_c_werror_flag" || |
9905 |
– |
test ! -s conftest.err |
9906 |
– |
} && test -s conftest.$ac_objext; then |
9907 |
– |
ac_cv_type_clock_t=yes |
9908 |
– |
else |
9909 |
– |
echo "$as_me: failed program was:" >&5 |
9910 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
10891 |
|
|
9912 |
– |
ac_cv_type_clock_t=no |
9913 |
– |
fi |
9914 |
– |
|
9915 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9916 |
– |
fi |
9917 |
– |
{ echo "$as_me:$LINENO: result: $ac_cv_type_clock_t" >&5 |
9918 |
– |
echo "${ECHO_T}$ac_cv_type_clock_t" >&6; } |
9919 |
– |
if test $ac_cv_type_clock_t = yes; then |
9920 |
– |
|
9921 |
– |
cat >>confdefs.h <<_ACEOF |
9922 |
– |
#define HAVE_CLOCK_T 1 |
9923 |
– |
_ACEOF |
9924 |
– |
|
9925 |
– |
|
9926 |
– |
fi |
9927 |
– |
|
9928 |
– |
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
9929 |
– |
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } |
9930 |
– |
if test "${ac_cv_c_const+set}" = set; then |
9931 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9932 |
– |
else |
9933 |
– |
cat >conftest.$ac_ext <<_ACEOF |
9934 |
– |
/* confdefs.h. */ |
9935 |
– |
_ACEOF |
9936 |
– |
cat confdefs.h >>conftest.$ac_ext |
9937 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
9938 |
– |
/* end confdefs.h. */ |
9939 |
– |
|
9940 |
– |
#ifdef FC_DUMMY_MAIN |
9941 |
– |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
9942 |
– |
# ifdef __cplusplus |
9943 |
– |
extern "C" |
9944 |
– |
# endif |
9945 |
– |
int FC_DUMMY_MAIN() { return 1; } |
9946 |
– |
#endif |
9947 |
– |
#endif |
9948 |
– |
int |
9949 |
– |
main () |
9950 |
– |
{ |
9951 |
– |
/* FIXME: Include the comments suggested by Paul. */ |
9952 |
– |
#ifndef __cplusplus |
9953 |
– |
/* Ultrix mips cc rejects this. */ |
9954 |
– |
typedef int charset[2]; |
9955 |
– |
const charset cs; |
9956 |
– |
/* SunOS 4.1.1 cc rejects this. */ |
9957 |
– |
char const *const *pcpcc; |
9958 |
– |
char **ppc; |
9959 |
– |
/* NEC SVR4.0.2 mips cc rejects this. */ |
9960 |
– |
struct point {int x, y;}; |
9961 |
– |
static struct point const zero = {0,0}; |
9962 |
– |
/* AIX XL C 1.02.0.0 rejects this. |
9963 |
– |
It does not let you subtract one const X* pointer from another in |
9964 |
– |
an arm of an if-expression whose if-part is not a constant |
9965 |
– |
expression */ |
9966 |
– |
const char *g = "string"; |
9967 |
– |
pcpcc = &g + (g ? g-g : 0); |
9968 |
– |
/* HPUX 7.0 cc rejects these. */ |
9969 |
– |
++pcpcc; |
9970 |
– |
ppc = (char**) pcpcc; |
9971 |
– |
pcpcc = (char const *const *) ppc; |
9972 |
– |
{ /* SCO 3.2v4 cc rejects this. */ |
9973 |
– |
char *t; |
9974 |
– |
char const *s = 0 ? (char *) 0 : (char const *) 0; |
9975 |
– |
|
9976 |
– |
*t++ = 0; |
9977 |
– |
if (s) return 0; |
9978 |
– |
} |
9979 |
– |
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
9980 |
– |
int x[] = {25, 17}; |
9981 |
– |
const int *foo = &x[0]; |
9982 |
– |
++foo; |
9983 |
– |
} |
9984 |
– |
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
9985 |
– |
typedef const int *iptr; |
9986 |
– |
iptr p = 0; |
9987 |
– |
++p; |
9988 |
– |
} |
9989 |
– |
{ /* AIX XL C 1.02.0.0 rejects this saying |
9990 |
– |
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
9991 |
– |
struct s { int j; const int *ap[3]; }; |
9992 |
– |
struct s *b; b->j = 5; |
9993 |
– |
} |
9994 |
– |
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
9995 |
– |
const int foo = 10; |
9996 |
– |
if (!foo) return 0; |
9997 |
– |
} |
9998 |
– |
return !cs[0] && !zero.x; |
9999 |
– |
#endif |
10000 |
– |
|
10001 |
– |
; |
10002 |
– |
return 0; |
10003 |
– |
} |
10004 |
– |
_ACEOF |
10005 |
– |
rm -f conftest.$ac_objext |
10006 |
– |
if { (ac_try="$ac_compile" |
10007 |
– |
case "(($ac_try" in |
10008 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10009 |
– |
*) ac_try_echo=$ac_try;; |
10010 |
– |
esac |
10011 |
– |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10012 |
– |
(eval "$ac_compile") 2>conftest.er1 |
10013 |
– |
ac_status=$? |
10014 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
10015 |
– |
rm -f conftest.er1 |
10016 |
– |
cat conftest.err >&5 |
10017 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10018 |
– |
(exit $ac_status); } && { |
10019 |
– |
test -z "$ac_c_werror_flag" || |
10020 |
– |
test ! -s conftest.err |
10021 |
– |
} && test -s conftest.$ac_objext; then |
10022 |
– |
ac_cv_c_const=yes |
10023 |
– |
else |
10024 |
– |
echo "$as_me: failed program was:" >&5 |
10025 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
10026 |
– |
|
10027 |
– |
ac_cv_c_const=no |
10028 |
– |
fi |
10029 |
– |
|
10030 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10031 |
– |
fi |
10032 |
– |
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
10033 |
– |
echo "${ECHO_T}$ac_cv_c_const" >&6; } |
10034 |
– |
if test $ac_cv_c_const = no; then |
10035 |
– |
|
10036 |
– |
cat >>confdefs.h <<\_ACEOF |
10037 |
– |
#define const |
10038 |
– |
_ACEOF |
10039 |
– |
|
10040 |
– |
fi |
10041 |
– |
|
10042 |
– |
{ echo "$as_me:$LINENO: checking for inline" >&5 |
10043 |
– |
echo $ECHO_N "checking for inline... $ECHO_C" >&6; } |
10044 |
– |
if test "${ac_cv_c_inline+set}" = set; then |
10045 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10046 |
– |
else |
10047 |
– |
ac_cv_c_inline=no |
10048 |
– |
for ac_kw in inline __inline__ __inline; do |
10049 |
– |
cat >conftest.$ac_ext <<_ACEOF |
10050 |
– |
/* confdefs.h. */ |
10051 |
– |
_ACEOF |
10052 |
– |
cat confdefs.h >>conftest.$ac_ext |
10053 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
10054 |
– |
/* end confdefs.h. */ |
10055 |
– |
#ifndef __cplusplus |
10056 |
– |
typedef int foo_t; |
10057 |
– |
static $ac_kw foo_t static_foo () {return 0; } |
10058 |
– |
$ac_kw foo_t foo () {return 0; } |
10059 |
– |
#endif |
10060 |
– |
|
10061 |
– |
_ACEOF |
10062 |
– |
rm -f conftest.$ac_objext |
10063 |
– |
if { (ac_try="$ac_compile" |
10064 |
– |
case "(($ac_try" in |
10065 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10066 |
– |
*) ac_try_echo=$ac_try;; |
10067 |
– |
esac |
10068 |
– |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10069 |
– |
(eval "$ac_compile") 2>conftest.er1 |
10070 |
– |
ac_status=$? |
10071 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
10072 |
– |
rm -f conftest.er1 |
10073 |
– |
cat conftest.err >&5 |
10074 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10075 |
– |
(exit $ac_status); } && { |
10076 |
– |
test -z "$ac_c_werror_flag" || |
10077 |
– |
test ! -s conftest.err |
10078 |
– |
} && test -s conftest.$ac_objext; then |
10079 |
– |
ac_cv_c_inline=$ac_kw |
10080 |
– |
else |
10081 |
– |
echo "$as_me: failed program was:" >&5 |
10082 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
10083 |
– |
|
10084 |
– |
|
10085 |
– |
fi |
10086 |
– |
|
10087 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10088 |
– |
test "$ac_cv_c_inline" != no && break |
10089 |
– |
done |
10090 |
– |
|
10091 |
– |
fi |
10092 |
– |
{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
10093 |
– |
echo "${ECHO_T}$ac_cv_c_inline" >&6; } |
10094 |
– |
|
10095 |
– |
|
10096 |
– |
case $ac_cv_c_inline in |
10097 |
– |
inline | yes) ;; |
10098 |
– |
*) |
10099 |
– |
case $ac_cv_c_inline in |
10100 |
– |
no) ac_val=;; |
10101 |
– |
*) ac_val=$ac_cv_c_inline;; |
10102 |
– |
esac |
10103 |
– |
cat >>confdefs.h <<_ACEOF |
10104 |
– |
#ifndef __cplusplus |
10105 |
– |
#define inline $ac_val |
10106 |
– |
#endif |
10107 |
– |
_ACEOF |
10108 |
– |
;; |
10109 |
– |
esac |
10110 |
– |
|
10111 |
– |
|
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 |
|
|
10356 |
– |
{ echo "$as_me:$LINENO: checking for working memcmp" >&5 |
10357 |
– |
echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; } |
10358 |
– |
if test "${ac_cv_func_memcmp_working+set}" = set; then |
10359 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10360 |
– |
else |
10361 |
– |
if test "$cross_compiling" = yes; then |
10362 |
– |
ac_cv_func_memcmp_working=no |
10363 |
– |
else |
10364 |
– |
cat >conftest.$ac_ext <<_ACEOF |
10365 |
– |
/* confdefs.h. */ |
10366 |
– |
_ACEOF |
10367 |
– |
cat confdefs.h >>conftest.$ac_ext |
10368 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
10369 |
– |
/* end confdefs.h. */ |
10370 |
– |
$ac_includes_default |
10371 |
– |
#ifdef FC_DUMMY_MAIN |
10372 |
– |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
10373 |
– |
# ifdef __cplusplus |
10374 |
– |
extern "C" |
10375 |
– |
# endif |
10376 |
– |
int FC_DUMMY_MAIN() { return 1; } |
10377 |
– |
#endif |
10378 |
– |
#endif |
10379 |
– |
int |
10380 |
– |
main () |
10381 |
– |
{ |
11144 |
|
|
10383 |
– |
/* Some versions of memcmp are not 8-bit clean. */ |
10384 |
– |
char c0 = '\100', c1 = '\200', c2 = '\201'; |
10385 |
– |
if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0) |
10386 |
– |
return 1; |
10387 |
– |
|
10388 |
– |
/* The Next x86 OpenStep bug shows up only when comparing 16 bytes |
10389 |
– |
or more and with at least one buffer not starting on a 4-byte boundary. |
10390 |
– |
William Lewis provided this test program. */ |
10391 |
– |
{ |
10392 |
– |
char foo[21]; |
10393 |
– |
char bar[21]; |
10394 |
– |
int i; |
10395 |
– |
for (i = 0; i < 4; i++) |
10396 |
– |
{ |
10397 |
– |
char *a = foo + i; |
10398 |
– |
char *b = bar + i; |
10399 |
– |
strcpy (a, "--------01111111"); |
10400 |
– |
strcpy (b, "--------10000000"); |
10401 |
– |
if (memcmp (a, b, 16) >= 0) |
10402 |
– |
return 1; |
10403 |
– |
} |
10404 |
– |
return 0; |
10405 |
– |
} |
10406 |
– |
|
10407 |
– |
; |
10408 |
– |
return 0; |
10409 |
– |
} |
10410 |
– |
_ACEOF |
10411 |
– |
rm -f conftest$ac_exeext |
10412 |
– |
if { (ac_try="$ac_link" |
10413 |
– |
case "(($ac_try" in |
10414 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10415 |
– |
*) ac_try_echo=$ac_try;; |
10416 |
– |
esac |
10417 |
– |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10418 |
– |
(eval "$ac_link") 2>&5 |
10419 |
– |
ac_status=$? |
10420 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10421 |
– |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
10422 |
– |
{ (case "(($ac_try" in |
10423 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10424 |
– |
*) ac_try_echo=$ac_try;; |
10425 |
– |
esac |
10426 |
– |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10427 |
– |
(eval "$ac_try") 2>&5 |
10428 |
– |
ac_status=$? |
10429 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10430 |
– |
(exit $ac_status); }; }; then |
10431 |
– |
ac_cv_func_memcmp_working=yes |
10432 |
– |
else |
10433 |
– |
echo "$as_me: program exited with status $ac_status" >&5 |
10434 |
– |
echo "$as_me: failed program was:" >&5 |
10435 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
10436 |
– |
|
10437 |
– |
( exit $ac_status ) |
10438 |
– |
ac_cv_func_memcmp_working=no |
10439 |
– |
fi |
10440 |
– |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
10441 |
– |
fi |
10442 |
– |
|
10443 |
– |
|
10444 |
– |
fi |
10445 |
– |
{ echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5 |
10446 |
– |
echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; } |
10447 |
– |
test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in |
10448 |
– |
*" memcmp.$ac_objext "* ) ;; |
10449 |
– |
*) LIBOBJS="$LIBOBJS memcmp.$ac_objext" |
10450 |
– |
;; |
10451 |
– |
esac |
10452 |
– |
|
10453 |
– |
|
10454 |
– |
|
11145 |
|
for ac_header in stdlib.h |
11146 |
|
do |
11147 |
< |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
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 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11150 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
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 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11152 |
> |
$as_echo_n "(cached) " >&6 |
11153 |
|
fi |
11154 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
11155 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
11156 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
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 |
|
# Is the header compilable? |
11160 |
< |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
11161 |
< |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
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 |
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 |
11645 |
< |
do |
11646 |
< |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10943 |
< |
{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10944 |
< |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
10945 |
< |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
10946 |
< |
echo $ECHO_N "(cached) $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 |
> |
$as_echo_n "(cached) " >&6 |
11647 |
|
else |
11648 |
< |
cat >conftest.$ac_ext <<_ACEOF |
11649 |
< |
/* confdefs.h. */ |
10950 |
< |
_ACEOF |
10951 |
< |
cat confdefs.h >>conftest.$ac_ext |
10952 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
10953 |
< |
/* end confdefs.h. */ |
10954 |
< |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
10955 |
< |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
10956 |
< |
#define $ac_func innocuous_$ac_func |
10957 |
< |
|
10958 |
< |
/* System header to define __stub macros and hopefully few prototypes, |
10959 |
< |
which can conflict with char $ac_func (); below. |
10960 |
< |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
10961 |
< |
<limits.h> exists even on freestanding compilers. */ |
10962 |
< |
|
10963 |
< |
#ifdef __STDC__ |
10964 |
< |
# include <limits.h> |
10965 |
< |
#else |
10966 |
< |
# include <assert.h> |
10967 |
< |
#endif |
10968 |
< |
|
10969 |
< |
#undef $ac_func |
10970 |
< |
|
10971 |
< |
/* Override any GCC internal prototype to avoid an error. |
10972 |
< |
Use char because int might match the return type of a GCC |
10973 |
< |
builtin and then its argument prototype would still apply. */ |
10974 |
< |
#ifdef __cplusplus |
10975 |
< |
extern "C" |
10976 |
< |
#endif |
10977 |
< |
char $ac_func (); |
10978 |
< |
/* The GNU C library defines this for functions which it implements |
10979 |
< |
to always fail with ENOSYS. Some functions are actually named |
10980 |
< |
something starting with __ and the normal name is an alias. */ |
10981 |
< |
#if defined __stub_$ac_func || defined __stub___$ac_func |
10982 |
< |
choke me |
10983 |
< |
#endif |
10984 |
< |
|
10985 |
< |
#ifdef FC_DUMMY_MAIN |
10986 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
10987 |
< |
# ifdef __cplusplus |
10988 |
< |
extern "C" |
10989 |
< |
# endif |
10990 |
< |
int FC_DUMMY_MAIN() { return 1; } |
10991 |
< |
#endif |
10992 |
< |
#endif |
10993 |
< |
int |
10994 |
< |
main () |
10995 |
< |
{ |
10996 |
< |
return $ac_func (); |
10997 |
< |
; |
10998 |
< |
return 0; |
10999 |
< |
} |
11000 |
< |
_ACEOF |
11001 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
11002 |
< |
if { (ac_try="$ac_link" |
11003 |
< |
case "(($ac_try" in |
11004 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11005 |
< |
*) ac_try_echo=$ac_try;; |
11006 |
< |
esac |
11007 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11008 |
< |
(eval "$ac_link") 2>conftest.er1 |
11009 |
< |
ac_status=$? |
11010 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
11011 |
< |
rm -f conftest.er1 |
11012 |
< |
cat conftest.err >&5 |
11013 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11014 |
< |
(exit $ac_status); } && { |
11015 |
< |
test -z "$ac_c_werror_flag" || |
11016 |
< |
test ! -s conftest.err |
11017 |
< |
} && test -s conftest$ac_exeext && |
11018 |
< |
$as_test_x conftest$ac_exeext; then |
11019 |
< |
eval "$as_ac_var=yes" |
11020 |
< |
else |
11021 |
< |
echo "$as_me: failed program was:" >&5 |
11022 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
11023 |
< |
|
11024 |
< |
eval "$as_ac_var=no" |
11025 |
< |
fi |
11026 |
< |
|
11027 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11028 |
< |
conftest$ac_exeext conftest.$ac_ext |
11029 |
< |
fi |
11030 |
< |
ac_res=`eval echo '${'$as_ac_var'}'` |
11031 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
11032 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
11033 |
< |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
11034 |
< |
cat >>confdefs.h <<_ACEOF |
11035 |
< |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11036 |
< |
_ACEOF |
11037 |
< |
|
11038 |
< |
else |
11039 |
< |
# strftime is in -lintl on SCO UNIX. |
11040 |
< |
{ echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 |
11041 |
< |
echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; } |
11042 |
< |
if test "${ac_cv_lib_intl_strftime+set}" = set; then |
11043 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11044 |
< |
else |
11045 |
< |
ac_check_lib_save_LIBS=$LIBS |
11046 |
< |
LIBS="-lintl $LIBS" |
11047 |
< |
cat >conftest.$ac_ext <<_ACEOF |
11048 |
< |
/* confdefs.h. */ |
11049 |
< |
_ACEOF |
11050 |
< |
cat confdefs.h >>conftest.$ac_ext |
11051 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
11052 |
< |
/* end confdefs.h. */ |
11053 |
< |
|
11054 |
< |
/* Override any GCC internal prototype to avoid an error. |
11055 |
< |
Use char because int might match the return type of a GCC |
11056 |
< |
builtin and then its argument prototype would still apply. */ |
11057 |
< |
#ifdef __cplusplus |
11058 |
< |
extern "C" |
11059 |
< |
#endif |
11060 |
< |
char strftime (); |
11061 |
< |
#ifdef FC_DUMMY_MAIN |
11062 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
11063 |
< |
# ifdef __cplusplus |
11064 |
< |
extern "C" |
11065 |
< |
# endif |
11066 |
< |
int FC_DUMMY_MAIN() { return 1; } |
11067 |
< |
#endif |
11068 |
< |
#endif |
11069 |
< |
int |
11070 |
< |
main () |
11071 |
< |
{ |
11072 |
< |
return strftime (); |
11073 |
< |
; |
11074 |
< |
return 0; |
11075 |
< |
} |
11076 |
< |
_ACEOF |
11077 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
11078 |
< |
if { (ac_try="$ac_link" |
11079 |
< |
case "(($ac_try" in |
11080 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11081 |
< |
*) ac_try_echo=$ac_try;; |
11082 |
< |
esac |
11083 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11084 |
< |
(eval "$ac_link") 2>conftest.er1 |
11085 |
< |
ac_status=$? |
11086 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
11087 |
< |
rm -f conftest.er1 |
11088 |
< |
cat conftest.err >&5 |
11089 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11090 |
< |
(exit $ac_status); } && { |
11091 |
< |
test -z "$ac_c_werror_flag" || |
11092 |
< |
test ! -s conftest.err |
11093 |
< |
} && test -s conftest$ac_exeext && |
11094 |
< |
$as_test_x conftest$ac_exeext; then |
11095 |
< |
ac_cv_lib_intl_strftime=yes |
11096 |
< |
else |
11097 |
< |
echo "$as_me: failed program was:" >&5 |
11098 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
11099 |
< |
|
11100 |
< |
ac_cv_lib_intl_strftime=no |
11101 |
< |
fi |
11102 |
< |
|
11103 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11104 |
< |
conftest$ac_exeext conftest.$ac_ext |
11105 |
< |
LIBS=$ac_check_lib_save_LIBS |
11106 |
< |
fi |
11107 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 |
11108 |
< |
echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; } |
11109 |
< |
if test $ac_cv_lib_intl_strftime = yes; then |
11110 |
< |
cat >>confdefs.h <<\_ACEOF |
11111 |
< |
#define HAVE_STRFTIME 1 |
11112 |
< |
_ACEOF |
11113 |
< |
|
11114 |
< |
LIBS="-lintl $LIBS" |
11115 |
< |
fi |
11116 |
< |
|
11117 |
< |
fi |
11118 |
< |
done |
11119 |
< |
|
11120 |
< |
{ echo "$as_me:$LINENO: checking for working strtod" >&5 |
11121 |
< |
echo $ECHO_N "checking for working strtod... $ECHO_C" >&6; } |
11122 |
< |
if test "${ac_cv_func_strtod+set}" = set; then |
11123 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11124 |
< |
else |
11125 |
< |
if test "$cross_compiling" = yes; then |
11126 |
< |
ac_cv_func_strtod=no |
11127 |
< |
else |
11128 |
< |
cat >conftest.$ac_ext <<_ACEOF |
11129 |
< |
/* confdefs.h. */ |
11130 |
< |
_ACEOF |
11131 |
< |
cat confdefs.h >>conftest.$ac_ext |
11132 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
11133 |
< |
/* end confdefs.h. */ |
11134 |
< |
|
11135 |
< |
$ac_includes_default |
11136 |
< |
#ifndef strtod |
11137 |
< |
double strtod (); |
11138 |
< |
#endif |
11139 |
< |
int |
11140 |
< |
main() |
11141 |
< |
{ |
11142 |
< |
{ |
11143 |
< |
/* Some versions of Linux strtod mis-parse strings with leading '+'. */ |
11144 |
< |
char *string = " +69"; |
11145 |
< |
char *term; |
11146 |
< |
double value; |
11147 |
< |
value = strtod (string, &term); |
11148 |
< |
if (value != 69 || term != (string + 4)) |
11149 |
< |
return 1; |
11150 |
< |
} |
11151 |
< |
|
11152 |
< |
{ |
11153 |
< |
/* Under Solaris 2.4, strtod returns the wrong value for the |
11154 |
< |
terminating character under some conditions. */ |
11155 |
< |
char *string = "NaN"; |
11156 |
< |
char *term; |
11157 |
< |
strtod (string, &term); |
11158 |
< |
if (term != string && *(term - 1) == 0) |
11159 |
< |
return 1; |
11160 |
< |
} |
11161 |
< |
return 0; |
11162 |
< |
} |
11163 |
< |
|
11164 |
< |
_ACEOF |
11165 |
< |
rm -f conftest$ac_exeext |
11166 |
< |
if { (ac_try="$ac_link" |
11167 |
< |
case "(($ac_try" in |
11168 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11169 |
< |
*) ac_try_echo=$ac_try;; |
11170 |
< |
esac |
11171 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11172 |
< |
(eval "$ac_link") 2>&5 |
11173 |
< |
ac_status=$? |
11174 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11175 |
< |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11176 |
< |
{ (case "(($ac_try" in |
11177 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11178 |
< |
*) ac_try_echo=$ac_try;; |
11179 |
< |
esac |
11180 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11181 |
< |
(eval "$ac_try") 2>&5 |
11182 |
< |
ac_status=$? |
11183 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11184 |
< |
(exit $ac_status); }; }; then |
11185 |
< |
ac_cv_func_strtod=yes |
11186 |
< |
else |
11187 |
< |
echo "$as_me: program exited with status $ac_status" >&5 |
11188 |
< |
echo "$as_me: failed program was:" >&5 |
11189 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
11190 |
< |
|
11191 |
< |
( exit $ac_status ) |
11192 |
< |
ac_cv_func_strtod=no |
11193 |
< |
fi |
11194 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11195 |
< |
fi |
11196 |
< |
|
11197 |
< |
|
11198 |
< |
fi |
11199 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5 |
11200 |
< |
echo "${ECHO_T}$ac_cv_func_strtod" >&6; } |
11201 |
< |
if test $ac_cv_func_strtod = no; then |
11202 |
< |
case " $LIBOBJS " in |
11203 |
< |
*" strtod.$ac_objext "* ) ;; |
11204 |
< |
*) LIBOBJS="$LIBOBJS strtod.$ac_objext" |
11205 |
< |
;; |
11206 |
< |
esac |
11207 |
< |
|
11208 |
< |
{ echo "$as_me:$LINENO: checking for pow" >&5 |
11209 |
< |
echo $ECHO_N "checking for pow... $ECHO_C" >&6; } |
11210 |
< |
if test "${ac_cv_func_pow+set}" = set; then |
11211 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11212 |
< |
else |
11213 |
< |
cat >conftest.$ac_ext <<_ACEOF |
11214 |
< |
/* confdefs.h. */ |
11215 |
< |
_ACEOF |
11216 |
< |
cat confdefs.h >>conftest.$ac_ext |
11217 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
11218 |
< |
/* end confdefs.h. */ |
11219 |
< |
/* Define pow to an innocuous variant, in case <limits.h> declares pow. |
11220 |
< |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
11221 |
< |
#define pow innocuous_pow |
11222 |
< |
|
11223 |
< |
/* System header to define __stub macros and hopefully few prototypes, |
11224 |
< |
which can conflict with char pow (); below. |
11225 |
< |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
11226 |
< |
<limits.h> exists even on freestanding compilers. */ |
11227 |
< |
|
11228 |
< |
#ifdef __STDC__ |
11229 |
< |
# include <limits.h> |
11230 |
< |
#else |
11231 |
< |
# include <assert.h> |
11232 |
< |
#endif |
11233 |
< |
|
11234 |
< |
#undef pow |
11235 |
< |
|
11236 |
< |
/* Override any GCC internal prototype to avoid an error. |
11237 |
< |
Use char because int might match the return type of a GCC |
11238 |
< |
builtin and then its argument prototype would still apply. */ |
11239 |
< |
#ifdef __cplusplus |
11240 |
< |
extern "C" |
11241 |
< |
#endif |
11242 |
< |
char pow (); |
11243 |
< |
/* The GNU C library defines this for functions which it implements |
11244 |
< |
to always fail with ENOSYS. Some functions are actually named |
11245 |
< |
something starting with __ and the normal name is an alias. */ |
11246 |
< |
#if defined __stub_pow || defined __stub___pow |
11247 |
< |
choke me |
11248 |
< |
#endif |
11249 |
< |
|
11250 |
< |
#ifdef FC_DUMMY_MAIN |
11251 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
11252 |
< |
# ifdef __cplusplus |
11253 |
< |
extern "C" |
11254 |
< |
# endif |
11255 |
< |
int FC_DUMMY_MAIN() { return 1; } |
11256 |
< |
#endif |
11257 |
< |
#endif |
11258 |
< |
int |
11259 |
< |
main () |
11260 |
< |
{ |
11261 |
< |
return pow (); |
11262 |
< |
; |
11263 |
< |
return 0; |
11264 |
< |
} |
11265 |
< |
_ACEOF |
11266 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
11267 |
< |
if { (ac_try="$ac_link" |
11268 |
< |
case "(($ac_try" in |
11269 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11270 |
< |
*) ac_try_echo=$ac_try;; |
11271 |
< |
esac |
11272 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11273 |
< |
(eval "$ac_link") 2>conftest.er1 |
11274 |
< |
ac_status=$? |
11275 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
11276 |
< |
rm -f conftest.er1 |
11277 |
< |
cat conftest.err >&5 |
11278 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11279 |
< |
(exit $ac_status); } && { |
11280 |
< |
test -z "$ac_c_werror_flag" || |
11281 |
< |
test ! -s conftest.err |
11282 |
< |
} && test -s conftest$ac_exeext && |
11283 |
< |
$as_test_x conftest$ac_exeext; then |
11284 |
< |
ac_cv_func_pow=yes |
11285 |
< |
else |
11286 |
< |
echo "$as_me: failed program was:" >&5 |
11287 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
11288 |
< |
|
11289 |
< |
ac_cv_func_pow=no |
11290 |
< |
fi |
11291 |
< |
|
11292 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11293 |
< |
conftest$ac_exeext conftest.$ac_ext |
11294 |
< |
fi |
11295 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5 |
11296 |
< |
echo "${ECHO_T}$ac_cv_func_pow" >&6; } |
11297 |
< |
|
11298 |
< |
if test $ac_cv_func_pow = no; then |
11299 |
< |
{ echo "$as_me:$LINENO: checking for pow in -lm" >&5 |
11300 |
< |
echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6; } |
11301 |
< |
if test "${ac_cv_lib_m_pow+set}" = set; then |
11302 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11303 |
< |
else |
11304 |
< |
ac_check_lib_save_LIBS=$LIBS |
11305 |
< |
LIBS="-lm $LIBS" |
11306 |
< |
cat >conftest.$ac_ext <<_ACEOF |
11307 |
< |
/* confdefs.h. */ |
11308 |
< |
_ACEOF |
11309 |
< |
cat confdefs.h >>conftest.$ac_ext |
11310 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
11311 |
< |
/* end confdefs.h. */ |
11312 |
< |
|
11313 |
< |
/* Override any GCC internal prototype to avoid an error. |
11314 |
< |
Use char because int might match the return type of a GCC |
11315 |
< |
builtin and then its argument prototype would still apply. */ |
11316 |
< |
#ifdef __cplusplus |
11317 |
< |
extern "C" |
11318 |
< |
#endif |
11319 |
< |
char pow (); |
11320 |
< |
#ifdef FC_DUMMY_MAIN |
11321 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
11322 |
< |
# ifdef __cplusplus |
11323 |
< |
extern "C" |
11324 |
< |
# endif |
11325 |
< |
int FC_DUMMY_MAIN() { return 1; } |
11326 |
< |
#endif |
11327 |
< |
#endif |
11328 |
< |
int |
11329 |
< |
main () |
11330 |
< |
{ |
11331 |
< |
return pow (); |
11332 |
< |
; |
11333 |
< |
return 0; |
11334 |
< |
} |
11335 |
< |
_ACEOF |
11336 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
11337 |
< |
if { (ac_try="$ac_link" |
11338 |
< |
case "(($ac_try" in |
11339 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11340 |
< |
*) ac_try_echo=$ac_try;; |
11341 |
< |
esac |
11342 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11343 |
< |
(eval "$ac_link") 2>conftest.er1 |
11344 |
< |
ac_status=$? |
11345 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
11346 |
< |
rm -f conftest.er1 |
11347 |
< |
cat conftest.err >&5 |
11348 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11349 |
< |
(exit $ac_status); } && { |
11350 |
< |
test -z "$ac_c_werror_flag" || |
11351 |
< |
test ! -s conftest.err |
11352 |
< |
} && test -s conftest$ac_exeext && |
11353 |
< |
$as_test_x conftest$ac_exeext; then |
11354 |
< |
ac_cv_lib_m_pow=yes |
11355 |
< |
else |
11356 |
< |
echo "$as_me: failed program was:" >&5 |
11357 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
11358 |
< |
|
11359 |
< |
ac_cv_lib_m_pow=no |
11360 |
< |
fi |
11361 |
< |
|
11362 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11363 |
< |
conftest$ac_exeext conftest.$ac_ext |
11364 |
< |
LIBS=$ac_check_lib_save_LIBS |
11365 |
< |
fi |
11366 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5 |
11367 |
< |
echo "${ECHO_T}$ac_cv_lib_m_pow" >&6; } |
11368 |
< |
if test $ac_cv_lib_m_pow = yes; then |
11369 |
< |
POW_LIB=-lm |
11370 |
< |
else |
11371 |
< |
{ echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5 |
11372 |
< |
echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;} |
11373 |
< |
fi |
11374 |
< |
|
11375 |
< |
fi |
11376 |
< |
|
11377 |
< |
fi |
11378 |
< |
|
11379 |
< |
|
11380 |
< |
|
11381 |
< |
|
11382 |
< |
|
11383 |
< |
|
11384 |
< |
|
11385 |
< |
|
11386 |
< |
|
11387 |
< |
|
11388 |
< |
|
11389 |
< |
|
11390 |
< |
|
11391 |
< |
|
11392 |
< |
|
11393 |
< |
|
11394 |
< |
|
11395 |
< |
|
11396 |
< |
|
11397 |
< |
|
11398 |
< |
|
11399 |
< |
|
11400 |
< |
|
11401 |
< |
|
11402 |
< |
|
11403 |
< |
|
11404 |
< |
|
11405 |
< |
|
11406 |
< |
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 |
11407 |
< |
do |
11408 |
< |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11409 |
< |
{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
11410 |
< |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
11411 |
< |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
11412 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11413 |
< |
else |
11414 |
< |
cat >conftest.$ac_ext <<_ACEOF |
11415 |
< |
/* confdefs.h. */ |
11416 |
< |
_ACEOF |
11417 |
< |
cat confdefs.h >>conftest.$ac_ext |
11418 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
11419 |
< |
/* end confdefs.h. */ |
11420 |
< |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
11421 |
< |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
11422 |
< |
#define $ac_func innocuous_$ac_func |
11423 |
< |
|
11424 |
< |
/* System header to define __stub macros and hopefully few prototypes, |
11425 |
< |
which can conflict with char $ac_func (); below. |
11426 |
< |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
11427 |
< |
<limits.h> exists even on freestanding compilers. */ |
11428 |
< |
|
11429 |
< |
#ifdef __STDC__ |
11430 |
< |
# include <limits.h> |
11431 |
< |
#else |
11432 |
< |
# include <assert.h> |
11433 |
< |
#endif |
11434 |
< |
|
11435 |
< |
#undef $ac_func |
11436 |
< |
|
11437 |
< |
/* Override any GCC internal prototype to avoid an error. |
11438 |
< |
Use char because int might match the return type of a GCC |
11439 |
< |
builtin and then its argument prototype would still apply. */ |
11440 |
< |
#ifdef __cplusplus |
11441 |
< |
extern "C" |
11442 |
< |
#endif |
11443 |
< |
char $ac_func (); |
11444 |
< |
/* The GNU C library defines this for functions which it implements |
11445 |
< |
to always fail with ENOSYS. Some functions are actually named |
11446 |
< |
something starting with __ and the normal name is an alias. */ |
11447 |
< |
#if defined __stub_$ac_func || defined __stub___$ac_func |
11448 |
< |
choke me |
11449 |
< |
#endif |
11450 |
< |
|
11451 |
< |
#ifdef FC_DUMMY_MAIN |
11452 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
11453 |
< |
# ifdef __cplusplus |
11454 |
< |
extern "C" |
11455 |
< |
# endif |
11456 |
< |
int FC_DUMMY_MAIN() { return 1; } |
11457 |
< |
#endif |
11458 |
< |
#endif |
11459 |
< |
int |
11460 |
< |
main () |
11461 |
< |
{ |
11462 |
< |
return $ac_func (); |
11463 |
< |
; |
11464 |
< |
return 0; |
11465 |
< |
} |
11466 |
< |
_ACEOF |
11467 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
11468 |
< |
if { (ac_try="$ac_link" |
11469 |
< |
case "(($ac_try" in |
11470 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11471 |
< |
*) ac_try_echo=$ac_try;; |
11472 |
< |
esac |
11473 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11474 |
< |
(eval "$ac_link") 2>conftest.er1 |
11475 |
< |
ac_status=$? |
11476 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
11477 |
< |
rm -f conftest.er1 |
11478 |
< |
cat conftest.err >&5 |
11479 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11480 |
< |
(exit $ac_status); } && { |
11481 |
< |
test -z "$ac_c_werror_flag" || |
11482 |
< |
test ! -s conftest.err |
11483 |
< |
} && test -s conftest$ac_exeext && |
11484 |
< |
$as_test_x conftest$ac_exeext; then |
11485 |
< |
eval "$as_ac_var=yes" |
11486 |
< |
else |
11487 |
< |
echo "$as_me: failed program was:" >&5 |
11488 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
11489 |
< |
|
11490 |
< |
eval "$as_ac_var=no" |
11491 |
< |
fi |
11492 |
< |
|
11493 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11494 |
< |
conftest$ac_exeext conftest.$ac_ext |
11495 |
< |
fi |
11496 |
< |
ac_res=`eval echo '${'$as_ac_var'}'` |
11497 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
11498 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
11499 |
< |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
11500 |
< |
cat >>confdefs.h <<_ACEOF |
11501 |
< |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11502 |
< |
_ACEOF |
11503 |
< |
|
11504 |
< |
fi |
11505 |
< |
done |
11506 |
< |
|
11507 |
< |
|
11508 |
< |
# special check for _system_configuration because AIX <4.3.2 do not |
11509 |
< |
# contain the `physmem' member. |
11510 |
< |
{ echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5 |
11511 |
< |
echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6; } |
11512 |
< |
cat >conftest.$ac_ext <<_ACEOF |
11513 |
< |
/* confdefs.h. */ |
11514 |
< |
_ACEOF |
11515 |
< |
cat confdefs.h >>conftest.$ac_ext |
11516 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
11517 |
< |
/* end confdefs.h. */ |
11518 |
< |
#include <sys/systemcfg.h> |
11519 |
< |
#ifdef FC_DUMMY_MAIN |
11520 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
11521 |
< |
# ifdef __cplusplus |
11522 |
< |
extern "C" |
11523 |
< |
# endif |
11524 |
< |
int FC_DUMMY_MAIN() { return 1; } |
11525 |
< |
#endif |
11526 |
< |
#endif |
11527 |
< |
int |
11528 |
< |
main () |
11529 |
< |
{ |
11530 |
< |
double x = _system_configuration.physmem; |
11531 |
< |
; |
11532 |
< |
return 0; |
11533 |
< |
} |
11534 |
< |
_ACEOF |
11535 |
< |
rm -f conftest.$ac_objext |
11536 |
< |
if { (ac_try="$ac_compile" |
11537 |
< |
case "(($ac_try" in |
11538 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11539 |
< |
*) ac_try_echo=$ac_try;; |
11540 |
< |
esac |
11541 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11542 |
< |
(eval "$ac_compile") 2>conftest.er1 |
11543 |
< |
ac_status=$? |
11544 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
11545 |
< |
rm -f conftest.er1 |
11546 |
< |
cat conftest.err >&5 |
11547 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11548 |
< |
(exit $ac_status); } && { |
11549 |
< |
test -z "$ac_c_werror_flag" || |
11550 |
< |
test ! -s conftest.err |
11551 |
< |
} && test -s conftest.$ac_objext; then |
11552 |
< |
{ echo "$as_me:$LINENO: result: yes" >&5 |
11553 |
< |
echo "${ECHO_T}yes" >&6; } |
11554 |
< |
|
11555 |
< |
cat >>confdefs.h <<\_ACEOF |
11556 |
< |
#define HAVE__SYSTEM_CONFIGURATION 1 |
11557 |
< |
_ACEOF |
11558 |
< |
|
11559 |
< |
else |
11560 |
< |
echo "$as_me: failed program was:" >&5 |
11561 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
11562 |
< |
|
11563 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
11564 |
< |
echo "${ECHO_T}no" >&6; } |
11565 |
< |
fi |
11566 |
< |
|
11567 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
11568 |
< |
|
11569 |
< |
# clean out junk possibly left behind by a previous configuration |
11570 |
< |
rm -f src/getopt.h |
11571 |
< |
# Check for getopt_long support |
11572 |
< |
|
11573 |
< |
for ac_header in getopt.h |
11574 |
< |
do |
11575 |
< |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11576 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
11577 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11578 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
11579 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
11580 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11581 |
< |
fi |
11582 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
11583 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
11584 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
11585 |
< |
else |
11586 |
< |
# Is the header compilable? |
11587 |
< |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
11588 |
< |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
11589 |
< |
cat >conftest.$ac_ext <<_ACEOF |
11590 |
< |
/* confdefs.h. */ |
11591 |
< |
_ACEOF |
11592 |
< |
cat confdefs.h >>conftest.$ac_ext |
11593 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
11594 |
< |
/* end confdefs.h. */ |
11595 |
< |
$ac_includes_default |
11596 |
< |
#include <$ac_header> |
11597 |
< |
_ACEOF |
11598 |
< |
rm -f conftest.$ac_objext |
11599 |
< |
if { (ac_try="$ac_compile" |
11600 |
< |
case "(($ac_try" in |
11601 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11602 |
< |
*) ac_try_echo=$ac_try;; |
11603 |
< |
esac |
11604 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11605 |
< |
(eval "$ac_compile") 2>conftest.er1 |
11606 |
< |
ac_status=$? |
11607 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
11608 |
< |
rm -f conftest.er1 |
11609 |
< |
cat conftest.err >&5 |
11610 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11611 |
< |
(exit $ac_status); } && { |
11612 |
< |
test -z "$ac_c_werror_flag" || |
11613 |
< |
test ! -s conftest.err |
11614 |
< |
} && test -s conftest.$ac_objext; then |
11615 |
< |
ac_header_compiler=yes |
11616 |
< |
else |
11617 |
< |
echo "$as_me: failed program was:" >&5 |
11618 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
11619 |
< |
|
11620 |
< |
ac_header_compiler=no |
11621 |
< |
fi |
11622 |
< |
|
11623 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
11624 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
11625 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
11626 |
< |
|
11627 |
< |
# Is the header present? |
11628 |
< |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
11629 |
< |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
11630 |
< |
cat >conftest.$ac_ext <<_ACEOF |
11631 |
< |
/* confdefs.h. */ |
11632 |
< |
_ACEOF |
11633 |
< |
cat confdefs.h >>conftest.$ac_ext |
11634 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
11635 |
< |
/* end confdefs.h. */ |
11636 |
< |
#include <$ac_header> |
11637 |
< |
_ACEOF |
11638 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
11639 |
< |
case "(($ac_try" in |
11640 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11641 |
< |
*) ac_try_echo=$ac_try;; |
11642 |
< |
esac |
11643 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11644 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
11645 |
< |
ac_status=$? |
11646 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
11647 |
< |
rm -f conftest.er1 |
11648 |
< |
cat conftest.err >&5 |
11649 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11650 |
< |
(exit $ac_status); } >/dev/null && { |
11651 |
< |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
11652 |
< |
test ! -s conftest.err |
11653 |
< |
}; then |
11654 |
< |
ac_header_preproc=yes |
11655 |
< |
else |
11656 |
< |
echo "$as_me: failed program was:" >&5 |
11657 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
11658 |
< |
|
11659 |
< |
ac_header_preproc=no |
11660 |
< |
fi |
11661 |
< |
|
11662 |
< |
rm -f conftest.err conftest.$ac_ext |
11663 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
11664 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
11665 |
< |
|
11666 |
< |
# So? What about this header? |
11667 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
11668 |
< |
yes:no: ) |
11669 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
11670 |
< |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
11671 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
11672 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
11673 |
< |
ac_header_preproc=yes |
11674 |
< |
;; |
11675 |
< |
no:yes:* ) |
11676 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
11677 |
< |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
11678 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
11679 |
< |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
11680 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
11681 |
< |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
11682 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
11683 |
< |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
11684 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
11685 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
11686 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
11687 |
< |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
11688 |
< |
( cat <<\_ASBOX |
11689 |
< |
## ------------------------------ ## |
11690 |
< |
## Report this to gezelter@nd.edu ## |
11691 |
< |
## ------------------------------ ## |
11692 |
< |
_ASBOX |
11693 |
< |
) | sed "s/^/$as_me: WARNING: /" >&2 |
11694 |
< |
;; |
11695 |
< |
esac |
11696 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11697 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
11698 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
11699 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11700 |
< |
else |
11701 |
< |
eval "$as_ac_Header=\$ac_header_preproc" |
11702 |
< |
fi |
11703 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
11704 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
11705 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
11706 |
< |
|
11707 |
< |
fi |
11708 |
< |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
11709 |
< |
cat >>confdefs.h <<_ACEOF |
11710 |
< |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
11711 |
< |
_ACEOF |
11712 |
< |
|
11713 |
< |
fi |
11714 |
< |
|
11715 |
< |
done |
11716 |
< |
|
11717 |
< |
|
11718 |
< |
for ac_func in getopt_long |
11719 |
< |
do |
11720 |
< |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11721 |
< |
{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
11722 |
< |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
11723 |
< |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
11724 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11725 |
< |
else |
11726 |
< |
cat >conftest.$ac_ext <<_ACEOF |
11727 |
< |
/* confdefs.h. */ |
11728 |
< |
_ACEOF |
11729 |
< |
cat confdefs.h >>conftest.$ac_ext |
11730 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
11731 |
< |
/* end confdefs.h. */ |
11732 |
< |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
11733 |
< |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
11734 |
< |
#define $ac_func innocuous_$ac_func |
11735 |
< |
|
11736 |
< |
/* System header to define __stub macros and hopefully few prototypes, |
11737 |
< |
which can conflict with char $ac_func (); below. |
11738 |
< |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
11739 |
< |
<limits.h> exists even on freestanding compilers. */ |
11740 |
< |
|
11741 |
< |
#ifdef __STDC__ |
11742 |
< |
# include <limits.h> |
11743 |
< |
#else |
11744 |
< |
# include <assert.h> |
11745 |
< |
#endif |
11746 |
< |
|
11747 |
< |
#undef $ac_func |
11748 |
< |
|
11749 |
< |
/* Override any GCC internal prototype to avoid an error. |
11750 |
< |
Use char because int might match the return type of a GCC |
11751 |
< |
builtin and then its argument prototype would still apply. */ |
11752 |
< |
#ifdef __cplusplus |
11753 |
< |
extern "C" |
11754 |
< |
#endif |
11755 |
< |
char $ac_func (); |
11756 |
< |
/* The GNU C library defines this for functions which it implements |
11757 |
< |
to always fail with ENOSYS. Some functions are actually named |
11758 |
< |
something starting with __ and the normal name is an alias. */ |
11759 |
< |
#if defined __stub_$ac_func || defined __stub___$ac_func |
11760 |
< |
choke me |
11761 |
< |
#endif |
11762 |
< |
|
11763 |
< |
#ifdef FC_DUMMY_MAIN |
11764 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
11765 |
< |
# ifdef __cplusplus |
11766 |
< |
extern "C" |
11767 |
< |
# endif |
11768 |
< |
int FC_DUMMY_MAIN() { return 1; } |
11769 |
< |
#endif |
11770 |
< |
#endif |
11771 |
< |
int |
11772 |
< |
main () |
11773 |
< |
{ |
11774 |
< |
return $ac_func (); |
11775 |
< |
; |
11776 |
< |
return 0; |
11777 |
< |
} |
11778 |
< |
_ACEOF |
11779 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
11780 |
< |
if { (ac_try="$ac_link" |
11781 |
< |
case "(($ac_try" in |
11782 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11783 |
< |
*) ac_try_echo=$ac_try;; |
11784 |
< |
esac |
11785 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11786 |
< |
(eval "$ac_link") 2>conftest.er1 |
11787 |
< |
ac_status=$? |
11788 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
11789 |
< |
rm -f conftest.er1 |
11790 |
< |
cat conftest.err >&5 |
11791 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11792 |
< |
(exit $ac_status); } && { |
11793 |
< |
test -z "$ac_c_werror_flag" || |
11794 |
< |
test ! -s conftest.err |
11795 |
< |
} && test -s conftest$ac_exeext && |
11796 |
< |
$as_test_x conftest$ac_exeext; then |
11797 |
< |
eval "$as_ac_var=yes" |
11798 |
< |
else |
11799 |
< |
echo "$as_me: failed program was:" >&5 |
11800 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
11801 |
< |
|
11802 |
< |
eval "$as_ac_var=no" |
11803 |
< |
fi |
11804 |
< |
|
11805 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11806 |
< |
conftest$ac_exeext conftest.$ac_ext |
11807 |
< |
fi |
11808 |
< |
ac_res=`eval echo '${'$as_ac_var'}'` |
11809 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
11810 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
11811 |
< |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
11812 |
< |
cat >>confdefs.h <<_ACEOF |
11813 |
< |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11814 |
< |
_ACEOF |
11815 |
< |
|
11816 |
< |
else |
11817 |
< |
# FreeBSD has a gnugetopt library for this |
11818 |
< |
{ echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5 |
11819 |
< |
echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6; } |
11820 |
< |
if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then |
11821 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11822 |
< |
else |
11823 |
< |
ac_check_lib_save_LIBS=$LIBS |
11824 |
< |
LIBS="-lgnugetopt $LIBS" |
11825 |
< |
cat >conftest.$ac_ext <<_ACEOF |
11826 |
< |
/* confdefs.h. */ |
11827 |
< |
_ACEOF |
11828 |
< |
cat confdefs.h >>conftest.$ac_ext |
11829 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
11830 |
< |
/* end confdefs.h. */ |
11831 |
< |
|
11832 |
< |
/* Override any GCC internal prototype to avoid an error. |
11833 |
< |
Use char because int might match the return type of a GCC |
11834 |
< |
builtin and then its argument prototype would still apply. */ |
11835 |
< |
#ifdef __cplusplus |
11836 |
< |
extern "C" |
11837 |
< |
#endif |
11838 |
< |
char getopt_long (); |
11839 |
< |
#ifdef FC_DUMMY_MAIN |
11840 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
11841 |
< |
# ifdef __cplusplus |
11842 |
< |
extern "C" |
11843 |
< |
# endif |
11844 |
< |
int FC_DUMMY_MAIN() { return 1; } |
11845 |
< |
#endif |
11846 |
< |
#endif |
11847 |
< |
int |
11848 |
< |
main () |
11849 |
< |
{ |
11850 |
< |
return getopt_long (); |
11851 |
< |
; |
11852 |
< |
return 0; |
11853 |
< |
} |
11854 |
< |
_ACEOF |
11855 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
11856 |
< |
if { (ac_try="$ac_link" |
11857 |
< |
case "(($ac_try" in |
11858 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11859 |
< |
*) ac_try_echo=$ac_try;; |
11860 |
< |
esac |
11861 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11862 |
< |
(eval "$ac_link") 2>conftest.er1 |
11863 |
< |
ac_status=$? |
11864 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
11865 |
< |
rm -f conftest.er1 |
11866 |
< |
cat conftest.err >&5 |
11867 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11868 |
< |
(exit $ac_status); } && { |
11869 |
< |
test -z "$ac_c_werror_flag" || |
11870 |
< |
test ! -s conftest.err |
11871 |
< |
} && test -s conftest$ac_exeext && |
11872 |
< |
$as_test_x conftest$ac_exeext; then |
11873 |
< |
ac_cv_lib_gnugetopt_getopt_long=yes |
11874 |
< |
else |
11875 |
< |
echo "$as_me: failed program was:" >&5 |
11876 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
11877 |
< |
|
11878 |
< |
ac_cv_lib_gnugetopt_getopt_long=no |
11879 |
< |
fi |
11880 |
< |
|
11881 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11882 |
< |
conftest$ac_exeext conftest.$ac_ext |
11883 |
< |
LIBS=$ac_check_lib_save_LIBS |
11884 |
< |
fi |
11885 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5 |
11886 |
< |
echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6; } |
11887 |
< |
if test $ac_cv_lib_gnugetopt_getopt_long = yes; then |
11888 |
< |
cat >>confdefs.h <<\_ACEOF |
11889 |
< |
#define HAVE_GETOPT_LONG 1 |
11890 |
< |
_ACEOF |
11891 |
< |
|
11892 |
< |
else |
11893 |
< |
# use the GNU replacement |
11894 |
< |
case " $LIBOBJS " in |
11895 |
< |
*" getopt.$ac_objext "* ) ;; |
11896 |
< |
*) LIBOBJS="$LIBOBJS getopt.$ac_objext" |
11897 |
< |
;; |
11898 |
< |
esac |
11899 |
< |
|
11900 |
< |
case " $LIBOBJS " in |
11901 |
< |
*" getopt1.$ac_objext "* ) ;; |
11902 |
< |
*) LIBOBJS="$LIBOBJS getopt1.$ac_objext" |
11903 |
< |
;; |
11904 |
< |
esac |
11905 |
< |
|
11906 |
< |
ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h" |
11907 |
< |
|
11908 |
< |
fi |
11909 |
< |
|
11910 |
< |
fi |
11911 |
< |
done |
11912 |
< |
|
11913 |
< |
|
11914 |
< |
ac_ext=cpp |
11915 |
< |
ac_cpp='$CXXCPP $CPPFLAGS' |
11916 |
< |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
11917 |
< |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
11918 |
< |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
11919 |
< |
|
11920 |
< |
{ echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5 |
11921 |
< |
echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6; } |
11922 |
< |
if test "${ac_cv_cxx_namespaces+set}" = set; then |
11923 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11924 |
< |
else |
11925 |
< |
|
11926 |
< |
ac_ext=cpp |
11927 |
< |
ac_cpp='$CXXCPP $CPPFLAGS' |
11928 |
< |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
11929 |
< |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
11930 |
< |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
11931 |
< |
|
11932 |
< |
cat >conftest.$ac_ext <<_ACEOF |
11933 |
< |
/* confdefs.h. */ |
11934 |
< |
_ACEOF |
11935 |
< |
cat confdefs.h >>conftest.$ac_ext |
11936 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
11937 |
< |
/* end confdefs.h. */ |
11938 |
< |
namespace Outer { namespace Inner { int i = 0; }} |
11939 |
< |
#ifdef FC_DUMMY_MAIN |
11940 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
11941 |
< |
# ifdef __cplusplus |
11942 |
< |
extern "C" |
11943 |
< |
# endif |
11944 |
< |
int FC_DUMMY_MAIN() { return 1; } |
11945 |
< |
#endif |
11946 |
< |
#endif |
11947 |
< |
int |
11948 |
< |
main () |
11949 |
< |
{ |
11950 |
< |
using namespace Outer::Inner; return i; |
11951 |
< |
; |
11952 |
< |
return 0; |
11953 |
< |
} |
11954 |
< |
_ACEOF |
11955 |
< |
rm -f conftest.$ac_objext |
11956 |
< |
if { (ac_try="$ac_compile" |
11957 |
< |
case "(($ac_try" in |
11958 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11959 |
< |
*) ac_try_echo=$ac_try;; |
11960 |
< |
esac |
11961 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11962 |
< |
(eval "$ac_compile") 2>conftest.er1 |
11963 |
< |
ac_status=$? |
11964 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
11965 |
< |
rm -f conftest.er1 |
11966 |
< |
cat conftest.err >&5 |
11967 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11968 |
< |
(exit $ac_status); } && { |
11969 |
< |
test -z "$ac_cxx_werror_flag" || |
11970 |
< |
test ! -s conftest.err |
11971 |
< |
} && test -s conftest.$ac_objext; then |
11972 |
< |
ac_cv_cxx_namespaces=yes |
11973 |
< |
else |
11974 |
< |
echo "$as_me: failed program was:" >&5 |
11975 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
11976 |
< |
|
11977 |
< |
ac_cv_cxx_namespaces=no |
11978 |
< |
fi |
11979 |
< |
|
11980 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
11981 |
< |
ac_ext=cpp |
11982 |
< |
ac_cpp='$CXXCPP $CPPFLAGS' |
11983 |
< |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
11984 |
< |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
11985 |
< |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
11986 |
< |
|
11987 |
< |
|
11988 |
< |
fi |
11989 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5 |
11990 |
< |
echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6; } |
11991 |
< |
if test "$ac_cv_cxx_namespaces" = yes; then |
11992 |
< |
|
11993 |
< |
cat >>confdefs.h <<\_ACEOF |
11994 |
< |
#define HAVE_NAMESPACES |
11995 |
< |
_ACEOF |
11996 |
< |
|
11997 |
< |
fi |
11998 |
< |
|
11999 |
< |
{ echo "$as_me:$LINENO: checking whether the compiler supports Standard Template Library" >&5 |
12000 |
< |
echo $ECHO_N "checking whether the compiler supports Standard Template Library... $ECHO_C" >&6; } |
12001 |
< |
if test "${ac_cv_cxx_have_stl+set}" = set; then |
12002 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12003 |
< |
else |
12004 |
< |
|
12005 |
< |
|
12006 |
< |
ac_ext=cpp |
12007 |
< |
ac_cpp='$CXXCPP $CPPFLAGS' |
12008 |
< |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
12009 |
< |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
12010 |
< |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
12011 |
< |
|
12012 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12013 |
< |
/* confdefs.h. */ |
12014 |
< |
_ACEOF |
12015 |
< |
cat confdefs.h >>conftest.$ac_ext |
12016 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12017 |
< |
/* end confdefs.h. */ |
12018 |
< |
#include <list> |
12019 |
< |
#include <deque> |
12020 |
< |
#ifdef HAVE_NAMESPACES |
12021 |
< |
using namespace std; |
12022 |
< |
#endif |
12023 |
< |
#ifdef FC_DUMMY_MAIN |
12024 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
12025 |
< |
# ifdef __cplusplus |
12026 |
< |
extern "C" |
12027 |
< |
# endif |
12028 |
< |
int FC_DUMMY_MAIN() { return 1; } |
12029 |
< |
#endif |
12030 |
< |
#endif |
12031 |
< |
int |
12032 |
< |
main () |
12033 |
< |
{ |
12034 |
< |
list<int> x; x.push_back(5); |
12035 |
< |
list<int>::iterator iter = x.begin(); if (iter != x.end()) ++iter; return 0; |
12036 |
< |
; |
12037 |
< |
return 0; |
12038 |
< |
} |
12039 |
< |
_ACEOF |
12040 |
< |
rm -f conftest.$ac_objext |
12041 |
< |
if { (ac_try="$ac_compile" |
12042 |
< |
case "(($ac_try" in |
12043 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12044 |
< |
*) ac_try_echo=$ac_try;; |
12045 |
< |
esac |
12046 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12047 |
< |
(eval "$ac_compile") 2>conftest.er1 |
12048 |
< |
ac_status=$? |
12049 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12050 |
< |
rm -f conftest.er1 |
12051 |
< |
cat conftest.err >&5 |
12052 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12053 |
< |
(exit $ac_status); } && { |
12054 |
< |
test -z "$ac_cxx_werror_flag" || |
12055 |
< |
test ! -s conftest.err |
12056 |
< |
} && test -s conftest.$ac_objext; then |
12057 |
< |
ac_cv_cxx_have_stl=yes |
12058 |
< |
else |
12059 |
< |
echo "$as_me: failed program was:" >&5 |
12060 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12061 |
< |
|
12062 |
< |
ac_cv_cxx_have_stl=no |
12063 |
< |
fi |
12064 |
< |
|
12065 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12066 |
< |
ac_ext=cpp |
12067 |
< |
ac_cpp='$CXXCPP $CPPFLAGS' |
12068 |
< |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
12069 |
< |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
12070 |
< |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
12071 |
< |
|
12072 |
< |
|
12073 |
< |
fi |
12074 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_have_stl" >&5 |
12075 |
< |
echo "${ECHO_T}$ac_cv_cxx_have_stl" >&6; } |
12076 |
< |
if test "$ac_cv_cxx_have_stl" = yes; then |
12077 |
< |
|
12078 |
< |
cat >>confdefs.h <<\_ACEOF |
12079 |
< |
#define HAVE_STL |
12080 |
< |
_ACEOF |
12081 |
< |
|
12082 |
< |
fi |
12083 |
< |
|
12084 |
< |
|
12085 |
< |
|
12086 |
< |
if test "${ac_cv_header_iostream+set}" = set; then |
12087 |
< |
{ echo "$as_me:$LINENO: checking for iostream" >&5 |
12088 |
< |
echo $ECHO_N "checking for iostream... $ECHO_C" >&6; } |
12089 |
< |
if test "${ac_cv_header_iostream+set}" = set; then |
12090 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12091 |
< |
fi |
12092 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5 |
12093 |
< |
echo "${ECHO_T}$ac_cv_header_iostream" >&6; } |
12094 |
< |
else |
12095 |
< |
# Is the header compilable? |
12096 |
< |
{ echo "$as_me:$LINENO: checking iostream usability" >&5 |
12097 |
< |
echo $ECHO_N "checking iostream usability... $ECHO_C" >&6; } |
12098 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12099 |
< |
/* confdefs.h. */ |
12100 |
< |
_ACEOF |
12101 |
< |
cat confdefs.h >>conftest.$ac_ext |
12102 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12103 |
< |
/* end confdefs.h. */ |
12104 |
< |
$ac_includes_default |
12105 |
< |
#include <iostream> |
12106 |
< |
_ACEOF |
12107 |
< |
rm -f conftest.$ac_objext |
12108 |
< |
if { (ac_try="$ac_compile" |
12109 |
< |
case "(($ac_try" in |
12110 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12111 |
< |
*) ac_try_echo=$ac_try;; |
12112 |
< |
esac |
12113 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12114 |
< |
(eval "$ac_compile") 2>conftest.er1 |
12115 |
< |
ac_status=$? |
12116 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12117 |
< |
rm -f conftest.er1 |
12118 |
< |
cat conftest.err >&5 |
12119 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12120 |
< |
(exit $ac_status); } && { |
12121 |
< |
test -z "$ac_cxx_werror_flag" || |
12122 |
< |
test ! -s conftest.err |
12123 |
< |
} && test -s conftest.$ac_objext; then |
12124 |
< |
ac_header_compiler=yes |
12125 |
< |
else |
12126 |
< |
echo "$as_me: failed program was:" >&5 |
12127 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12128 |
< |
|
12129 |
< |
ac_header_compiler=no |
12130 |
< |
fi |
12131 |
< |
|
12132 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12133 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
12134 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
12135 |
< |
|
12136 |
< |
# Is the header present? |
12137 |
< |
{ echo "$as_me:$LINENO: checking iostream presence" >&5 |
12138 |
< |
echo $ECHO_N "checking iostream presence... $ECHO_C" >&6; } |
12139 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12140 |
< |
/* confdefs.h. */ |
12141 |
< |
_ACEOF |
12142 |
< |
cat confdefs.h >>conftest.$ac_ext |
12143 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12144 |
< |
/* end confdefs.h. */ |
12145 |
< |
#include <iostream> |
12146 |
< |
_ACEOF |
12147 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
12148 |
< |
case "(($ac_try" in |
12149 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12150 |
< |
*) ac_try_echo=$ac_try;; |
12151 |
< |
esac |
12152 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12153 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
12154 |
< |
ac_status=$? |
12155 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12156 |
< |
rm -f conftest.er1 |
12157 |
< |
cat conftest.err >&5 |
12158 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12159 |
< |
(exit $ac_status); } >/dev/null && { |
12160 |
< |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
12161 |
< |
test ! -s conftest.err |
12162 |
< |
}; then |
12163 |
< |
ac_header_preproc=yes |
12164 |
< |
else |
12165 |
< |
echo "$as_me: failed program was:" >&5 |
12166 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12167 |
< |
|
12168 |
< |
ac_header_preproc=no |
12169 |
< |
fi |
12170 |
< |
|
12171 |
< |
rm -f conftest.err conftest.$ac_ext |
12172 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
12173 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
12174 |
< |
|
12175 |
< |
# So? What about this header? |
12176 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
12177 |
< |
yes:no: ) |
12178 |
< |
{ echo "$as_me:$LINENO: WARNING: iostream: accepted by the compiler, rejected by the preprocessor!" >&5 |
12179 |
< |
echo "$as_me: WARNING: iostream: accepted by the compiler, rejected by the preprocessor!" >&2;} |
12180 |
< |
{ echo "$as_me:$LINENO: WARNING: iostream: proceeding with the compiler's result" >&5 |
12181 |
< |
echo "$as_me: WARNING: iostream: proceeding with the compiler's result" >&2;} |
12182 |
< |
ac_header_preproc=yes |
12183 |
< |
;; |
12184 |
< |
no:yes:* ) |
12185 |
< |
{ echo "$as_me:$LINENO: WARNING: iostream: present but cannot be compiled" >&5 |
12186 |
< |
echo "$as_me: WARNING: iostream: present but cannot be compiled" >&2;} |
12187 |
< |
{ echo "$as_me:$LINENO: WARNING: iostream: check for missing prerequisite headers?" >&5 |
12188 |
< |
echo "$as_me: WARNING: iostream: check for missing prerequisite headers?" >&2;} |
12189 |
< |
{ echo "$as_me:$LINENO: WARNING: iostream: see the Autoconf documentation" >&5 |
12190 |
< |
echo "$as_me: WARNING: iostream: see the Autoconf documentation" >&2;} |
12191 |
< |
{ echo "$as_me:$LINENO: WARNING: iostream: section \"Present But Cannot Be Compiled\"" >&5 |
12192 |
< |
echo "$as_me: WARNING: iostream: section \"Present But Cannot Be Compiled\"" >&2;} |
12193 |
< |
{ echo "$as_me:$LINENO: WARNING: iostream: proceeding with the preprocessor's result" >&5 |
12194 |
< |
echo "$as_me: WARNING: iostream: proceeding with the preprocessor's result" >&2;} |
12195 |
< |
{ echo "$as_me:$LINENO: WARNING: iostream: in the future, the compiler will take precedence" >&5 |
12196 |
< |
echo "$as_me: WARNING: iostream: in the future, the compiler will take precedence" >&2;} |
12197 |
< |
( cat <<\_ASBOX |
12198 |
< |
## ------------------------------ ## |
12199 |
< |
## Report this to gezelter@nd.edu ## |
12200 |
< |
## ------------------------------ ## |
12201 |
< |
_ASBOX |
12202 |
< |
) | sed "s/^/$as_me: WARNING: /" >&2 |
12203 |
< |
;; |
12204 |
< |
esac |
12205 |
< |
{ echo "$as_me:$LINENO: checking for iostream" >&5 |
12206 |
< |
echo $ECHO_N "checking for iostream... $ECHO_C" >&6; } |
12207 |
< |
if test "${ac_cv_header_iostream+set}" = set; then |
12208 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12209 |
< |
else |
12210 |
< |
ac_cv_header_iostream=$ac_header_preproc |
12211 |
< |
fi |
12212 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5 |
12213 |
< |
echo "${ECHO_T}$ac_cv_header_iostream" >&6; } |
12214 |
< |
|
12215 |
< |
fi |
12216 |
< |
if test $ac_cv_header_iostream = yes; then |
12217 |
< |
|
12218 |
< |
|
12219 |
< |
cat >>confdefs.h <<\_ACEOF |
12220 |
< |
#define HAVE_IOSTREAM 1 |
12221 |
< |
_ACEOF |
12222 |
< |
|
12223 |
< |
|
12224 |
< |
else |
12225 |
< |
|
12226 |
< |
|
12227 |
< |
for ac_header in iostream.h |
12228 |
< |
do |
12229 |
< |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12230 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
12231 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
12232 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
12233 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
12234 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12235 |
< |
fi |
12236 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
12237 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
12238 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
12239 |
< |
else |
12240 |
< |
# Is the header compilable? |
12241 |
< |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
12242 |
< |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
12243 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12244 |
< |
/* confdefs.h. */ |
12245 |
< |
_ACEOF |
12246 |
< |
cat confdefs.h >>conftest.$ac_ext |
12247 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12248 |
< |
/* end confdefs.h. */ |
12249 |
< |
$ac_includes_default |
12250 |
< |
#include <$ac_header> |
12251 |
< |
_ACEOF |
12252 |
< |
rm -f conftest.$ac_objext |
12253 |
< |
if { (ac_try="$ac_compile" |
12254 |
< |
case "(($ac_try" in |
12255 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12256 |
< |
*) ac_try_echo=$ac_try;; |
12257 |
< |
esac |
12258 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12259 |
< |
(eval "$ac_compile") 2>conftest.er1 |
12260 |
< |
ac_status=$? |
12261 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12262 |
< |
rm -f conftest.er1 |
12263 |
< |
cat conftest.err >&5 |
12264 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12265 |
< |
(exit $ac_status); } && { |
12266 |
< |
test -z "$ac_cxx_werror_flag" || |
12267 |
< |
test ! -s conftest.err |
12268 |
< |
} && test -s conftest.$ac_objext; then |
12269 |
< |
ac_header_compiler=yes |
12270 |
< |
else |
12271 |
< |
echo "$as_me: failed program was:" >&5 |
12272 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12273 |
< |
|
12274 |
< |
ac_header_compiler=no |
12275 |
< |
fi |
12276 |
< |
|
12277 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12278 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
12279 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
12280 |
< |
|
12281 |
< |
# Is the header present? |
12282 |
< |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
12283 |
< |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
12284 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12285 |
< |
/* confdefs.h. */ |
12286 |
< |
_ACEOF |
12287 |
< |
cat confdefs.h >>conftest.$ac_ext |
12288 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12289 |
< |
/* end confdefs.h. */ |
12290 |
< |
#include <$ac_header> |
12291 |
< |
_ACEOF |
12292 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
12293 |
< |
case "(($ac_try" in |
12294 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12295 |
< |
*) ac_try_echo=$ac_try;; |
12296 |
< |
esac |
12297 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12298 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
12299 |
< |
ac_status=$? |
12300 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12301 |
< |
rm -f conftest.er1 |
12302 |
< |
cat conftest.err >&5 |
12303 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12304 |
< |
(exit $ac_status); } >/dev/null && { |
12305 |
< |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
12306 |
< |
test ! -s conftest.err |
12307 |
< |
}; then |
12308 |
< |
ac_header_preproc=yes |
12309 |
< |
else |
12310 |
< |
echo "$as_me: failed program was:" >&5 |
12311 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12312 |
< |
|
12313 |
< |
ac_header_preproc=no |
12314 |
< |
fi |
12315 |
< |
|
12316 |
< |
rm -f conftest.err conftest.$ac_ext |
12317 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
12318 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
12319 |
< |
|
12320 |
< |
# So? What about this header? |
12321 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
12322 |
< |
yes:no: ) |
12323 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
12324 |
< |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
12325 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
12326 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
12327 |
< |
ac_header_preproc=yes |
12328 |
< |
;; |
12329 |
< |
no:yes:* ) |
12330 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
12331 |
< |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
12332 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
12333 |
< |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
12334 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
12335 |
< |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
12336 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
12337 |
< |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
12338 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
12339 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
12340 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
12341 |
< |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
12342 |
< |
( cat <<\_ASBOX |
12343 |
< |
## ------------------------------ ## |
12344 |
< |
## Report this to gezelter@nd.edu ## |
12345 |
< |
## ------------------------------ ## |
12346 |
< |
_ASBOX |
12347 |
< |
) | sed "s/^/$as_me: WARNING: /" >&2 |
12348 |
< |
;; |
12349 |
< |
esac |
12350 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
12351 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
12352 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
12353 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12354 |
< |
else |
12355 |
< |
eval "$as_ac_Header=\$ac_header_preproc" |
12356 |
< |
fi |
12357 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
12358 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
12359 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
12360 |
< |
|
12361 |
< |
fi |
12362 |
< |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
12363 |
< |
cat >>confdefs.h <<_ACEOF |
12364 |
< |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12365 |
< |
_ACEOF |
12366 |
< |
|
12367 |
< |
fi |
12368 |
< |
|
12369 |
< |
done |
12370 |
< |
|
12371 |
< |
|
12372 |
< |
fi |
12373 |
< |
|
12374 |
< |
|
12375 |
< |
|
12376 |
< |
|
12377 |
< |
if test "${ac_cv_header_iomanip+set}" = set; then |
12378 |
< |
{ echo "$as_me:$LINENO: checking for iomanip" >&5 |
12379 |
< |
echo $ECHO_N "checking for iomanip... $ECHO_C" >&6; } |
12380 |
< |
if test "${ac_cv_header_iomanip+set}" = set; then |
12381 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12382 |
< |
fi |
12383 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_iomanip" >&5 |
12384 |
< |
echo "${ECHO_T}$ac_cv_header_iomanip" >&6; } |
12385 |
< |
else |
12386 |
< |
# Is the header compilable? |
12387 |
< |
{ echo "$as_me:$LINENO: checking iomanip usability" >&5 |
12388 |
< |
echo $ECHO_N "checking iomanip usability... $ECHO_C" >&6; } |
12389 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12390 |
< |
/* confdefs.h. */ |
12391 |
< |
_ACEOF |
12392 |
< |
cat confdefs.h >>conftest.$ac_ext |
12393 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12394 |
< |
/* end confdefs.h. */ |
12395 |
< |
$ac_includes_default |
12396 |
< |
#include <iomanip> |
12397 |
< |
_ACEOF |
12398 |
< |
rm -f conftest.$ac_objext |
12399 |
< |
if { (ac_try="$ac_compile" |
12400 |
< |
case "(($ac_try" in |
12401 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12402 |
< |
*) ac_try_echo=$ac_try;; |
12403 |
< |
esac |
12404 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12405 |
< |
(eval "$ac_compile") 2>conftest.er1 |
12406 |
< |
ac_status=$? |
12407 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12408 |
< |
rm -f conftest.er1 |
12409 |
< |
cat conftest.err >&5 |
12410 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12411 |
< |
(exit $ac_status); } && { |
12412 |
< |
test -z "$ac_cxx_werror_flag" || |
12413 |
< |
test ! -s conftest.err |
12414 |
< |
} && test -s conftest.$ac_objext; then |
12415 |
< |
ac_header_compiler=yes |
12416 |
< |
else |
12417 |
< |
echo "$as_me: failed program was:" >&5 |
12418 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12419 |
< |
|
12420 |
< |
ac_header_compiler=no |
12421 |
< |
fi |
12422 |
< |
|
12423 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12424 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
12425 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
12426 |
< |
|
12427 |
< |
# Is the header present? |
12428 |
< |
{ echo "$as_me:$LINENO: checking iomanip presence" >&5 |
12429 |
< |
echo $ECHO_N "checking iomanip presence... $ECHO_C" >&6; } |
12430 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12431 |
< |
/* confdefs.h. */ |
12432 |
< |
_ACEOF |
12433 |
< |
cat confdefs.h >>conftest.$ac_ext |
12434 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12435 |
< |
/* end confdefs.h. */ |
12436 |
< |
#include <iomanip> |
12437 |
< |
_ACEOF |
12438 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
12439 |
< |
case "(($ac_try" in |
12440 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12441 |
< |
*) ac_try_echo=$ac_try;; |
12442 |
< |
esac |
12443 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12444 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
12445 |
< |
ac_status=$? |
12446 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12447 |
< |
rm -f conftest.er1 |
12448 |
< |
cat conftest.err >&5 |
12449 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12450 |
< |
(exit $ac_status); } >/dev/null && { |
12451 |
< |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
12452 |
< |
test ! -s conftest.err |
12453 |
< |
}; then |
12454 |
< |
ac_header_preproc=yes |
12455 |
< |
else |
12456 |
< |
echo "$as_me: failed program was:" >&5 |
12457 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12458 |
< |
|
12459 |
< |
ac_header_preproc=no |
12460 |
< |
fi |
12461 |
< |
|
12462 |
< |
rm -f conftest.err conftest.$ac_ext |
12463 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
12464 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
12465 |
< |
|
12466 |
< |
# So? What about this header? |
12467 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
12468 |
< |
yes:no: ) |
12469 |
< |
{ echo "$as_me:$LINENO: WARNING: iomanip: accepted by the compiler, rejected by the preprocessor!" >&5 |
12470 |
< |
echo "$as_me: WARNING: iomanip: accepted by the compiler, rejected by the preprocessor!" >&2;} |
12471 |
< |
{ echo "$as_me:$LINENO: WARNING: iomanip: proceeding with the compiler's result" >&5 |
12472 |
< |
echo "$as_me: WARNING: iomanip: proceeding with the compiler's result" >&2;} |
12473 |
< |
ac_header_preproc=yes |
12474 |
< |
;; |
12475 |
< |
no:yes:* ) |
12476 |
< |
{ echo "$as_me:$LINENO: WARNING: iomanip: present but cannot be compiled" >&5 |
12477 |
< |
echo "$as_me: WARNING: iomanip: present but cannot be compiled" >&2;} |
12478 |
< |
{ echo "$as_me:$LINENO: WARNING: iomanip: check for missing prerequisite headers?" >&5 |
12479 |
< |
echo "$as_me: WARNING: iomanip: check for missing prerequisite headers?" >&2;} |
12480 |
< |
{ echo "$as_me:$LINENO: WARNING: iomanip: see the Autoconf documentation" >&5 |
12481 |
< |
echo "$as_me: WARNING: iomanip: see the Autoconf documentation" >&2;} |
12482 |
< |
{ echo "$as_me:$LINENO: WARNING: iomanip: section \"Present But Cannot Be Compiled\"" >&5 |
12483 |
< |
echo "$as_me: WARNING: iomanip: section \"Present But Cannot Be Compiled\"" >&2;} |
12484 |
< |
{ echo "$as_me:$LINENO: WARNING: iomanip: proceeding with the preprocessor's result" >&5 |
12485 |
< |
echo "$as_me: WARNING: iomanip: proceeding with the preprocessor's result" >&2;} |
12486 |
< |
{ echo "$as_me:$LINENO: WARNING: iomanip: in the future, the compiler will take precedence" >&5 |
12487 |
< |
echo "$as_me: WARNING: iomanip: in the future, the compiler will take precedence" >&2;} |
12488 |
< |
( cat <<\_ASBOX |
12489 |
< |
## ------------------------------ ## |
12490 |
< |
## Report this to gezelter@nd.edu ## |
12491 |
< |
## ------------------------------ ## |
12492 |
< |
_ASBOX |
12493 |
< |
) | sed "s/^/$as_me: WARNING: /" >&2 |
12494 |
< |
;; |
12495 |
< |
esac |
12496 |
< |
{ echo "$as_me:$LINENO: checking for iomanip" >&5 |
12497 |
< |
echo $ECHO_N "checking for iomanip... $ECHO_C" >&6; } |
12498 |
< |
if test "${ac_cv_header_iomanip+set}" = set; then |
12499 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12500 |
< |
else |
12501 |
< |
ac_cv_header_iomanip=$ac_header_preproc |
12502 |
< |
fi |
12503 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_iomanip" >&5 |
12504 |
< |
echo "${ECHO_T}$ac_cv_header_iomanip" >&6; } |
12505 |
< |
|
12506 |
< |
fi |
12507 |
< |
if test $ac_cv_header_iomanip = yes; then |
12508 |
< |
|
12509 |
< |
|
12510 |
< |
cat >>confdefs.h <<\_ACEOF |
12511 |
< |
#define HAVE_IOMANIP 1 |
12512 |
< |
_ACEOF |
12513 |
< |
|
12514 |
< |
|
12515 |
< |
else |
12516 |
< |
|
12517 |
< |
|
12518 |
< |
for ac_header in iomanip.h |
12519 |
< |
do |
12520 |
< |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12521 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
12522 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
12523 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
12524 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
12525 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12526 |
< |
fi |
12527 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
12528 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
12529 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
12530 |
< |
else |
12531 |
< |
# Is the header compilable? |
12532 |
< |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
12533 |
< |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
12534 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12535 |
< |
/* confdefs.h. */ |
12536 |
< |
_ACEOF |
12537 |
< |
cat confdefs.h >>conftest.$ac_ext |
12538 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12539 |
< |
/* end confdefs.h. */ |
12540 |
< |
$ac_includes_default |
12541 |
< |
#include <$ac_header> |
12542 |
< |
_ACEOF |
12543 |
< |
rm -f conftest.$ac_objext |
12544 |
< |
if { (ac_try="$ac_compile" |
12545 |
< |
case "(($ac_try" in |
12546 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12547 |
< |
*) ac_try_echo=$ac_try;; |
12548 |
< |
esac |
12549 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12550 |
< |
(eval "$ac_compile") 2>conftest.er1 |
12551 |
< |
ac_status=$? |
12552 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12553 |
< |
rm -f conftest.er1 |
12554 |
< |
cat conftest.err >&5 |
12555 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12556 |
< |
(exit $ac_status); } && { |
12557 |
< |
test -z "$ac_cxx_werror_flag" || |
12558 |
< |
test ! -s conftest.err |
12559 |
< |
} && test -s conftest.$ac_objext; then |
12560 |
< |
ac_header_compiler=yes |
12561 |
< |
else |
12562 |
< |
echo "$as_me: failed program was:" >&5 |
12563 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12564 |
< |
|
12565 |
< |
ac_header_compiler=no |
12566 |
< |
fi |
12567 |
< |
|
12568 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12569 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
12570 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
12571 |
< |
|
12572 |
< |
# Is the header present? |
12573 |
< |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
12574 |
< |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
12575 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12576 |
< |
/* confdefs.h. */ |
12577 |
< |
_ACEOF |
12578 |
< |
cat confdefs.h >>conftest.$ac_ext |
12579 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12580 |
< |
/* end confdefs.h. */ |
12581 |
< |
#include <$ac_header> |
12582 |
< |
_ACEOF |
12583 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
12584 |
< |
case "(($ac_try" in |
12585 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12586 |
< |
*) ac_try_echo=$ac_try;; |
12587 |
< |
esac |
12588 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12589 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
12590 |
< |
ac_status=$? |
12591 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12592 |
< |
rm -f conftest.er1 |
12593 |
< |
cat conftest.err >&5 |
12594 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12595 |
< |
(exit $ac_status); } >/dev/null && { |
12596 |
< |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
12597 |
< |
test ! -s conftest.err |
12598 |
< |
}; then |
12599 |
< |
ac_header_preproc=yes |
12600 |
< |
else |
12601 |
< |
echo "$as_me: failed program was:" >&5 |
12602 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12603 |
< |
|
12604 |
< |
ac_header_preproc=no |
12605 |
< |
fi |
12606 |
< |
|
12607 |
< |
rm -f conftest.err conftest.$ac_ext |
12608 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
12609 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
12610 |
< |
|
12611 |
< |
# So? What about this header? |
12612 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
12613 |
< |
yes:no: ) |
12614 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
12615 |
< |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
12616 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
12617 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
12618 |
< |
ac_header_preproc=yes |
12619 |
< |
;; |
12620 |
< |
no:yes:* ) |
12621 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
12622 |
< |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
12623 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
12624 |
< |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
12625 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
12626 |
< |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
12627 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
12628 |
< |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
12629 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
12630 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
12631 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
12632 |
< |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
12633 |
< |
( cat <<\_ASBOX |
12634 |
< |
## ------------------------------ ## |
12635 |
< |
## Report this to gezelter@nd.edu ## |
12636 |
< |
## ------------------------------ ## |
12637 |
< |
_ASBOX |
12638 |
< |
) | sed "s/^/$as_me: WARNING: /" >&2 |
12639 |
< |
;; |
12640 |
< |
esac |
12641 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
12642 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
12643 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
12644 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12645 |
< |
else |
12646 |
< |
eval "$as_ac_Header=\$ac_header_preproc" |
12647 |
< |
fi |
12648 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
12649 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
12650 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
12651 |
< |
|
12652 |
< |
fi |
12653 |
< |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
12654 |
< |
cat >>confdefs.h <<_ACEOF |
12655 |
< |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12656 |
< |
_ACEOF |
12657 |
< |
|
12658 |
< |
fi |
12659 |
< |
|
12660 |
< |
done |
12661 |
< |
|
12662 |
< |
|
12663 |
< |
fi |
12664 |
< |
|
12665 |
< |
|
12666 |
< |
|
12667 |
< |
|
12668 |
< |
for ac_header in cmath |
12669 |
< |
do |
12670 |
< |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12671 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
12672 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
12673 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
12674 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
12675 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12676 |
< |
fi |
12677 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
12678 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
12679 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
12680 |
< |
else |
12681 |
< |
# Is the header compilable? |
12682 |
< |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
12683 |
< |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
12684 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12685 |
< |
/* confdefs.h. */ |
12686 |
< |
_ACEOF |
12687 |
< |
cat confdefs.h >>conftest.$ac_ext |
12688 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12689 |
< |
/* end confdefs.h. */ |
12690 |
< |
$ac_includes_default |
12691 |
< |
#include <$ac_header> |
12692 |
< |
_ACEOF |
12693 |
< |
rm -f conftest.$ac_objext |
12694 |
< |
if { (ac_try="$ac_compile" |
12695 |
< |
case "(($ac_try" in |
12696 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12697 |
< |
*) ac_try_echo=$ac_try;; |
12698 |
< |
esac |
12699 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12700 |
< |
(eval "$ac_compile") 2>conftest.er1 |
12701 |
< |
ac_status=$? |
12702 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12703 |
< |
rm -f conftest.er1 |
12704 |
< |
cat conftest.err >&5 |
12705 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12706 |
< |
(exit $ac_status); } && { |
12707 |
< |
test -z "$ac_cxx_werror_flag" || |
12708 |
< |
test ! -s conftest.err |
12709 |
< |
} && test -s conftest.$ac_objext; then |
12710 |
< |
ac_header_compiler=yes |
12711 |
< |
else |
12712 |
< |
echo "$as_me: failed program was:" >&5 |
12713 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12714 |
< |
|
12715 |
< |
ac_header_compiler=no |
12716 |
< |
fi |
12717 |
< |
|
12718 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12719 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
12720 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
12721 |
< |
|
12722 |
< |
# Is the header present? |
12723 |
< |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
12724 |
< |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
12725 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12726 |
< |
/* confdefs.h. */ |
12727 |
< |
_ACEOF |
12728 |
< |
cat confdefs.h >>conftest.$ac_ext |
12729 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12730 |
< |
/* end confdefs.h. */ |
12731 |
< |
#include <$ac_header> |
12732 |
< |
_ACEOF |
12733 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
12734 |
< |
case "(($ac_try" in |
12735 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12736 |
< |
*) ac_try_echo=$ac_try;; |
12737 |
< |
esac |
12738 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12739 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
12740 |
< |
ac_status=$? |
12741 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12742 |
< |
rm -f conftest.er1 |
12743 |
< |
cat conftest.err >&5 |
12744 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12745 |
< |
(exit $ac_status); } >/dev/null && { |
12746 |
< |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
12747 |
< |
test ! -s conftest.err |
12748 |
< |
}; then |
12749 |
< |
ac_header_preproc=yes |
12750 |
< |
else |
12751 |
< |
echo "$as_me: failed program was:" >&5 |
12752 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12753 |
< |
|
12754 |
< |
ac_header_preproc=no |
12755 |
< |
fi |
12756 |
< |
|
12757 |
< |
rm -f conftest.err conftest.$ac_ext |
12758 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
12759 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
12760 |
< |
|
12761 |
< |
# So? What about this header? |
12762 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
12763 |
< |
yes:no: ) |
12764 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
12765 |
< |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
12766 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
12767 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
12768 |
< |
ac_header_preproc=yes |
12769 |
< |
;; |
12770 |
< |
no:yes:* ) |
12771 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
12772 |
< |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
12773 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
12774 |
< |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
12775 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
12776 |
< |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
12777 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
12778 |
< |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
12779 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
12780 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
12781 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
12782 |
< |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
12783 |
< |
( cat <<\_ASBOX |
12784 |
< |
## ------------------------------ ## |
12785 |
< |
## Report this to gezelter@nd.edu ## |
12786 |
< |
## ------------------------------ ## |
12787 |
< |
_ASBOX |
12788 |
< |
) | sed "s/^/$as_me: WARNING: /" >&2 |
12789 |
< |
;; |
12790 |
< |
esac |
12791 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
12792 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
12793 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
12794 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12795 |
< |
else |
12796 |
< |
eval "$as_ac_Header=\$ac_header_preproc" |
12797 |
< |
fi |
12798 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
12799 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
12800 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
12801 |
< |
|
12802 |
< |
fi |
12803 |
< |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
12804 |
< |
cat >>confdefs.h <<_ACEOF |
12805 |
< |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12806 |
< |
_ACEOF |
12807 |
< |
|
12808 |
< |
fi |
12809 |
< |
|
12810 |
< |
done |
12811 |
< |
|
12812 |
< |
|
12813 |
< |
|
12814 |
< |
|
12815 |
< |
{ echo "$as_me:$LINENO: checking for C++ iostream in namespace std" >&5 |
12816 |
< |
echo $ECHO_N "checking for C++ iostream in namespace std... $ECHO_C" >&6; } |
12817 |
< |
if test "${ac_cv_cxx_have_std_iostream+set}" = set; then |
12818 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12819 |
< |
else |
12820 |
< |
|
12821 |
< |
ac_cv_cxx_have_std_iostream=no |
12822 |
< |
ac_cv_cxx_need_use_std_iostream=no |
12823 |
< |
if test "x$ac_cv_cxx_namespaces" = xyes; then |
12824 |
< |
|
12825 |
< |
ac_ext=cpp |
12826 |
< |
ac_cpp='$CXXCPP $CPPFLAGS' |
12827 |
< |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
12828 |
< |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
12829 |
< |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
12830 |
< |
|
12831 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12832 |
< |
/* confdefs.h. */ |
12833 |
< |
_ACEOF |
12834 |
< |
cat confdefs.h >>conftest.$ac_ext |
12835 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12836 |
< |
/* end confdefs.h. */ |
12837 |
< |
|
12838 |
< |
#ifdef HAVE_IOSTREAM |
12839 |
< |
#include <iostream> |
12840 |
< |
#else |
12841 |
< |
#include <iostream.h> |
12842 |
< |
#endif |
12843 |
< |
|
12844 |
< |
#ifdef FC_DUMMY_MAIN |
12845 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
12846 |
< |
# ifdef __cplusplus |
12847 |
< |
extern "C" |
12848 |
< |
# endif |
12849 |
< |
int FC_DUMMY_MAIN() { return 1; } |
12850 |
< |
#endif |
12851 |
< |
#endif |
12852 |
< |
int |
12853 |
< |
main () |
12854 |
< |
{ |
12855 |
< |
std::cout<<"Hello World"<<std::endl;return 0; |
12856 |
< |
; |
12857 |
< |
return 0; |
12858 |
< |
} |
12859 |
< |
_ACEOF |
12860 |
< |
rm -f conftest.$ac_objext |
12861 |
< |
if { (ac_try="$ac_compile" |
12862 |
< |
case "(($ac_try" in |
12863 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12864 |
< |
*) ac_try_echo=$ac_try;; |
12865 |
< |
esac |
12866 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12867 |
< |
(eval "$ac_compile") 2>conftest.er1 |
12868 |
< |
ac_status=$? |
12869 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12870 |
< |
rm -f conftest.er1 |
12871 |
< |
cat conftest.err >&5 |
12872 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12873 |
< |
(exit $ac_status); } && { |
12874 |
< |
test -z "$ac_cxx_werror_flag" || |
12875 |
< |
test ! -s conftest.err |
12876 |
< |
} && test -s conftest.$ac_objext; then |
12877 |
< |
ac_cv_cxx_have_std_iostream=yes |
12878 |
< |
else |
12879 |
< |
echo "$as_me: failed program was:" >&5 |
12880 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12881 |
< |
|
12882 |
< |
|
12883 |
< |
fi |
12884 |
< |
|
12885 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12886 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12887 |
< |
/* confdefs.h. */ |
12888 |
< |
_ACEOF |
12889 |
< |
cat confdefs.h >>conftest.$ac_ext |
12890 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12891 |
< |
/* end confdefs.h. */ |
12892 |
< |
|
12893 |
< |
#define __USE_STD_IOSTREAM 1 |
12894 |
< |
#ifdef HAVE_IOSTREAM |
12895 |
< |
#include <iostream> |
12896 |
< |
#else |
12897 |
< |
#include <iostream.h> |
12898 |
< |
#endif |
12899 |
< |
|
12900 |
< |
#ifdef FC_DUMMY_MAIN |
12901 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
12902 |
< |
# ifdef __cplusplus |
12903 |
< |
extern "C" |
12904 |
< |
# endif |
12905 |
< |
int FC_DUMMY_MAIN() { return 1; } |
12906 |
< |
#endif |
12907 |
< |
#endif |
12908 |
< |
int |
12909 |
< |
main () |
12910 |
< |
{ |
12911 |
< |
std::cout<<"Hello World"<<std::endl;return 0; |
12912 |
< |
; |
12913 |
< |
return 0; |
12914 |
< |
} |
12915 |
< |
_ACEOF |
12916 |
< |
rm -f conftest.$ac_objext |
12917 |
< |
if { (ac_try="$ac_compile" |
12918 |
< |
case "(($ac_try" in |
12919 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12920 |
< |
*) ac_try_echo=$ac_try;; |
12921 |
< |
esac |
12922 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12923 |
< |
(eval "$ac_compile") 2>conftest.er1 |
12924 |
< |
ac_status=$? |
12925 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12926 |
< |
rm -f conftest.er1 |
12927 |
< |
cat conftest.err >&5 |
12928 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12929 |
< |
(exit $ac_status); } && { |
12930 |
< |
test -z "$ac_cxx_werror_flag" || |
12931 |
< |
test ! -s conftest.err |
12932 |
< |
} && test -s conftest.$ac_objext; then |
12933 |
< |
ac_cv_cxx_have_std_iostream=yes;ac_cv_cxx_need_use_std_iostream=yes |
12934 |
< |
else |
12935 |
< |
echo "$as_me: failed program was:" >&5 |
12936 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12937 |
< |
|
12938 |
< |
|
12939 |
< |
fi |
12940 |
< |
|
12941 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12942 |
< |
ac_ext=cpp |
12943 |
< |
ac_cpp='$CXXCPP $CPPFLAGS' |
12944 |
< |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
12945 |
< |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
12946 |
< |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
12947 |
< |
|
12948 |
< |
fi |
12949 |
< |
|
12950 |
< |
fi |
12951 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iostream" >&5 |
12952 |
< |
echo "${ECHO_T}$ac_cv_cxx_have_std_iostream" >&6; } |
12953 |
< |
if test "$ac_cv_cxx_have_std_iostream" = yes; then |
12954 |
< |
|
12955 |
< |
cat >>confdefs.h <<\_ACEOF |
12956 |
< |
#define HAVE_STD_IOSTREAM 1 |
12957 |
< |
_ACEOF |
12958 |
< |
|
12959 |
< |
fi |
12960 |
< |
if test "$ac_cv_cxx_need_use_std_iostream" = yes; then |
12961 |
< |
|
12962 |
< |
cat >>confdefs.h <<\_ACEOF |
12963 |
< |
#define __USE_STD_IOSTREAM 1 |
12964 |
< |
_ACEOF |
12965 |
< |
|
12966 |
< |
fi |
12967 |
< |
|
12968 |
< |
|
12969 |
< |
|
12970 |
< |
|
12971 |
< |
{ echo "$as_me:$LINENO: checking for C++ Standard Template Library in namespace std." >&5 |
12972 |
< |
echo $ECHO_N "checking for C++ Standard Template Library in namespace std.... $ECHO_C" >&6; } |
12973 |
< |
if test "${ac_cv_cxx_have_std_stl+set}" = set; then |
12974 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12975 |
< |
else |
12976 |
< |
|
12977 |
< |
ac_cv_cxx_have_std_stl=no |
12978 |
< |
if test "x$ac_cv_cxx_namespaces" = xyes; then |
12979 |
< |
|
12980 |
< |
ac_ext=cpp |
12981 |
< |
ac_cpp='$CXXCPP $CPPFLAGS' |
12982 |
< |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
12983 |
< |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
12984 |
< |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
12985 |
< |
|
12986 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12987 |
< |
/* confdefs.h. */ |
12988 |
< |
_ACEOF |
12989 |
< |
cat confdefs.h >>conftest.$ac_ext |
12990 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12991 |
< |
/* end confdefs.h. */ |
12992 |
< |
#include <list> |
12993 |
< |
|
12994 |
< |
#ifdef FC_DUMMY_MAIN |
12995 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
12996 |
< |
# ifdef __cplusplus |
12997 |
< |
extern "C" |
12998 |
< |
# endif |
12999 |
< |
int FC_DUMMY_MAIN() { return 1; } |
13000 |
< |
#endif |
13001 |
< |
#endif |
13002 |
< |
int |
13003 |
< |
main () |
13004 |
< |
{ |
13005 |
< |
std::list<int> foo;return 0; |
13006 |
< |
; |
13007 |
< |
return 0; |
13008 |
< |
} |
13009 |
< |
_ACEOF |
13010 |
< |
rm -f conftest.$ac_objext |
13011 |
< |
if { (ac_try="$ac_compile" |
13012 |
< |
case "(($ac_try" in |
13013 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13014 |
< |
*) ac_try_echo=$ac_try;; |
13015 |
< |
esac |
13016 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13017 |
< |
(eval "$ac_compile") 2>conftest.er1 |
13018 |
< |
ac_status=$? |
13019 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
13020 |
< |
rm -f conftest.er1 |
13021 |
< |
cat conftest.err >&5 |
13022 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13023 |
< |
(exit $ac_status); } && { |
13024 |
< |
test -z "$ac_cxx_werror_flag" || |
13025 |
< |
test ! -s conftest.err |
13026 |
< |
} && test -s conftest.$ac_objext; then |
13027 |
< |
ac_cv_cxx_have_std_stl=yes |
13028 |
< |
else |
13029 |
< |
echo "$as_me: failed program was:" >&5 |
13030 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
13031 |
< |
|
13032 |
< |
|
13033 |
< |
fi |
13034 |
< |
|
13035 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13036 |
< |
ac_ext=cpp |
13037 |
< |
ac_cpp='$CXXCPP $CPPFLAGS' |
13038 |
< |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
13039 |
< |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
13040 |
< |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
13041 |
< |
|
13042 |
< |
fi |
13043 |
< |
|
13044 |
< |
fi |
13045 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_stl" >&5 |
13046 |
< |
echo "${ECHO_T}$ac_cv_cxx_have_std_stl" >&6; } |
13047 |
< |
if test "$ac_cv_cxx_have_std_stl" = yes; then |
13048 |
< |
|
13049 |
< |
cat >>confdefs.h <<\_ACEOF |
13050 |
< |
#define HAVE_STD_STL 1 |
13051 |
< |
_ACEOF |
13052 |
< |
|
13053 |
< |
fi |
13054 |
< |
|
13055 |
< |
|
13056 |
< |
|
13057 |
< |
{ echo "$as_me:$LINENO: checking for fstream::attach()" >&5 |
13058 |
< |
echo $ECHO_N "checking for fstream::attach()... $ECHO_C" >&6; } |
13059 |
< |
if test "${ac_cv_cxx_have_fstream_attach+set}" = set; then |
13060 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
13061 |
< |
else |
13062 |
< |
|
13063 |
< |
ac_cv_cxx_have_fstream_attach=no |
13064 |
< |
|
13065 |
< |
ac_ext=cpp |
13066 |
< |
ac_cpp='$CXXCPP $CPPFLAGS' |
13067 |
< |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
13068 |
< |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
13069 |
< |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
13070 |
< |
|
13071 |
< |
cat >conftest.$ac_ext <<_ACEOF |
13072 |
< |
/* confdefs.h. */ |
13073 |
< |
_ACEOF |
13074 |
< |
cat confdefs.h >>conftest.$ac_ext |
13075 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
13076 |
< |
/* end confdefs.h. */ |
13077 |
< |
|
13078 |
< |
#ifdef HAVE_IOSTREAM |
13079 |
< |
#include <fstream> |
13080 |
< |
#else |
13081 |
< |
#include <fstream.h> |
13082 |
< |
#endif |
13083 |
< |
#ifdef HAVE_STD_IOSTREAM |
13084 |
< |
using namespace std; |
13085 |
< |
#endif |
13086 |
< |
|
13087 |
< |
#ifdef FC_DUMMY_MAIN |
13088 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
13089 |
< |
# ifdef __cplusplus |
13090 |
< |
extern "C" |
13091 |
< |
# endif |
13092 |
< |
int FC_DUMMY_MAIN() { return 1; } |
13093 |
< |
#endif |
13094 |
< |
#endif |
13095 |
< |
int |
13096 |
< |
main () |
13097 |
< |
{ |
13098 |
< |
int fd=0;ofstream s;s.attach(fd); |
13099 |
< |
; |
13100 |
< |
return 0; |
13101 |
< |
} |
13102 |
< |
_ACEOF |
13103 |
< |
rm -f conftest.$ac_objext |
13104 |
< |
if { (ac_try="$ac_compile" |
13105 |
< |
case "(($ac_try" in |
13106 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13107 |
< |
*) ac_try_echo=$ac_try;; |
13108 |
< |
esac |
13109 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13110 |
< |
(eval "$ac_compile") 2>conftest.er1 |
13111 |
< |
ac_status=$? |
13112 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
13113 |
< |
rm -f conftest.er1 |
13114 |
< |
cat conftest.err >&5 |
13115 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13116 |
< |
(exit $ac_status); } && { |
13117 |
< |
test -z "$ac_cxx_werror_flag" || |
13118 |
< |
test ! -s conftest.err |
13119 |
< |
} && test -s conftest.$ac_objext; then |
13120 |
< |
ac_cv_cxx_have_fstream_attach=yes |
13121 |
< |
else |
13122 |
< |
echo "$as_me: failed program was:" >&5 |
13123 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
13124 |
< |
|
13125 |
< |
|
13126 |
< |
fi |
13127 |
< |
|
13128 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13129 |
< |
ac_ext=cpp |
13130 |
< |
ac_cpp='$CXXCPP $CPPFLAGS' |
13131 |
< |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
13132 |
< |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
13133 |
< |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
13134 |
< |
|
13135 |
< |
|
13136 |
< |
fi |
13137 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fstream_attach" >&5 |
13138 |
< |
echo "${ECHO_T}$ac_cv_cxx_have_fstream_attach" >&6; } |
13139 |
< |
if test "$ac_cv_cxx_have_fstream_attach" = yes; then |
13140 |
< |
|
13141 |
< |
cat >>confdefs.h <<\_ACEOF |
13142 |
< |
#define HAVE_FSTREAM_ATTACH 1 |
13143 |
< |
_ACEOF |
13144 |
< |
|
13145 |
< |
fi |
13146 |
< |
|
13147 |
< |
|
13148 |
< |
|
13149 |
< |
{ echo "$as_me:$LINENO: checking for fstream::open()" >&5 |
13150 |
< |
echo $ECHO_N "checking for fstream::open()... $ECHO_C" >&6; } |
13151 |
< |
if test "${ac_cv_cxx_have_fstream_open+set}" = set; then |
13152 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
13153 |
< |
else |
13154 |
< |
|
13155 |
< |
ac_cv_cxx_have_fstream_open=no |
13156 |
< |
ac_cv_cxx_fstream_open_prot=no |
13157 |
< |
|
13158 |
< |
ac_ext=cpp |
13159 |
< |
ac_cpp='$CXXCPP $CPPFLAGS' |
13160 |
< |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
13161 |
< |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
13162 |
< |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
13163 |
< |
|
13164 |
< |
# Try with 2 parameters |
13165 |
< |
cat >conftest.$ac_ext <<_ACEOF |
13166 |
< |
/* confdefs.h. */ |
13167 |
< |
_ACEOF |
13168 |
< |
cat confdefs.h >>conftest.$ac_ext |
13169 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
13170 |
< |
/* end confdefs.h. */ |
13171 |
< |
|
13172 |
< |
#ifdef HAVE_IOSTREAM |
13173 |
< |
#include <fstream> |
13174 |
< |
#else |
13175 |
< |
#include <fstream.h> |
13176 |
< |
#endif |
13177 |
< |
#ifdef HAVE_STD_IOSTREAM |
13178 |
< |
using namespace std; |
13179 |
< |
#endif |
13180 |
< |
|
13181 |
< |
#ifdef FC_DUMMY_MAIN |
13182 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
13183 |
< |
# ifdef __cplusplus |
13184 |
< |
extern "C" |
13185 |
< |
# endif |
13186 |
< |
int FC_DUMMY_MAIN() { return 1; } |
13187 |
< |
#endif |
13188 |
< |
#endif |
13189 |
< |
int |
13190 |
< |
main () |
13191 |
< |
{ |
13192 |
< |
ofstream s;s.open("conftest.txt",ios::out|ios::trunc); |
13193 |
< |
; |
13194 |
< |
return 0; |
13195 |
< |
} |
13196 |
< |
_ACEOF |
13197 |
< |
rm -f conftest.$ac_objext |
13198 |
< |
if { (ac_try="$ac_compile" |
13199 |
< |
case "(($ac_try" in |
13200 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13201 |
< |
*) ac_try_echo=$ac_try;; |
13202 |
< |
esac |
13203 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13204 |
< |
(eval "$ac_compile") 2>conftest.er1 |
13205 |
< |
ac_status=$? |
13206 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
13207 |
< |
rm -f conftest.er1 |
13208 |
< |
cat conftest.err >&5 |
13209 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13210 |
< |
(exit $ac_status); } && { |
13211 |
< |
test -z "$ac_cxx_werror_flag" || |
13212 |
< |
test ! -s conftest.err |
13213 |
< |
} && test -s conftest.$ac_objext; then |
13214 |
< |
ac_cv_cxx_have_fstream_open=yes |
13215 |
< |
else |
13216 |
< |
echo "$as_me: failed program was:" >&5 |
13217 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
13218 |
< |
|
13219 |
< |
|
13220 |
< |
fi |
13221 |
< |
|
13222 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13223 |
< |
# Try with mode parameter |
13224 |
< |
cat >conftest.$ac_ext <<_ACEOF |
13225 |
< |
/* confdefs.h. */ |
13226 |
< |
_ACEOF |
13227 |
< |
cat confdefs.h >>conftest.$ac_ext |
13228 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
13229 |
< |
/* end confdefs.h. */ |
13230 |
< |
|
13231 |
< |
#ifdef HAVE_IOSTREAM |
13232 |
< |
#include <fstream> |
13233 |
< |
#else |
13234 |
< |
#include <fstream.h> |
13235 |
< |
#endif |
13236 |
< |
#ifdef HAVE_STD_IOSTREAM |
13237 |
< |
using namespace std; |
13238 |
< |
#endif |
13239 |
< |
|
13240 |
< |
#ifdef FC_DUMMY_MAIN |
13241 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
13242 |
< |
# ifdef __cplusplus |
13243 |
< |
extern "C" |
13244 |
< |
# endif |
13245 |
< |
int FC_DUMMY_MAIN() { return 1; } |
13246 |
< |
#endif |
13247 |
< |
#endif |
13248 |
< |
int |
13249 |
< |
main () |
13250 |
< |
{ |
13251 |
< |
ofstream s;s.open("conftest.txt",ios::out|ios::trunc,0666); |
13252 |
< |
; |
13253 |
< |
return 0; |
13254 |
< |
} |
13255 |
< |
_ACEOF |
13256 |
< |
rm -f conftest.$ac_objext |
13257 |
< |
if { (ac_try="$ac_compile" |
13258 |
< |
case "(($ac_try" in |
13259 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13260 |
< |
*) ac_try_echo=$ac_try;; |
13261 |
< |
esac |
13262 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13263 |
< |
(eval "$ac_compile") 2>conftest.er1 |
13264 |
< |
ac_status=$? |
13265 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
13266 |
< |
rm -f conftest.er1 |
13267 |
< |
cat conftest.err >&5 |
13268 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13269 |
< |
(exit $ac_status); } && { |
13270 |
< |
test -z "$ac_cxx_werror_flag" || |
13271 |
< |
test ! -s conftest.err |
13272 |
< |
} && test -s conftest.$ac_objext; then |
13273 |
< |
ac_cv_cxx_fstream_open_prot=yes |
13274 |
< |
else |
13275 |
< |
echo "$as_me: failed program was:" >&5 |
13276 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
13277 |
< |
|
13278 |
< |
|
13279 |
< |
fi |
13280 |
< |
|
13281 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13282 |
< |
ac_ext=cpp |
13283 |
< |
ac_cpp='$CXXCPP $CPPFLAGS' |
13284 |
< |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
13285 |
< |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
13286 |
< |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
13287 |
< |
|
13288 |
< |
|
13289 |
< |
fi |
13290 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fstream_open" >&5 |
13291 |
< |
echo "${ECHO_T}$ac_cv_cxx_have_fstream_open" >&6; } |
13292 |
< |
if test "$ac_cv_cxx_have_fstream_open" = yes; then |
13293 |
< |
|
13294 |
< |
cat >>confdefs.h <<\_ACEOF |
13295 |
< |
#define HAVE_FSTREAM_OPEN 1 |
13296 |
< |
_ACEOF |
13297 |
< |
|
13298 |
< |
fi |
13299 |
< |
if test "$ac_cv_cxx_fstream_open_prot" = yes; then |
13300 |
< |
|
13301 |
< |
cat >>confdefs.h <<\_ACEOF |
13302 |
< |
#define FSTREAM_OPEN_PROT 1 |
13303 |
< |
_ACEOF |
13304 |
< |
|
13305 |
< |
fi |
13306 |
< |
|
13307 |
< |
|
13308 |
< |
|
13309 |
< |
|
13310 |
< |
|
13311 |
< |
|
13312 |
< |
|
13313 |
< |
for ac_header in ctype.h iostream fstream sstream strstream |
13314 |
< |
do |
13315 |
< |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
13316 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
13317 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
13318 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
13319 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
13320 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
13321 |
< |
fi |
13322 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
13323 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
13324 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
13325 |
< |
else |
13326 |
< |
# Is the header compilable? |
13327 |
< |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
13328 |
< |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
13329 |
< |
cat >conftest.$ac_ext <<_ACEOF |
13330 |
< |
/* confdefs.h. */ |
13331 |
< |
_ACEOF |
13332 |
< |
cat confdefs.h >>conftest.$ac_ext |
13333 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
13334 |
< |
/* end confdefs.h. */ |
13335 |
< |
$ac_includes_default |
13336 |
< |
#include <$ac_header> |
13337 |
< |
_ACEOF |
13338 |
< |
rm -f conftest.$ac_objext |
13339 |
< |
if { (ac_try="$ac_compile" |
13340 |
< |
case "(($ac_try" in |
13341 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13342 |
< |
*) ac_try_echo=$ac_try;; |
13343 |
< |
esac |
13344 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13345 |
< |
(eval "$ac_compile") 2>conftest.er1 |
13346 |
< |
ac_status=$? |
13347 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
13348 |
< |
rm -f conftest.er1 |
13349 |
< |
cat conftest.err >&5 |
13350 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13351 |
< |
(exit $ac_status); } && { |
13352 |
< |
test -z "$ac_cxx_werror_flag" || |
13353 |
< |
test ! -s conftest.err |
13354 |
< |
} && test -s conftest.$ac_objext; then |
13355 |
< |
ac_header_compiler=yes |
13356 |
< |
else |
13357 |
< |
echo "$as_me: failed program was:" >&5 |
13358 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
13359 |
< |
|
13360 |
< |
ac_header_compiler=no |
13361 |
< |
fi |
13362 |
< |
|
13363 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13364 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
13365 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
13366 |
< |
|
13367 |
< |
# Is the header present? |
13368 |
< |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
13369 |
< |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
13370 |
< |
cat >conftest.$ac_ext <<_ACEOF |
13371 |
< |
/* confdefs.h. */ |
13372 |
< |
_ACEOF |
13373 |
< |
cat confdefs.h >>conftest.$ac_ext |
13374 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
13375 |
< |
/* end confdefs.h. */ |
13376 |
< |
#include <$ac_header> |
13377 |
< |
_ACEOF |
13378 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
13379 |
< |
case "(($ac_try" in |
13380 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13381 |
< |
*) ac_try_echo=$ac_try;; |
13382 |
< |
esac |
13383 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13384 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
13385 |
< |
ac_status=$? |
13386 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
13387 |
< |
rm -f conftest.er1 |
13388 |
< |
cat conftest.err >&5 |
13389 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13390 |
< |
(exit $ac_status); } >/dev/null && { |
13391 |
< |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
13392 |
< |
test ! -s conftest.err |
13393 |
< |
}; then |
13394 |
< |
ac_header_preproc=yes |
13395 |
< |
else |
13396 |
< |
echo "$as_me: failed program was:" >&5 |
13397 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
13398 |
< |
|
13399 |
< |
ac_header_preproc=no |
13400 |
< |
fi |
13401 |
< |
|
13402 |
< |
rm -f conftest.err conftest.$ac_ext |
13403 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
13404 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
13405 |
< |
|
13406 |
< |
# So? What about this header? |
13407 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
13408 |
< |
yes:no: ) |
13409 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
13410 |
< |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
13411 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
13412 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
13413 |
< |
ac_header_preproc=yes |
13414 |
< |
;; |
13415 |
< |
no:yes:* ) |
13416 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
13417 |
< |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
13418 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
13419 |
< |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
13420 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
13421 |
< |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
13422 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
13423 |
< |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
13424 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
13425 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
13426 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
13427 |
< |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
13428 |
< |
( cat <<\_ASBOX |
13429 |
< |
## ------------------------------ ## |
13430 |
< |
## Report this to gezelter@nd.edu ## |
13431 |
< |
## ------------------------------ ## |
13432 |
< |
_ASBOX |
13433 |
< |
) | sed "s/^/$as_me: WARNING: /" >&2 |
13434 |
< |
;; |
13435 |
< |
esac |
13436 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
13437 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
13438 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
13439 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
13440 |
< |
else |
13441 |
< |
eval "$as_ac_Header=\$ac_header_preproc" |
13442 |
< |
fi |
13443 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
13444 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
13445 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
13446 |
< |
|
13447 |
< |
fi |
13448 |
< |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
13449 |
< |
cat >>confdefs.h <<_ACEOF |
13450 |
< |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
13451 |
< |
_ACEOF |
13452 |
< |
|
13453 |
< |
fi |
13454 |
< |
|
13455 |
< |
done |
13456 |
< |
|
13457 |
< |
# AC_CPP_FUNC |
13458 |
< |
# ------------------ # |
13459 |
< |
# Checks to see if ANSI C99 CPP variable __func__ works. |
13460 |
< |
# If not, perhaps __FUNCTION__ works instead. |
13461 |
< |
# If not, we'll just define __func__ to "". |
13462 |
< |
# AC_CPP_FUNC |
13463 |
< |
|
13464 |
< |
case $ac_cv_prog_cc_stdc in |
13465 |
< |
no) ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; |
13466 |
< |
*) { echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5 |
13467 |
< |
echo $ECHO_N "checking for $CC option to accept ISO C99... $ECHO_C" >&6; } |
13468 |
< |
if test "${ac_cv_prog_cc_c99+set}" = set; then |
13469 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
13470 |
< |
else |
13471 |
< |
ac_cv_prog_cc_c99=no |
13472 |
< |
ac_save_CC=$CC |
13473 |
< |
cat >conftest.$ac_ext <<_ACEOF |
13474 |
< |
/* confdefs.h. */ |
13475 |
< |
_ACEOF |
13476 |
< |
cat confdefs.h >>conftest.$ac_ext |
13477 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
13478 |
< |
/* end confdefs.h. */ |
13479 |
< |
#include <stdarg.h> |
13480 |
< |
#include <stdbool.h> |
13481 |
< |
#include <stdlib.h> |
13482 |
< |
#include <wchar.h> |
13483 |
< |
#include <stdio.h> |
13484 |
< |
|
13485 |
< |
// Check varargs macros. These examples are taken from C99 6.10.3.5. |
13486 |
< |
#define debug(...) fprintf (stderr, __VA_ARGS__) |
13487 |
< |
#define showlist(...) puts (#__VA_ARGS__) |
13488 |
< |
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
13489 |
< |
static void |
13490 |
< |
test_varargs_macros (void) |
13491 |
< |
{ |
13492 |
< |
int x = 1234; |
13493 |
< |
int y = 5678; |
13494 |
< |
debug ("Flag"); |
13495 |
< |
debug ("X = %d\n", x); |
13496 |
< |
showlist (The first, second, and third items.); |
13497 |
< |
report (x>y, "x is %d but y is %d", x, y); |
13498 |
< |
} |
13499 |
< |
|
13500 |
< |
// Check long long types. |
13501 |
< |
#define BIG64 18446744073709551615ull |
13502 |
< |
#define BIG32 4294967295ul |
13503 |
< |
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
13504 |
< |
#if !BIG_OK |
13505 |
< |
your preprocessor is broken; |
13506 |
< |
#endif |
13507 |
< |
#if BIG_OK |
13508 |
< |
#else |
13509 |
< |
your preprocessor is broken; |
13510 |
< |
#endif |
13511 |
< |
static long long int bignum = -9223372036854775807LL; |
13512 |
< |
static unsigned long long int ubignum = BIG64; |
13513 |
< |
|
13514 |
< |
struct incomplete_array |
13515 |
< |
{ |
13516 |
< |
int datasize; |
13517 |
< |
double data[]; |
13518 |
< |
}; |
13519 |
< |
|
13520 |
< |
struct named_init { |
13521 |
< |
int number; |
13522 |
< |
const wchar_t *name; |
13523 |
< |
double average; |
13524 |
< |
}; |
13525 |
< |
|
13526 |
< |
typedef const char *ccp; |
13527 |
< |
|
13528 |
< |
static inline int |
13529 |
< |
test_restrict (ccp restrict text) |
13530 |
< |
{ |
13531 |
< |
// See if C++-style comments work. |
13532 |
< |
// Iterate through items via the restricted pointer. |
13533 |
< |
// Also check for declarations in for loops. |
13534 |
< |
for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
13535 |
< |
continue; |
13536 |
< |
return 0; |
13537 |
< |
} |
13538 |
< |
|
13539 |
< |
// Check varargs and va_copy. |
13540 |
< |
static void |
13541 |
< |
test_varargs (const char *format, ...) |
13542 |
< |
{ |
13543 |
< |
va_list args; |
13544 |
< |
va_start (args, format); |
13545 |
< |
va_list args_copy; |
13546 |
< |
va_copy (args_copy, args); |
13547 |
< |
|
13548 |
< |
const char *str; |
13549 |
< |
int number; |
13550 |
< |
float fnumber; |
13551 |
< |
|
13552 |
< |
while (*format) |
13553 |
< |
{ |
13554 |
< |
switch (*format++) |
13555 |
< |
{ |
13556 |
< |
case 's': // string |
13557 |
< |
str = va_arg (args_copy, const char *); |
13558 |
< |
break; |
13559 |
< |
case 'd': // int |
13560 |
< |
number = va_arg (args_copy, int); |
13561 |
< |
break; |
13562 |
< |
case 'f': // float |
13563 |
< |
fnumber = va_arg (args_copy, double); |
13564 |
< |
break; |
13565 |
< |
default: |
13566 |
< |
break; |
13567 |
< |
} |
13568 |
< |
} |
13569 |
< |
va_end (args_copy); |
13570 |
< |
va_end (args); |
13571 |
< |
} |
13572 |
< |
|
13573 |
< |
#ifdef FC_DUMMY_MAIN |
13574 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
13575 |
< |
# ifdef __cplusplus |
13576 |
< |
extern "C" |
13577 |
< |
# endif |
13578 |
< |
int FC_DUMMY_MAIN() { return 1; } |
13579 |
< |
#endif |
13580 |
< |
#endif |
13581 |
< |
int |
13582 |
< |
main () |
13583 |
< |
{ |
13584 |
< |
|
13585 |
< |
// Check bool. |
13586 |
< |
_Bool success = false; |
13587 |
< |
|
13588 |
< |
// Check restrict. |
13589 |
< |
if (test_restrict ("String literal") == 0) |
13590 |
< |
success = true; |
13591 |
< |
char *restrict newvar = "Another string"; |
13592 |
< |
|
13593 |
< |
// Check varargs. |
13594 |
< |
test_varargs ("s, d' f .", "string", 65, 34.234); |
13595 |
< |
test_varargs_macros (); |
13596 |
< |
|
13597 |
< |
// Check flexible array members. |
13598 |
< |
struct incomplete_array *ia = |
13599 |
< |
malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
13600 |
< |
ia->datasize = 10; |
13601 |
< |
for (int i = 0; i < ia->datasize; ++i) |
13602 |
< |
ia->data[i] = i * 1.234; |
13603 |
< |
|
13604 |
< |
// Check named initializers. |
13605 |
< |
struct named_init ni = { |
13606 |
< |
.number = 34, |
13607 |
< |
.name = L"Test wide string", |
13608 |
< |
.average = 543.34343, |
13609 |
< |
}; |
13610 |
< |
|
13611 |
< |
ni.number = 58; |
13612 |
< |
|
13613 |
< |
int dynamic_array[ni.number]; |
13614 |
< |
dynamic_array[ni.number - 1] = 543; |
13615 |
< |
|
13616 |
< |
// work around unused variable warnings |
13617 |
< |
return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
13618 |
< |
|| dynamic_array[ni.number - 1] != 543); |
13619 |
< |
|
13620 |
< |
; |
13621 |
< |
return 0; |
13622 |
< |
} |
13623 |
< |
_ACEOF |
13624 |
< |
for ac_arg in '' -std=gnu99 -c99 -qlanglvl=extc99 |
13625 |
< |
do |
13626 |
< |
CC="$ac_save_CC $ac_arg" |
13627 |
< |
rm -f conftest.$ac_objext |
13628 |
< |
if { (ac_try="$ac_compile" |
13629 |
< |
case "(($ac_try" in |
13630 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13631 |
< |
*) ac_try_echo=$ac_try;; |
13632 |
< |
esac |
13633 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13634 |
< |
(eval "$ac_compile") 2>conftest.er1 |
13635 |
< |
ac_status=$? |
13636 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
13637 |
< |
rm -f conftest.er1 |
13638 |
< |
cat conftest.err >&5 |
13639 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13640 |
< |
(exit $ac_status); } && { |
13641 |
< |
test -z "$ac_cxx_werror_flag" || |
13642 |
< |
test ! -s conftest.err |
13643 |
< |
} && test -s conftest.$ac_objext; then |
13644 |
< |
ac_cv_prog_cc_c99=$ac_arg |
13645 |
< |
else |
13646 |
< |
echo "$as_me: failed program was:" >&5 |
13647 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
13648 |
< |
|
13649 |
< |
|
13650 |
< |
fi |
13651 |
< |
|
13652 |
< |
rm -f core conftest.err conftest.$ac_objext |
13653 |
< |
test "x$ac_cv_prog_cc_c99" != "xno" && break |
13654 |
< |
done |
13655 |
< |
rm -f conftest.$ac_ext |
13656 |
< |
CC=$ac_save_CC |
13657 |
< |
|
13658 |
< |
fi |
13659 |
< |
# AC_CACHE_VAL |
13660 |
< |
case "x$ac_cv_prog_cc_c99" in |
13661 |
< |
x) |
13662 |
< |
{ echo "$as_me:$LINENO: result: none needed" >&5 |
13663 |
< |
echo "${ECHO_T}none needed" >&6; } ;; |
13664 |
< |
xno) |
13665 |
< |
{ echo "$as_me:$LINENO: result: unsupported" >&5 |
13666 |
< |
echo "${ECHO_T}unsupported" >&6; } ;; |
13667 |
< |
*) |
13668 |
< |
CC="$CC $ac_cv_prog_cc_c99" |
13669 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5 |
13670 |
< |
echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;; |
13671 |
< |
esac |
13672 |
< |
if test "x$ac_cv_prog_cc_c99" != xno; then |
13673 |
< |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 |
13674 |
< |
else |
13675 |
< |
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
13676 |
< |
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
13677 |
< |
if test "${ac_cv_prog_cc_c89+set}" = set; then |
13678 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
13679 |
< |
else |
13680 |
< |
ac_cv_prog_cc_c89=no |
13681 |
< |
ac_save_CC=$CC |
13682 |
< |
cat >conftest.$ac_ext <<_ACEOF |
13683 |
< |
/* confdefs.h. */ |
13684 |
< |
_ACEOF |
13685 |
< |
cat confdefs.h >>conftest.$ac_ext |
13686 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
13687 |
< |
/* end confdefs.h. */ |
13688 |
< |
#include <stdarg.h> |
13689 |
< |
#include <stdio.h> |
13690 |
< |
#include <sys/types.h> |
13691 |
< |
#include <sys/stat.h> |
13692 |
< |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
13693 |
< |
struct buf { int x; }; |
13694 |
< |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
13695 |
< |
static char *e (p, i) |
13696 |
< |
char **p; |
13697 |
< |
int i; |
13698 |
< |
{ |
13699 |
< |
return p[i]; |
13700 |
< |
} |
13701 |
< |
static char *f (char * (*g) (char **, int), char **p, ...) |
13702 |
< |
{ |
13703 |
< |
char *s; |
13704 |
< |
va_list v; |
13705 |
< |
va_start (v,p); |
13706 |
< |
s = g (p, va_arg (v,int)); |
13707 |
< |
va_end (v); |
13708 |
< |
return s; |
13709 |
< |
} |
13710 |
< |
|
13711 |
< |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
13712 |
< |
function prototypes and stuff, but not '\xHH' hex character constants. |
13713 |
< |
These don't provoke an error unfortunately, instead are silently treated |
13714 |
< |
as 'x'. The following induces an error, until -std is added to get |
13715 |
< |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
13716 |
< |
array size at least. It's necessary to write '\x00'==0 to get something |
13717 |
< |
that's true only with -std. */ |
13718 |
< |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
13719 |
< |
|
13720 |
< |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
13721 |
< |
inside strings and character constants. */ |
13722 |
< |
#define FOO(x) 'x' |
13723 |
< |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
13724 |
< |
|
13725 |
< |
int test (int i, double x); |
13726 |
< |
struct s1 {int (*f) (int a);}; |
13727 |
< |
struct s2 {int (*f) (double a);}; |
13728 |
< |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
13729 |
< |
int argc; |
13730 |
< |
char **argv; |
13731 |
< |
#ifdef FC_DUMMY_MAIN |
13732 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
13733 |
< |
# ifdef __cplusplus |
13734 |
< |
extern "C" |
13735 |
< |
# endif |
13736 |
< |
int FC_DUMMY_MAIN() { return 1; } |
13737 |
< |
#endif |
13738 |
< |
#endif |
13739 |
< |
int |
13740 |
< |
main () |
13741 |
< |
{ |
13742 |
< |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
13743 |
< |
; |
13744 |
< |
return 0; |
13745 |
< |
} |
13746 |
< |
_ACEOF |
13747 |
< |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
13748 |
< |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
13749 |
< |
do |
13750 |
< |
CC="$ac_save_CC $ac_arg" |
13751 |
< |
rm -f conftest.$ac_objext |
13752 |
< |
if { (ac_try="$ac_compile" |
13753 |
< |
case "(($ac_try" in |
13754 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13755 |
< |
*) ac_try_echo=$ac_try;; |
13756 |
< |
esac |
13757 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13758 |
< |
(eval "$ac_compile") 2>conftest.er1 |
13759 |
< |
ac_status=$? |
13760 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
13761 |
< |
rm -f conftest.er1 |
13762 |
< |
cat conftest.err >&5 |
13763 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13764 |
< |
(exit $ac_status); } && { |
13765 |
< |
test -z "$ac_cxx_werror_flag" || |
13766 |
< |
test ! -s conftest.err |
13767 |
< |
} && test -s conftest.$ac_objext; then |
13768 |
< |
ac_cv_prog_cc_c89=$ac_arg |
13769 |
< |
else |
13770 |
< |
echo "$as_me: failed program was:" >&5 |
13771 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
13772 |
< |
|
13773 |
< |
|
13774 |
< |
fi |
13775 |
< |
|
13776 |
< |
rm -f core conftest.err conftest.$ac_objext |
13777 |
< |
test "x$ac_cv_prog_cc_c89" != "xno" && break |
13778 |
< |
done |
13779 |
< |
rm -f conftest.$ac_ext |
13780 |
< |
CC=$ac_save_CC |
13781 |
< |
|
13782 |
< |
fi |
13783 |
< |
# AC_CACHE_VAL |
13784 |
< |
case "x$ac_cv_prog_cc_c89" in |
13785 |
< |
x) |
13786 |
< |
{ echo "$as_me:$LINENO: result: none needed" >&5 |
13787 |
< |
echo "${ECHO_T}none needed" >&6; } ;; |
13788 |
< |
xno) |
13789 |
< |
{ echo "$as_me:$LINENO: result: unsupported" >&5 |
13790 |
< |
echo "${ECHO_T}unsupported" >&6; } ;; |
13791 |
< |
*) |
13792 |
< |
CC="$CC $ac_cv_prog_cc_c89" |
13793 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
13794 |
< |
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
13795 |
< |
esac |
13796 |
< |
if test "x$ac_cv_prog_cc_c89" != xno; then |
13797 |
< |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 |
13798 |
< |
else |
13799 |
< |
ac_cv_prog_cc_stdc=no |
13800 |
< |
fi |
13801 |
< |
|
13802 |
< |
|
13803 |
< |
fi |
13804 |
< |
|
13805 |
< |
;; |
13806 |
< |
esac |
13807 |
< |
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5 |
13808 |
< |
echo $ECHO_N "checking for $CC option to accept ISO Standard C... $ECHO_C" >&6; } |
13809 |
< |
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
13810 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
13811 |
< |
fi |
13812 |
< |
|
13813 |
< |
case $ac_cv_prog_cc_stdc in |
13814 |
< |
no) { echo "$as_me:$LINENO: result: unsupported" >&5 |
13815 |
< |
echo "${ECHO_T}unsupported" >&6; } ;; |
13816 |
< |
'') { echo "$as_me:$LINENO: result: none needed" >&5 |
13817 |
< |
echo "${ECHO_T}none needed" >&6; } ;; |
13818 |
< |
*) { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
13819 |
< |
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } ;; |
13820 |
< |
esac |
13821 |
< |
|
13822 |
< |
|
13823 |
< |
{ echo "$as_me:$LINENO: checking for an ANSI C99-conforming __func__" >&5 |
13824 |
< |
echo $ECHO_N "checking for an ANSI C99-conforming __func__... $ECHO_C" >&6; } |
13825 |
< |
if test "${ac_cv_cpp_func+set}" = set; then |
13826 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
13827 |
< |
else |
13828 |
< |
cat >conftest.$ac_ext <<_ACEOF |
13829 |
< |
/* confdefs.h. */ |
13830 |
< |
_ACEOF |
13831 |
< |
cat confdefs.h >>conftest.$ac_ext |
13832 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
13833 |
< |
/* end confdefs.h. */ |
13834 |
< |
|
13835 |
< |
#ifdef FC_DUMMY_MAIN |
13836 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
13837 |
< |
# ifdef __cplusplus |
13838 |
< |
extern "C" |
13839 |
< |
# endif |
13840 |
< |
int FC_DUMMY_MAIN() { return 1; } |
13841 |
< |
#endif |
13842 |
< |
#endif |
13843 |
< |
int |
13844 |
< |
main () |
13845 |
< |
{ |
13846 |
< |
const char *foo = __func__; |
13847 |
< |
; |
13848 |
< |
return 0; |
13849 |
< |
} |
13850 |
< |
_ACEOF |
13851 |
< |
rm -f conftest.$ac_objext |
13852 |
< |
if { (ac_try="$ac_compile" |
13853 |
< |
case "(($ac_try" in |
13854 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13855 |
< |
*) ac_try_echo=$ac_try;; |
13856 |
< |
esac |
13857 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13858 |
< |
(eval "$ac_compile") 2>conftest.er1 |
13859 |
< |
ac_status=$? |
13860 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
13861 |
< |
rm -f conftest.er1 |
13862 |
< |
cat conftest.err >&5 |
13863 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13864 |
< |
(exit $ac_status); } && { |
13865 |
< |
test -z "$ac_cxx_werror_flag" || |
13866 |
< |
test ! -s conftest.err |
13867 |
< |
} && test -s conftest.$ac_objext; then |
13868 |
< |
ac_cv_cpp_func=yes |
13869 |
< |
else |
13870 |
< |
echo "$as_me: failed program was:" >&5 |
13871 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
13872 |
< |
|
13873 |
< |
cat >conftest.$ac_ext <<_ACEOF |
13874 |
< |
/* confdefs.h. */ |
13875 |
< |
_ACEOF |
13876 |
< |
cat confdefs.h >>conftest.$ac_ext |
13877 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
13878 |
< |
/* end confdefs.h. */ |
13879 |
< |
|
13880 |
< |
#ifdef FC_DUMMY_MAIN |
13881 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
13882 |
< |
# ifdef __cplusplus |
13883 |
< |
extern "C" |
13884 |
< |
# endif |
13885 |
< |
int FC_DUMMY_MAIN() { return 1; } |
13886 |
< |
#endif |
13887 |
< |
#endif |
13888 |
< |
int |
13889 |
< |
main () |
13890 |
< |
{ |
13891 |
< |
const char *foo = __FUNCTION__; |
13892 |
< |
; |
13893 |
< |
return 0; |
13894 |
< |
} |
13895 |
< |
_ACEOF |
13896 |
< |
rm -f conftest.$ac_objext |
13897 |
< |
if { (ac_try="$ac_compile" |
13898 |
< |
case "(($ac_try" in |
13899 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13900 |
< |
*) ac_try_echo=$ac_try;; |
13901 |
< |
esac |
13902 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13903 |
< |
(eval "$ac_compile") 2>conftest.er1 |
13904 |
< |
ac_status=$? |
13905 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
13906 |
< |
rm -f conftest.er1 |
13907 |
< |
cat conftest.err >&5 |
13908 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13909 |
< |
(exit $ac_status); } && { |
13910 |
< |
test -z "$ac_cxx_werror_flag" || |
13911 |
< |
test ! -s conftest.err |
13912 |
< |
} && test -s conftest.$ac_objext; then |
13913 |
< |
ac_cv_cpp_func=__FUNCTION__ |
13914 |
< |
else |
13915 |
< |
echo "$as_me: failed program was:" >&5 |
13916 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
13917 |
< |
|
13918 |
< |
ac_cv_cpp_func=no |
13919 |
< |
fi |
13920 |
< |
|
13921 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13922 |
< |
fi |
13923 |
< |
|
13924 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13925 |
< |
fi |
13926 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_cpp_func" >&5 |
13927 |
< |
echo "${ECHO_T}$ac_cv_cpp_func" >&6; } |
13928 |
< |
if test $ac_cv_cpp_func = __FUNCTION__; then |
13929 |
< |
|
13930 |
< |
cat >>confdefs.h <<\_ACEOF |
13931 |
< |
#define __func__ __FUNCTION__ |
13932 |
< |
_ACEOF |
13933 |
< |
|
13934 |
< |
elif test $ac_cv_cpp_func = no; then |
13935 |
< |
|
13936 |
< |
cat >>confdefs.h <<\_ACEOF |
13937 |
< |
#define __func__ "" |
13938 |
< |
_ACEOF |
13939 |
< |
|
13940 |
< |
fi |
13941 |
< |
|
13942 |
< |
|
13943 |
< |
|
13944 |
< |
|
13945 |
< |
|
13946 |
< |
case $debug in |
13947 |
< |
1) |
13948 |
< |
;; |
13949 |
< |
*) |
13950 |
< |
|
13951 |
< |
|
13952 |
< |
|
13953 |
< |
|
13954 |
< |
# Try to determine "good" native compiler flags if none specified on command |
13955 |
< |
# line |
13956 |
< |
|
13957 |
< |
if test "$ac_test_FFLAGS" != "set"; then |
13958 |
< |
FCFLAGS="" |
13959 |
< |
case "${host_cpu}-${host_os}" in |
13960 |
< |
|
13961 |
< |
*linux*) if test "$FC" = ifc -o "$FC" = ifort; then |
13962 |
< |
FCFLAGS="-O3 -ip -no-prec-div" |
13963 |
< |
fi;; |
13964 |
< |
rs6000*-aix*) if test "$FC" = xlf90 -o "$FC" = f90 -o "$FC" = xlf95; then |
13965 |
< |
FCFLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w" |
13966 |
< |
fi;; |
13967 |
< |
powerpc*-aix*) |
13968 |
< |
if test "$FC" = f90 -o "$FC" = xlf90 -o "$FC" = xlf95; then |
13969 |
< |
FCFLAGS="-O3 -qarch=ppc -qansialias -w" |
13970 |
< |
echo "*******************************************************" |
13971 |
< |
echo "* You have AIX on an unknown powerpc system. It is *" |
13972 |
< |
echo "* recommended that you use *" |
13973 |
< |
echo "* *" |
13974 |
< |
echo "* FCFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w *" |
13975 |
< |
echo "* ^^^ *" |
13976 |
< |
echo "* where xxx is 601, 603, 604, or whatever kind of *" |
13977 |
< |
echo "* PowerPC CPU you have. For more info, man xlf. *" |
13978 |
< |
echo "*******************************************************" |
13979 |
< |
fi;; |
13980 |
< |
*darwin*) |
13981 |
< |
if test "$FC" = f90 -o "$FC" = xlf90 -o "$FC" = xlf95; then |
13982 |
< |
FCFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto" |
13983 |
< |
fi |
13984 |
< |
if test "$FC" = ifort; then |
13985 |
< |
FCFLAGS="-O3 -ip -no-prec-dev -mdynamic-no-pic" |
13986 |
< |
fi;; |
13987 |
< |
esac |
13988 |
< |
|
13989 |
< |
if test -n "$CPU_FLAGS"; then |
13990 |
< |
FCFLAGS="$FCFLAGS $CPU_FLAGS" |
13991 |
< |
fi |
13992 |
< |
|
13993 |
< |
if test -z "$FCFLAGS"; then |
13994 |
< |
echo "" |
13995 |
< |
echo "*********************************************************" |
13996 |
< |
echo "* WARNING: Don't know the best FCFLAGS for this system *" |
13997 |
< |
echo "* Use make FCFLAGS=..., or edit the top level Makefile *" |
13998 |
< |
echo "* (otherwise, a default of FCFLAGS=-O3 will be used) *" |
13999 |
< |
echo "*********************************************************" |
14000 |
< |
echo "" |
14001 |
< |
FCFLAGS="-O3" |
14002 |
< |
fi |
14003 |
< |
|
14004 |
< |
|
14005 |
< |
{ echo "$as_me:$LINENO: checking whether ${FC} accepts ${FCFLAGS}" >&5 |
14006 |
< |
echo $ECHO_N "checking whether ${FC} accepts ${FCFLAGS}... $ECHO_C" >&6; } |
14007 |
< |
if test "${ac_guessed_f90flags+set}" = set; then |
14008 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14009 |
< |
else |
14010 |
< |
|
14011 |
< |
|
14012 |
< |
ac_ext=${ac_fc_srcext-f} |
14013 |
< |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
14014 |
< |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
14015 |
< |
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
14016 |
< |
|
14017 |
< |
echo 'program main' > conftest.$ac_ext |
14018 |
< |
echo 'end program main' >> conftest.$ac_ext |
14019 |
< |
ac_compile='${FC} -c ${FCFLAGS} $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext 1>&5' |
14020 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
14021 |
< |
(eval $ac_compile) 2>&5 |
14022 |
< |
ac_status=$? |
14023 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14024 |
< |
(exit $ac_status); }; then |
14025 |
< |
ac_guessed_f90flags=yes |
14026 |
< |
else |
14027 |
< |
ac_guessed_f90flags=no |
14028 |
< |
fi |
14029 |
< |
rm -f conftest* |
14030 |
< |
ac_ext=cpp |
14031 |
< |
ac_cpp='$CXXCPP $CPPFLAGS' |
14032 |
< |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
14033 |
< |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
14034 |
< |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
14035 |
< |
|
14036 |
< |
|
14037 |
< |
fi |
14038 |
< |
{ echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5 |
14039 |
< |
echo "${ECHO_T}$ac_guessed_f90flags" >&6; } |
14040 |
< |
if test "$ac_guessed_f90flags" = yes; then |
14041 |
< |
: |
14042 |
< |
|
14043 |
< |
else |
14044 |
< |
: |
14045 |
< |
|
14046 |
< |
echo "" |
14047 |
< |
echo "**********************************************************" |
14048 |
< |
echo "* WARNING: The guessed FCFLAGS don't seem to work with *" |
14049 |
< |
echo "* your compiler. *" |
14050 |
< |
echo "* Use make FCFLAGS=..., or edit the top level Makefile *" |
14051 |
< |
echo "*********************************************************" |
14052 |
< |
echo "" |
14053 |
< |
FCFLAGS="" |
14054 |
< |
|
14055 |
< |
fi |
14056 |
< |
|
14057 |
< |
|
14058 |
< |
fi |
14059 |
< |
|
14060 |
< |
|
14061 |
< |
|
14062 |
< |
|
14063 |
< |
|
14064 |
< |
|
14065 |
< |
|
14066 |
< |
{ echo "$as_me:$LINENO: checking whether we are *really* using GNU cc" >&5 |
14067 |
< |
echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6; } |
14068 |
< |
if test "${ac_cv_prog_really_gcc+set}" = set; then |
14069 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14070 |
< |
else |
14071 |
< |
|
14072 |
< |
cat > conftest.c <<EOF |
14073 |
< |
#ifdef __GNUC__ |
14074 |
< |
#if defined(__INTEL_COMPILER) || defined(__PATHCC__) |
14075 |
< |
no; |
14076 |
< |
#else |
14077 |
< |
yes; |
14078 |
< |
#endif |
14079 |
< |
#endif |
14080 |
< |
EOF |
14081 |
< |
if { ac_try='${CC-cc} -E conftest.c' |
14082 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14083 |
< |
(eval $ac_try) 2>&5 |
14084 |
< |
ac_status=$? |
14085 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14086 |
< |
(exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then |
14087 |
< |
ac_cv_prog_really_gcc=yes |
14088 |
< |
else |
14089 |
< |
ac_cv_prog_really_gcc=no |
14090 |
< |
fi |
14091 |
< |
|
14092 |
< |
fi |
14093 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_really_gcc" >&5 |
14094 |
< |
echo "${ECHO_T}$ac_cv_prog_really_gcc" >&6; } |
14095 |
< |
if test "$ac_cv_prog_really_gcc" = yes; then |
14096 |
< |
: |
14097 |
< |
|
14098 |
< |
else |
14099 |
< |
: |
14100 |
< |
|
14101 |
< |
fi |
14102 |
< |
|
14103 |
< |
|
14104 |
< |
# Try to determine "good" native compiler flags if none specified on command |
14105 |
< |
# line |
14106 |
< |
if test "$ac_test_CFLAGS" != "set"; then |
14107 |
< |
CFLAGS="" |
14108 |
< |
case "${host_cpu}-${host_os}" in |
14109 |
< |
|
14110 |
< |
*linux*) if test "$CC" = icc; then |
14111 |
< |
CFLAGS="-O" |
14112 |
< |
fi;; |
14113 |
< |
sparc-solaris2*) if test "$CC" = cc; then |
14114 |
< |
CFLAGS="-O -dalign" |
14115 |
< |
fi;; |
14116 |
< |
|
14117 |
< |
alpha*-osf*) if test "$CC" = cc; then |
14118 |
< |
CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host -arch host -std1" |
14119 |
< |
fi;; |
14120 |
< |
|
14121 |
< |
hppa*-hpux*) if test "$CC" = cc; then |
14122 |
< |
CFLAGS="-Ae +O3 +Oall" |
14123 |
< |
fi;; |
14124 |
< |
|
14125 |
< |
rs6000*-aix*) if test "$CC" = cc -o "$CC" = xlc; then |
14126 |
< |
CFLAGS="-O3 -qtune=auto -qansialias -w" |
14127 |
< |
fi;; |
14128 |
< |
powerpc*-aix*) |
14129 |
< |
if test "$CC" = cc -o "$CC" = xlc; then |
14130 |
< |
CFLAGS="-O3 -qtune=auto -qansialias -w" |
14131 |
< |
echo "*******************************************************" |
14132 |
< |
echo "* You have AIX on an unknown powerpc system. It is *" |
14133 |
< |
echo "* recommended that you use *" |
14134 |
< |
echo "* *" |
14135 |
< |
echo "* CFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w *" |
14136 |
< |
echo "* ^^^ *" |
14137 |
< |
echo "* where xxx is 601, 603, 604, or whatever kind of *" |
14138 |
< |
echo "* PowerPC CPU you have. For more info, man cc. *" |
14139 |
< |
echo "*******************************************************" |
14140 |
< |
fi;; |
14141 |
< |
*darwin*) |
14142 |
< |
if test "$CC" = xlc -o "$CC" = cc; then |
14143 |
< |
CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec" |
14144 |
< |
fi |
14145 |
< |
if test "$CC" = icc; then |
14146 |
< |
CFLAGS="-O3 -ip -no-prec-div -mdynamic-no-pic" |
14147 |
< |
fi;; |
14148 |
< |
esac |
14149 |
< |
|
14150 |
< |
# use default flags for gcc on all systems |
14151 |
< |
if test $ac_cv_prog_really_gcc = yes; then |
14152 |
< |
CFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align" |
14153 |
< |
fi |
14154 |
< |
|
14155 |
< |
# test for gcc-specific flags: |
14156 |
< |
if test $ac_cv_prog_really_gcc = yes; then |
14157 |
< |
# -malign-double for x86 systems |
14158 |
< |
|
14159 |
< |
|
14160 |
< |
{ echo "$as_me:$LINENO: checking whether ${CC} accepts -malign-double" >&5 |
14161 |
< |
echo $ECHO_N "checking whether ${CC} accepts -malign-double... $ECHO_C" >&6; } |
14162 |
< |
if test "${ac_align_double+set}" = set; then |
14163 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14164 |
< |
else |
14165 |
< |
echo 'void f(){}' > conftest.c |
14166 |
< |
if test -z "`${CC} -malign-double -c conftest.c 2>&1`"; then |
14167 |
< |
ac_align_double=yes |
14168 |
< |
else |
14169 |
< |
ac_align_double=no |
14170 |
< |
fi |
14171 |
< |
rm -f conftest* |
14172 |
< |
|
14173 |
< |
fi |
14174 |
< |
{ echo "$as_me:$LINENO: result: $ac_align_double" >&5 |
14175 |
< |
echo "${ECHO_T}$ac_align_double" >&6; } |
14176 |
< |
if test "$ac_align_double" = yes; then |
14177 |
< |
: |
14178 |
< |
CFLAGS="$CFLAGS -malign-double" |
14179 |
< |
else |
14180 |
< |
: |
14181 |
< |
|
14182 |
< |
fi |
14183 |
< |
|
14184 |
< |
# -fstrict-aliasing for gcc-2.95+ |
14185 |
< |
|
14186 |
< |
|
14187 |
< |
{ echo "$as_me:$LINENO: checking whether ${CC} accepts -fstrict-aliasing" >&5 |
14188 |
< |
echo $ECHO_N "checking whether ${CC} accepts -fstrict-aliasing... $ECHO_C" >&6; } |
14189 |
< |
if test "${ac_fstrict_aliasing+set}" = set; then |
14190 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14191 |
< |
else |
14192 |
< |
echo 'void f(){}' > conftest.c |
14193 |
< |
if test -z "`${CC} -fstrict-aliasing -c conftest.c 2>&1`"; then |
14194 |
< |
ac_fstrict_aliasing=yes |
14195 |
< |
else |
14196 |
< |
ac_fstrict_aliasing=no |
14197 |
< |
fi |
14198 |
< |
rm -f conftest* |
14199 |
< |
|
14200 |
< |
fi |
14201 |
< |
{ echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5 |
14202 |
< |
echo "${ECHO_T}$ac_fstrict_aliasing" >&6; } |
14203 |
< |
if test "$ac_fstrict_aliasing" = yes; then |
14204 |
< |
: |
14205 |
< |
CFLAGS="$CFLAGS -fstrict-aliasing" |
14206 |
< |
else |
14207 |
< |
: |
14208 |
< |
|
14209 |
< |
fi |
14210 |
< |
|
14211 |
< |
fi |
14212 |
< |
|
14213 |
< |
CPU_FLAGS="" |
14214 |
< |
if test $ac_cv_prog_really_gcc = yes; then |
14215 |
< |
case "${host_cpu}" in |
14216 |
< |
i586*) |
14217 |
< |
|
14218 |
< |
{ echo "$as_me:$LINENO: checking whether ${CC} accepts -mcpu=pentium" >&5 |
14219 |
< |
echo $ECHO_N "checking whether ${CC} accepts -mcpu=pentium... $ECHO_C" >&6; } |
14220 |
< |
if test "${ac_cpu_pentium+set}" = set; then |
14221 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14222 |
< |
else |
14223 |
< |
echo 'void f(){}' > conftest.c |
14224 |
< |
if test -z "`${CC} -mcpu=pentium -c conftest.c 2>&1`"; then |
14225 |
< |
ac_cpu_pentium=yes |
14226 |
< |
else |
14227 |
< |
ac_cpu_pentium=no |
14228 |
< |
fi |
14229 |
< |
rm -f conftest* |
14230 |
< |
|
14231 |
< |
fi |
14232 |
< |
{ echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5 |
14233 |
< |
echo "${ECHO_T}$ac_cpu_pentium" >&6; } |
14234 |
< |
if test "$ac_cpu_pentium" = yes; then |
14235 |
< |
: |
14236 |
< |
CPU_FLAGS=-mcpu=pentium |
14237 |
< |
else |
14238 |
< |
: |
14239 |
< |
|
14240 |
< |
|
14241 |
< |
{ echo "$as_me:$LINENO: checking whether ${CC} accepts -mpentium" >&5 |
14242 |
< |
echo $ECHO_N "checking whether ${CC} accepts -mpentium... $ECHO_C" >&6; } |
14243 |
< |
if test "${ac_pentium+set}" = set; then |
14244 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14245 |
< |
else |
14246 |
< |
echo 'void f(){}' > conftest.c |
14247 |
< |
if test -z "`${CC} -mpentium -c conftest.c 2>&1`"; then |
14248 |
< |
ac_pentium=yes |
14249 |
< |
else |
14250 |
< |
ac_pentium=no |
14251 |
< |
fi |
14252 |
< |
rm -f conftest* |
14253 |
< |
|
14254 |
< |
fi |
14255 |
< |
{ echo "$as_me:$LINENO: result: $ac_pentium" >&5 |
14256 |
< |
echo "${ECHO_T}$ac_pentium" >&6; } |
14257 |
< |
if test "$ac_pentium" = yes; then |
14258 |
< |
: |
14259 |
< |
CPU_FLAGS=-mpentium |
14260 |
< |
else |
14261 |
< |
: |
14262 |
< |
|
14263 |
< |
fi |
14264 |
< |
|
14265 |
< |
fi |
14266 |
< |
|
14267 |
< |
;; |
14268 |
< |
i686*) |
14269 |
< |
|
14270 |
< |
{ echo "$as_me:$LINENO: checking whether ${CC} accepts -mcpu=pentiumpro" >&5 |
14271 |
< |
echo $ECHO_N "checking whether ${CC} accepts -mcpu=pentiumpro... $ECHO_C" >&6; } |
14272 |
< |
if test "${ac_cpu_pentiumpro+set}" = set; then |
14273 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14274 |
< |
else |
14275 |
< |
echo 'void f(){}' > conftest.c |
14276 |
< |
if test -z "`${CC} -mcpu=pentiumpro -c conftest.c 2>&1`"; then |
14277 |
< |
ac_cpu_pentiumpro=yes |
14278 |
< |
else |
14279 |
< |
ac_cpu_pentiumpro=no |
14280 |
< |
fi |
14281 |
< |
rm -f conftest* |
14282 |
< |
|
14283 |
< |
fi |
14284 |
< |
{ echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5 |
14285 |
< |
echo "${ECHO_T}$ac_cpu_pentiumpro" >&6; } |
14286 |
< |
if test "$ac_cpu_pentiumpro" = yes; then |
14287 |
< |
: |
14288 |
< |
CPU_FLAGS=-mcpu=pentiumpro |
14289 |
< |
else |
14290 |
< |
: |
14291 |
< |
|
14292 |
< |
|
14293 |
< |
{ echo "$as_me:$LINENO: checking whether ${CC} accepts -mpentiumpro" >&5 |
14294 |
< |
echo $ECHO_N "checking whether ${CC} accepts -mpentiumpro... $ECHO_C" >&6; } |
14295 |
< |
if test "${ac_pentiumpro+set}" = set; then |
14296 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14297 |
< |
else |
14298 |
< |
echo 'void f(){}' > conftest.c |
14299 |
< |
if test -z "`${CC} -mpentiumpro -c conftest.c 2>&1`"; then |
14300 |
< |
ac_pentiumpro=yes |
14301 |
< |
else |
14302 |
< |
ac_pentiumpro=no |
14303 |
< |
fi |
14304 |
< |
rm -f conftest* |
14305 |
< |
|
14306 |
< |
fi |
14307 |
< |
{ echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5 |
14308 |
< |
echo "${ECHO_T}$ac_pentiumpro" >&6; } |
14309 |
< |
if test "$ac_pentiumpro" = yes; then |
14310 |
< |
: |
14311 |
< |
CPU_FLAGS=-mpentiumpro |
14312 |
< |
else |
14313 |
< |
: |
14314 |
< |
|
14315 |
< |
fi |
14316 |
< |
|
14317 |
< |
fi |
14318 |
< |
|
14319 |
< |
;; |
14320 |
< |
powerpc*) |
14321 |
< |
cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null` |
14322 |
< |
is60x=`echo $cputype | egrep "^600-9e?$"` |
14323 |
< |
if test -n "$is60x"; then |
14324 |
< |
|
14325 |
< |
|
14326 |
< |
{ echo "$as_me:$LINENO: checking whether ${CC} accepts -mcpu=$cputype" >&5 |
14327 |
< |
echo $ECHO_N "checking whether ${CC} accepts -mcpu=$cputype... $ECHO_C" >&6; } |
14328 |
< |
if test "${ac_m_cpu_60x+set}" = set; then |
14329 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14330 |
< |
else |
14331 |
< |
echo 'void f(){}' > conftest.c |
14332 |
< |
if test -z "`${CC} -mcpu=$cputype -c conftest.c 2>&1`"; then |
14333 |
< |
ac_m_cpu_60x=yes |
14334 |
< |
else |
14335 |
< |
ac_m_cpu_60x=no |
14336 |
< |
fi |
14337 |
< |
rm -f conftest* |
14338 |
< |
|
14339 |
< |
fi |
14340 |
< |
{ echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5 |
14341 |
< |
echo "${ECHO_T}$ac_m_cpu_60x" >&6; } |
14342 |
< |
if test "$ac_m_cpu_60x" = yes; then |
14343 |
< |
: |
14344 |
< |
CPU_FLAGS=-mcpu=$cputype |
14345 |
< |
else |
14346 |
< |
: |
14347 |
< |
|
14348 |
< |
fi |
14349 |
< |
|
14350 |
< |
elif test "$cputype" = 750; then |
14351 |
< |
|
14352 |
< |
|
14353 |
< |
{ echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5 |
14354 |
< |
echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6; } |
14355 |
< |
if test "${ac_cv_prog_gcc_2_95+set}" = set; then |
14356 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14357 |
< |
else |
14358 |
< |
|
14359 |
< |
cat > conftest.c <<EOF |
14360 |
< |
#ifdef __GNUC__ && !defined (__INTEL_COMPILER) |
14361 |
< |
# if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) |
14362 |
< |
yes; |
14363 |
< |
# endif |
14364 |
< |
#endif |
14365 |
< |
EOF |
14366 |
< |
if { ac_try='${CC-cc} -E conftest.c' |
14367 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14368 |
< |
(eval $ac_try) 2>&5 |
14369 |
< |
ac_status=$? |
14370 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14371 |
< |
(exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then |
14372 |
< |
ac_cv_prog_gcc_2_95=yes |
14373 |
< |
else |
14374 |
< |
ac_cv_prog_gcc_2_95=no |
14375 |
< |
fi |
14376 |
< |
|
14377 |
< |
fi |
14378 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5 |
14379 |
< |
echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6; } |
14380 |
< |
if test "$ac_cv_prog_gcc_2_95" = yes; then |
14381 |
< |
: |
14382 |
< |
|
14383 |
< |
|
14384 |
< |
{ echo "$as_me:$LINENO: checking whether ${CC} accepts -mcpu=750" >&5 |
14385 |
< |
echo $ECHO_N "checking whether ${CC} accepts -mcpu=750... $ECHO_C" >&6; } |
14386 |
< |
if test "${ac_m_cpu_750+set}" = set; then |
14387 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14388 |
< |
else |
14389 |
< |
echo 'void f(){}' > conftest.c |
14390 |
< |
if test -z "`${CC} -mcpu=750 -c conftest.c 2>&1`"; then |
14391 |
< |
ac_m_cpu_750=yes |
14392 |
< |
else |
14393 |
< |
ac_m_cpu_750=no |
14394 |
< |
fi |
14395 |
< |
rm -f conftest* |
14396 |
< |
|
14397 |
< |
fi |
14398 |
< |
{ echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5 |
14399 |
< |
echo "${ECHO_T}$ac_m_cpu_750" >&6; } |
14400 |
< |
if test "$ac_m_cpu_750" = yes; then |
14401 |
< |
: |
14402 |
< |
CPU_FLAGS=-mcpu=750 |
14403 |
< |
else |
14404 |
< |
: |
14405 |
< |
|
14406 |
< |
fi |
14407 |
< |
|
14408 |
< |
else |
14409 |
< |
: |
14410 |
< |
|
14411 |
< |
fi |
14412 |
< |
|
14413 |
< |
fi |
14414 |
< |
if test -z "$CPU_FLAGS"; then |
14415 |
< |
|
14416 |
< |
|
14417 |
< |
{ echo "$as_me:$LINENO: checking whether ${CC} accepts -mcpu=powerpc" >&5 |
14418 |
< |
echo $ECHO_N "checking whether ${CC} accepts -mcpu=powerpc... $ECHO_C" >&6; } |
14419 |
< |
if test "${ac_m_cpu_powerpc+set}" = set; then |
14420 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14421 |
< |
else |
14422 |
< |
echo 'void f(){}' > conftest.c |
14423 |
< |
if test -z "`${CC} -mcpu=powerpc -c conftest.c 2>&1`"; then |
14424 |
< |
ac_m_cpu_powerpc=yes |
14425 |
< |
else |
14426 |
< |
ac_m_cpu_powerpc=no |
14427 |
< |
fi |
14428 |
< |
rm -f conftest* |
14429 |
< |
|
14430 |
< |
fi |
14431 |
< |
{ echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5 |
14432 |
< |
echo "${ECHO_T}$ac_m_cpu_powerpc" >&6; } |
14433 |
< |
if test "$ac_m_cpu_powerpc" = yes; then |
14434 |
< |
: |
14435 |
< |
CPU_FLAGS=-mcpu=powerpc |
14436 |
< |
else |
14437 |
< |
: |
14438 |
< |
|
14439 |
< |
fi |
14440 |
< |
|
14441 |
< |
fi |
14442 |
< |
if test -z "$CPU_FLAGS"; then |
14443 |
< |
|
14444 |
< |
|
14445 |
< |
{ echo "$as_me:$LINENO: checking whether ${CC} accepts -mpowerpc" >&5 |
14446 |
< |
echo $ECHO_N "checking whether ${CC} accepts -mpowerpc... $ECHO_C" >&6; } |
14447 |
< |
if test "${ac_m_powerpc+set}" = set; then |
14448 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14449 |
< |
else |
14450 |
< |
echo 'void f(){}' > conftest.c |
14451 |
< |
if test -z "`${CC} -mpowerpc -c conftest.c 2>&1`"; then |
14452 |
< |
ac_m_powerpc=yes |
14453 |
< |
else |
14454 |
< |
ac_m_powerpc=no |
14455 |
< |
fi |
14456 |
< |
rm -f conftest* |
14457 |
< |
|
14458 |
< |
fi |
14459 |
< |
{ echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5 |
14460 |
< |
echo "${ECHO_T}$ac_m_powerpc" >&6; } |
14461 |
< |
if test "$ac_m_powerpc" = yes; then |
14462 |
< |
: |
14463 |
< |
CPU_FLAGS=-mpowerpc |
14464 |
< |
else |
14465 |
< |
: |
14466 |
< |
|
14467 |
< |
fi |
14468 |
< |
|
14469 |
< |
fi |
14470 |
< |
esac |
14471 |
< |
fi |
14472 |
< |
|
14473 |
< |
if test -n "$CPU_FLAGS"; then |
14474 |
< |
CFLAGS="$CFLAGS $CPU_FLAGS" |
14475 |
< |
fi |
14476 |
< |
|
14477 |
< |
if test -z "$CFLAGS"; then |
14478 |
< |
echo "" |
14479 |
< |
echo "********************************************************" |
14480 |
< |
echo "* WARNING: Don't know the best CFLAGS for this system *" |
14481 |
< |
echo "* Use make CFLAGS=..., or edit the top level Makefile *" |
14482 |
< |
echo "* (otherwise, a default of CFLAGS=-O3 will be used) *" |
14483 |
< |
echo "********************************************************" |
14484 |
< |
echo "" |
14485 |
< |
CFLAGS="-O3" |
14486 |
< |
fi |
14487 |
< |
|
14488 |
< |
|
14489 |
< |
|
14490 |
< |
{ echo "$as_me:$LINENO: checking whether ${CC} accepts ${CFLAGS}" >&5 |
14491 |
< |
echo $ECHO_N "checking whether ${CC} accepts ${CFLAGS}... $ECHO_C" >&6; } |
14492 |
< |
if test "${ac_guessed_cflags+set}" = set; then |
14493 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14494 |
< |
else |
14495 |
< |
echo 'void f(){}' > conftest.c |
14496 |
< |
if test -z "`${CC} ${CFLAGS} -c conftest.c 2>&1`"; then |
14497 |
< |
ac_guessed_cflags=yes |
14498 |
< |
else |
14499 |
< |
ac_guessed_cflags=no |
14500 |
< |
fi |
14501 |
< |
rm -f conftest* |
14502 |
< |
|
14503 |
< |
fi |
14504 |
< |
{ echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5 |
14505 |
< |
echo "${ECHO_T}$ac_guessed_cflags" >&6; } |
14506 |
< |
if test "$ac_guessed_cflags" = yes; then |
14507 |
< |
: |
14508 |
< |
|
14509 |
< |
else |
14510 |
< |
: |
14511 |
< |
|
14512 |
< |
echo "" |
14513 |
< |
echo "********************************************************" |
14514 |
< |
echo "* WARNING: The guessed CFLAGS don't seem to work with *" |
14515 |
< |
echo "* your compiler. *" |
14516 |
< |
echo "* Use make CFLAGS=..., or edit the top level Makefile *" |
14517 |
< |
echo "********************************************************" |
14518 |
< |
echo "" |
14519 |
< |
CFLAGS="" |
14520 |
< |
|
14521 |
< |
fi |
14522 |
< |
|
14523 |
< |
|
14524 |
< |
fi |
14525 |
< |
|
14526 |
< |
|
14527 |
< |
|
14528 |
< |
|
14529 |
< |
|
14530 |
< |
|
14531 |
< |
|
14532 |
< |
{ echo "$as_me:$LINENO: checking whether we are *really* using GNU c++" >&5 |
14533 |
< |
echo $ECHO_N "checking whether we are *really* using GNU c++... $ECHO_C" >&6; } |
14534 |
< |
if test "${ac_cv_prog_really_gxx+set}" = set; then |
14535 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14536 |
< |
else |
14537 |
< |
|
14538 |
< |
cat > conftest.cpp <<EOF |
14539 |
< |
#ifdef __GNUC__ |
14540 |
< |
#if defined(__INTEL_COMPILER) || defined(__PATHCC__) |
14541 |
< |
no; |
14542 |
< |
#else |
14543 |
< |
yes; |
14544 |
< |
#endif |
14545 |
< |
#endif |
14546 |
< |
EOF |
14547 |
< |
if { ac_try='${CXX-c++} -E conftest.cpp' |
14548 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14549 |
< |
(eval $ac_try) 2>&5 |
14550 |
< |
ac_status=$? |
14551 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14552 |
< |
(exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then |
14553 |
< |
ac_cv_prog_really_gxx=yes |
14554 |
< |
else |
14555 |
< |
ac_cv_prog_really_gxx=no |
14556 |
< |
fi |
14557 |
< |
|
14558 |
< |
fi |
14559 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_really_gxx" >&5 |
14560 |
< |
echo "${ECHO_T}$ac_cv_prog_really_gxx" >&6; } |
14561 |
< |
if test "$ac_cv_prog_really_gxx" = yes; then |
14562 |
< |
: |
14563 |
< |
|
14564 |
< |
else |
14565 |
< |
: |
14566 |
< |
|
14567 |
< |
fi |
14568 |
< |
|
14569 |
< |
|
14570 |
< |
# Try to determine "good" native compiler flags if none specified on command |
14571 |
< |
# line |
14572 |
< |
if test "$ac_test_CXXFLAGS" != "set"; then |
14573 |
< |
CXXFLAGS="" |
14574 |
< |
case "${host_cpu}-${host_os}" in |
14575 |
< |
|
14576 |
< |
*linux*) if test "$CXX" = icc -o "$CXX" = icpc; then |
14577 |
< |
CXXFLAGS="-O" |
14578 |
< |
fi;; |
14579 |
< |
sparc-solaris2*) if test "$CXX" = CC; then |
14580 |
< |
CXXFLAGS="-features=extensions -O -dalign" |
14581 |
< |
fi;; |
14582 |
< |
rs6000*-aix*) if test "$CXX" = xlC; then |
14583 |
< |
CXXFLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w" |
14584 |
< |
fi;; |
14585 |
< |
powerpc*-aix*) |
14586 |
< |
if test "$CXX" = xlC; then |
14587 |
< |
CXXFLAGS="-O3 -qarch=ppc -qansialias -w" |
14588 |
< |
echo "*******************************************************" |
14589 |
< |
echo "* You have AIX on an unknown powerpc system. It is *" |
14590 |
< |
echo "* recommended that you use *" |
14591 |
< |
echo "* *" |
14592 |
< |
echo "* CXXFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w *" |
14593 |
< |
echo "* ^^^ *" |
14594 |
< |
echo "* where xxx is 601, 603, 604, or whatever kind of *" |
14595 |
< |
echo "* PowerPC CPU you have. For more info, man cc. *" |
14596 |
< |
echo "*******************************************************" |
14597 |
< |
fi;; |
14598 |
< |
*darwin*) |
14599 |
< |
if test "$CXX" = xlc++ -o "$CXX" = xlC ; then |
14600 |
< |
CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec" |
14601 |
< |
fi |
14602 |
< |
if test "$CXX" = icpc; then |
14603 |
< |
CXXFLAGS="-O3 -ip -no-prec-div -mdynamic-no-pic" |
14604 |
< |
fi;; |
14605 |
< |
esac |
14606 |
< |
|
14607 |
< |
# use default flags for gcc on all systems |
14608 |
< |
if test $ac_cv_prog_really_gxx = yes; then |
14609 |
< |
CXXFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align" |
14610 |
< |
fi |
14611 |
< |
|
14612 |
< |
# test for gcc-specific flags: |
14613 |
< |
if test $ac_cv_prog_really_gxx = yes; then |
14614 |
< |
# -malign-double for x86 systems |
14615 |
< |
|
14616 |
< |
|
14617 |
< |
{ echo "$as_me:$LINENO: checking whether ${CXX} accepts -malign-double" >&5 |
14618 |
< |
echo $ECHO_N "checking whether ${CXX} accepts -malign-double... $ECHO_C" >&6; } |
14619 |
< |
if test "${ac_align_double+set}" = set; then |
14620 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14621 |
< |
else |
14622 |
< |
echo 'void f(){}' > conftest.cpp |
14623 |
< |
if test -z "`${CXX} -malign-double -c conftest.cpp 2>&1`"; then |
14624 |
< |
ac_align_double=yes |
14625 |
< |
else |
14626 |
< |
ac_align_double=no |
14627 |
< |
fi |
14628 |
< |
rm -f conftest* |
14629 |
< |
|
14630 |
< |
fi |
14631 |
< |
{ echo "$as_me:$LINENO: result: $ac_align_double" >&5 |
14632 |
< |
echo "${ECHO_T}$ac_align_double" >&6; } |
14633 |
< |
if test "$ac_align_double" = yes; then |
14634 |
< |
: |
14635 |
< |
CXXFLAGS="$CXXFLAGS -malign-double" |
14636 |
< |
else |
14637 |
< |
: |
14638 |
< |
|
14639 |
< |
fi |
14640 |
< |
|
14641 |
< |
# -fstrict-aliasing for gcc-2.95+ |
14642 |
< |
|
14643 |
< |
|
14644 |
< |
{ echo "$as_me:$LINENO: checking whether ${CXX} accepts -fstrict-aliasing" >&5 |
14645 |
< |
echo $ECHO_N "checking whether ${CXX} accepts -fstrict-aliasing... $ECHO_C" >&6; } |
14646 |
< |
if test "${ac_fstrict_aliasing+set}" = set; then |
14647 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14648 |
< |
else |
14649 |
< |
echo 'void f(){}' > conftest.cpp |
14650 |
< |
if test -z "`${CXX} -fstrict-aliasing -c conftest.cpp 2>&1`"; then |
14651 |
< |
ac_fstrict_aliasing=yes |
14652 |
< |
else |
14653 |
< |
ac_fstrict_aliasing=no |
14654 |
< |
fi |
14655 |
< |
rm -f conftest* |
14656 |
< |
|
14657 |
< |
fi |
14658 |
< |
{ echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5 |
14659 |
< |
echo "${ECHO_T}$ac_fstrict_aliasing" >&6; } |
14660 |
< |
if test "$ac_fstrict_aliasing" = yes; then |
14661 |
< |
: |
14662 |
< |
CXXFLAGS="$CXXFLAGS -fstrict-aliasing" |
14663 |
< |
else |
14664 |
< |
: |
14665 |
< |
|
14666 |
< |
fi |
14667 |
< |
|
14668 |
< |
fi |
14669 |
< |
|
14670 |
< |
CPU_FLAGS="" |
14671 |
< |
if test $ac_cv_prog_really_gxx = yes; then |
14672 |
< |
case "${host_cpu}" in |
14673 |
< |
i586*) |
14674 |
< |
|
14675 |
< |
{ echo "$as_me:$LINENO: checking whether ${CXX} accepts -mcpu=pentium" >&5 |
14676 |
< |
echo $ECHO_N "checking whether ${CXX} accepts -mcpu=pentium... $ECHO_C" >&6; } |
14677 |
< |
if test "${ac_cpu_pentium+set}" = set; then |
14678 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14679 |
< |
else |
14680 |
< |
echo 'void f(){}' > conftest.cpp |
14681 |
< |
if test -z "`${CXX} -mcpu=pentium -c conftest.cpp 2>&1`"; then |
14682 |
< |
ac_cpu_pentium=yes |
14683 |
< |
else |
14684 |
< |
ac_cpu_pentium=no |
14685 |
< |
fi |
14686 |
< |
rm -f conftest* |
14687 |
< |
|
14688 |
< |
fi |
14689 |
< |
{ echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5 |
14690 |
< |
echo "${ECHO_T}$ac_cpu_pentium" >&6; } |
14691 |
< |
if test "$ac_cpu_pentium" = yes; then |
14692 |
< |
: |
14693 |
< |
CPU_FLAGS=-mcpu=pentium |
14694 |
< |
else |
14695 |
< |
: |
14696 |
< |
|
14697 |
< |
|
14698 |
< |
{ echo "$as_me:$LINENO: checking whether ${CXX} accepts -mpentium" >&5 |
14699 |
< |
echo $ECHO_N "checking whether ${CXX} accepts -mpentium... $ECHO_C" >&6; } |
14700 |
< |
if test "${ac_pentium+set}" = set; then |
14701 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14702 |
< |
else |
14703 |
< |
echo 'void f(){}' > conftest.cpp |
14704 |
< |
if test -z "`${CXX} -mpentium -c conftest.cpp 2>&1`"; then |
14705 |
< |
ac_pentium=yes |
14706 |
< |
else |
14707 |
< |
ac_pentium=no |
14708 |
< |
fi |
14709 |
< |
rm -f conftest* |
14710 |
< |
|
14711 |
< |
fi |
14712 |
< |
{ echo "$as_me:$LINENO: result: $ac_pentium" >&5 |
14713 |
< |
echo "${ECHO_T}$ac_pentium" >&6; } |
14714 |
< |
if test "$ac_pentium" = yes; then |
14715 |
< |
: |
14716 |
< |
CPU_FLAGS=-mpentium |
14717 |
< |
else |
14718 |
< |
: |
14719 |
< |
|
14720 |
< |
fi |
14721 |
< |
|
14722 |
< |
fi |
14723 |
< |
|
14724 |
< |
;; |
14725 |
< |
i686*) |
14726 |
< |
|
14727 |
< |
{ echo "$as_me:$LINENO: checking whether ${CXX} accepts -mcpu=pentiumpro" >&5 |
14728 |
< |
echo $ECHO_N "checking whether ${CXX} accepts -mcpu=pentiumpro... $ECHO_C" >&6; } |
14729 |
< |
if test "${ac_cpu_pentiumpro+set}" = set; then |
14730 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14731 |
< |
else |
14732 |
< |
echo 'void f(){}' > conftest.cpp |
14733 |
< |
if test -z "`${CXX} -mcpu=pentiumpro -c conftest.cpp 2>&1`"; then |
14734 |
< |
ac_cpu_pentiumpro=yes |
14735 |
< |
else |
14736 |
< |
ac_cpu_pentiumpro=no |
14737 |
< |
fi |
14738 |
< |
rm -f conftest* |
14739 |
< |
|
14740 |
< |
fi |
14741 |
< |
{ echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5 |
14742 |
< |
echo "${ECHO_T}$ac_cpu_pentiumpro" >&6; } |
14743 |
< |
if test "$ac_cpu_pentiumpro" = yes; then |
14744 |
< |
: |
14745 |
< |
CPU_FLAGS=-mcpu=pentiumpro |
14746 |
< |
else |
14747 |
< |
: |
14748 |
< |
|
14749 |
< |
|
14750 |
< |
{ echo "$as_me:$LINENO: checking whether ${CXX} accepts -mpentiumpro" >&5 |
14751 |
< |
echo $ECHO_N "checking whether ${CXX} accepts -mpentiumpro... $ECHO_C" >&6; } |
14752 |
< |
if test "${ac_pentiumpro+set}" = set; then |
14753 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14754 |
< |
else |
14755 |
< |
echo 'void f(){}' > conftest.cpp |
14756 |
< |
if test -z "`${CXX} -mpentiumpro -c conftest.cpp 2>&1`"; then |
14757 |
< |
ac_pentiumpro=yes |
14758 |
< |
else |
14759 |
< |
ac_pentiumpro=no |
14760 |
< |
fi |
14761 |
< |
rm -f conftest* |
14762 |
< |
|
14763 |
< |
fi |
14764 |
< |
{ echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5 |
14765 |
< |
echo "${ECHO_T}$ac_pentiumpro" >&6; } |
14766 |
< |
if test "$ac_pentiumpro" = yes; then |
14767 |
< |
: |
14768 |
< |
CPU_FLAGS=-mpentiumpro |
14769 |
< |
else |
14770 |
< |
: |
14771 |
< |
|
14772 |
< |
fi |
14773 |
< |
|
14774 |
< |
fi |
14775 |
< |
|
14776 |
< |
;; |
14777 |
< |
powerpc*) |
14778 |
< |
cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null` |
14779 |
< |
is60x=`echo $cputype | egrep "^600-9e?$"` |
14780 |
< |
if test -n "$is60x"; then |
14781 |
< |
|
14782 |
< |
|
14783 |
< |
{ echo "$as_me:$LINENO: checking whether ${CXX} accepts -mcpu=$cputype" >&5 |
14784 |
< |
echo $ECHO_N "checking whether ${CXX} accepts -mcpu=$cputype... $ECHO_C" >&6; } |
14785 |
< |
if test "${ac_m_cpu_60x+set}" = set; then |
14786 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14787 |
< |
else |
14788 |
< |
echo 'void f(){}' > conftest.cpp |
14789 |
< |
if test -z "`${CXX} -mcpu=$cputype -c conftest.cpp 2>&1`"; then |
14790 |
< |
ac_m_cpu_60x=yes |
14791 |
< |
else |
14792 |
< |
ac_m_cpu_60x=no |
14793 |
< |
fi |
14794 |
< |
rm -f conftest* |
14795 |
< |
|
14796 |
< |
fi |
14797 |
< |
{ echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5 |
14798 |
< |
echo "${ECHO_T}$ac_m_cpu_60x" >&6; } |
14799 |
< |
if test "$ac_m_cpu_60x" = yes; then |
14800 |
< |
: |
14801 |
< |
CPU_FLAGS=-mcpu=$cputype |
14802 |
< |
else |
14803 |
< |
: |
14804 |
< |
|
14805 |
< |
fi |
14806 |
< |
|
14807 |
< |
elif test "$cputype" = 750; then |
14808 |
< |
|
14809 |
< |
|
14810 |
< |
{ echo "$as_me:$LINENO: checking whether we are using g++ 2.95 or later" >&5 |
14811 |
< |
echo $ECHO_N "checking whether we are using g++ 2.95 or later... $ECHO_C" >&6; } |
14812 |
< |
if test "${ac_cv_prog_gxx_2_95+set}" = set; then |
14813 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14814 |
< |
else |
14815 |
< |
|
14816 |
< |
cat > conftest.cpp <<EOF |
14817 |
< |
#ifdef __GNUC__ && !defined (__INTEL_COMPILER) |
14818 |
< |
# if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) |
14819 |
< |
yes; |
14820 |
< |
# endif |
14821 |
< |
#endif |
14822 |
< |
EOF |
14823 |
< |
if { ac_try='${CXX-c++} -E conftest.cpp' |
14824 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14825 |
< |
(eval $ac_try) 2>&5 |
14826 |
< |
ac_status=$? |
14827 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14828 |
< |
(exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then |
14829 |
< |
ac_cv_prog_gxx_2_95=yes |
14830 |
< |
else |
14831 |
< |
ac_cv_prog_gxx_2_95=no |
14832 |
< |
fi |
14833 |
< |
|
14834 |
< |
fi |
14835 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_gxx_2_95" >&5 |
14836 |
< |
echo "${ECHO_T}$ac_cv_prog_gxx_2_95" >&6; } |
14837 |
< |
if test "$ac_cv_prog_gxx_2_95" = yes; then |
14838 |
< |
: |
14839 |
< |
|
14840 |
< |
|
14841 |
< |
{ echo "$as_me:$LINENO: checking whether ${CXX} accepts -mcpu=750" >&5 |
14842 |
< |
echo $ECHO_N "checking whether ${CXX} accepts -mcpu=750... $ECHO_C" >&6; } |
14843 |
< |
if test "${ac_m_cpu_750+set}" = set; then |
14844 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14845 |
< |
else |
14846 |
< |
echo 'void f(){}' > conftest.cpp |
14847 |
< |
if test -z "`${CXX} -mcpu=750 -c conftest.cpp 2>&1`"; then |
14848 |
< |
ac_m_cpu_750=yes |
14849 |
< |
else |
14850 |
< |
ac_m_cpu_750=no |
14851 |
< |
fi |
14852 |
< |
rm -f conftest* |
14853 |
< |
|
14854 |
< |
fi |
14855 |
< |
{ echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5 |
14856 |
< |
echo "${ECHO_T}$ac_m_cpu_750" >&6; } |
14857 |
< |
if test "$ac_m_cpu_750" = yes; then |
14858 |
< |
: |
14859 |
< |
CPU_FLAGS=-mcpu=750 |
14860 |
< |
else |
14861 |
< |
: |
14862 |
< |
|
14863 |
< |
fi |
14864 |
< |
|
14865 |
< |
else |
14866 |
< |
: |
14867 |
< |
|
14868 |
< |
fi |
14869 |
< |
|
14870 |
< |
fi |
14871 |
< |
if test -z "$CPU_FLAGS"; then |
14872 |
< |
|
14873 |
< |
|
14874 |
< |
{ echo "$as_me:$LINENO: checking whether ${CXX} accepts -mcpu=powerpc" >&5 |
14875 |
< |
echo $ECHO_N "checking whether ${CXX} accepts -mcpu=powerpc... $ECHO_C" >&6; } |
14876 |
< |
if test "${ac_m_cpu_powerpc+set}" = set; then |
14877 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14878 |
< |
else |
14879 |
< |
echo 'void f(){}' > conftest.cpp |
14880 |
< |
if test -z "`${CXX} -mcpu=powerpc -c conftest.cpp 2>&1`"; then |
14881 |
< |
ac_m_cpu_powerpc=yes |
14882 |
< |
else |
14883 |
< |
ac_m_cpu_powerpc=no |
14884 |
< |
fi |
14885 |
< |
rm -f conftest* |
14886 |
< |
|
14887 |
< |
fi |
14888 |
< |
{ echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5 |
14889 |
< |
echo "${ECHO_T}$ac_m_cpu_powerpc" >&6; } |
14890 |
< |
if test "$ac_m_cpu_powerpc" = yes; then |
14891 |
< |
: |
14892 |
< |
CPU_FLAGS=-mcpu=powerpc |
14893 |
< |
else |
14894 |
< |
: |
14895 |
< |
|
14896 |
< |
fi |
14897 |
< |
|
14898 |
< |
fi |
14899 |
< |
if test -z "$CPU_FLAGS"; then |
14900 |
< |
|
14901 |
< |
|
14902 |
< |
{ echo "$as_me:$LINENO: checking whether ${CXX} accepts -mpowerpc" >&5 |
14903 |
< |
echo $ECHO_N "checking whether ${CXX} accepts -mpowerpc... $ECHO_C" >&6; } |
14904 |
< |
if test "${ac_m_powerpc+set}" = set; then |
14905 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14906 |
< |
else |
14907 |
< |
echo 'void f(){}' > conftest.cpp |
14908 |
< |
if test -z "`${CXX} -mpowerpc -c conftest.cpp 2>&1`"; then |
14909 |
< |
ac_m_powerpc=yes |
14910 |
< |
else |
14911 |
< |
ac_m_powerpc=no |
14912 |
< |
fi |
14913 |
< |
rm -f conftest* |
14914 |
< |
|
14915 |
< |
fi |
14916 |
< |
{ echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5 |
14917 |
< |
echo "${ECHO_T}$ac_m_powerpc" >&6; } |
14918 |
< |
if test "$ac_m_powerpc" = yes; then |
14919 |
< |
: |
14920 |
< |
CPU_FLAGS=-mpowerpc |
14921 |
< |
else |
14922 |
< |
: |
14923 |
< |
|
14924 |
< |
fi |
14925 |
< |
|
14926 |
< |
fi |
14927 |
< |
esac |
14928 |
< |
fi |
14929 |
< |
|
14930 |
< |
if test -n "$CPU_FLAGS"; then |
14931 |
< |
CXXFLAGS="$CXXFLAGS $CPU_FLAGS" |
14932 |
< |
fi |
14933 |
< |
|
14934 |
< |
if test -z "$CXXFLAGS"; then |
14935 |
< |
echo "" |
14936 |
< |
echo "**********************************************************" |
14937 |
< |
echo "* WARNING: Don't know the best CXXFLAGS for this system *" |
14938 |
< |
echo "* Use make CXXFLAGS=..., or edit the top level Makefile *" |
14939 |
< |
echo "* (otherwise, a default of CXXFLAGS=-O3 will be used) *" |
14940 |
< |
echo "**********************************************************" |
14941 |
< |
echo "" |
14942 |
< |
CXXFLAGS="-O3" |
14943 |
< |
fi |
14944 |
< |
|
14945 |
< |
|
14946 |
< |
|
14947 |
< |
{ echo "$as_me:$LINENO: checking whether ${CXX} accepts ${CXXFLAGS}" >&5 |
14948 |
< |
echo $ECHO_N "checking whether ${CXX} accepts ${CXXFLAGS}... $ECHO_C" >&6; } |
14949 |
< |
if test "${ac_guessed_cxxflags+set}" = set; then |
14950 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
14951 |
< |
else |
14952 |
< |
echo 'void f(){}' > conftest.cpp |
14953 |
< |
if test -z "`${CXX} ${CXXFLAGS} -c conftest.cpp 2>&1`"; then |
14954 |
< |
ac_guessed_cxxflags=yes |
14955 |
< |
else |
14956 |
< |
ac_guessed_cxxflags=no |
14957 |
< |
fi |
14958 |
< |
rm -f conftest* |
14959 |
< |
|
14960 |
< |
fi |
14961 |
< |
{ echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&5 |
14962 |
< |
echo "${ECHO_T}$ac_guessed_cxxflags" >&6; } |
14963 |
< |
if test "$ac_guessed_cxxflags" = yes; then |
14964 |
< |
: |
14965 |
< |
|
14966 |
< |
else |
14967 |
< |
: |
14968 |
< |
|
14969 |
< |
echo "" |
14970 |
< |
echo "**********************************************************" |
14971 |
< |
echo "* WARNING: The guessed CXXFLAGS don't seem to work with *" |
14972 |
< |
echo "* your compiler. *" |
14973 |
< |
echo "* Use make CXXFLAGS=..., or edit the top level Makefile *" |
14974 |
< |
echo "**********************************************************" |
14975 |
< |
echo "" |
14976 |
< |
CXXFLAGS="" |
14977 |
< |
|
14978 |
< |
fi |
14979 |
< |
|
14980 |
< |
|
14981 |
< |
fi |
14982 |
< |
|
14983 |
< |
;; |
14984 |
< |
esac |
14985 |
< |
|
14986 |
< |
|
14987 |
< |
cat >>confdefs.h <<\_ACEOF |
14988 |
< |
#define OBAPI |
14989 |
< |
_ACEOF |
14990 |
< |
|
14991 |
< |
|
14992 |
< |
|
14993 |
< |
|
14994 |
< |
# Check whether --with-mpi was given. |
14995 |
< |
if test "${with_mpi+set}" = set; then |
14996 |
< |
withval=$with_mpi; with_mpi=$withval |
14997 |
< |
else |
14998 |
< |
with_mpi="no" |
14999 |
< |
fi |
15000 |
< |
|
15001 |
< |
|
15002 |
< |
case "x$with_mpi" in |
15003 |
< |
xyes | "x") USE_MPI=yes;; |
15004 |
< |
xno) USE_MPI=no ;; |
15005 |
< |
*) MPI="$with_mpi"; USE_MPI=yes ;; |
15006 |
< |
esac |
15007 |
< |
if test "$USE_MPI" = "yes" -a -z "$with_mpi"; then |
15008 |
< |
MPI="/usr/local" |
15009 |
< |
fi |
15010 |
< |
if test "$USE_MPI" = "yes"; then |
15011 |
< |
|
15012 |
< |
|
15013 |
< |
# Set variables... |
15014 |
< |
MPI_LIB_DIR="$MPI/lib" |
15015 |
< |
MPI_INC_DIR="$MPI/include" |
15016 |
< |
|
15017 |
< |
|
15018 |
< |
|
15019 |
< |
ac_ext=c |
15020 |
< |
ac_cpp='$CPP $CPPFLAGS' |
15021 |
< |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
15022 |
< |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
15023 |
< |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
15024 |
< |
|
15025 |
< |
{ echo "$as_me:$LINENO: checking for mpi.h" >&5 |
15026 |
< |
echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6; } |
15027 |
< |
have_mpi_h=0 |
15028 |
< |
rm -f conftest* |
15029 |
< |
echo '#include <mpi.h>' > conftest.c |
15030 |
< |
if ${CC} -I${MPI_INC_DIR} -c conftest.c 2>&1 ; then |
15031 |
< |
{ echo "$as_me:$LINENO: result: yes" >&5 |
15032 |
< |
echo "${ECHO_T}yes" >&6; } |
15033 |
< |
have_mpi_h=1 |
15034 |
< |
else |
15035 |
< |
if test -s conftest.out ; then |
15036 |
< |
cat conftest.out >> config.log |
15037 |
< |
fi |
15038 |
< |
{ echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5 |
15039 |
< |
echo "${ECHO_T}no! Check MPI include paths" >&6; } |
15040 |
< |
USE_MPI="no" |
15041 |
< |
fi |
15042 |
< |
rm -f conftest* |
15043 |
< |
if test "$have_mpi_h" = 1; then |
15044 |
< |
|
15045 |
< |
cat >>confdefs.h <<\_ACEOF |
15046 |
< |
#define HAVE_MPI_H 1 |
15047 |
< |
_ACEOF |
15048 |
< |
|
15049 |
< |
fi |
15050 |
< |
|
15051 |
< |
{ echo "$as_me:$LINENO: checking whether mpif.h is usable" >&5 |
15052 |
< |
echo $ECHO_N "checking whether mpif.h is usable... $ECHO_C" >&6; } |
15053 |
< |
|
15054 |
< |
ac_ext=${ac_fc_srcext-f} |
15055 |
< |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
15056 |
< |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
15057 |
< |
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
15058 |
< |
|
15059 |
< |
ac_save_ext=$ac_ext |
15060 |
< |
ac_ext=F90 |
15061 |
< |
ac_save_FCFLAGS=$FCFLAGS |
15062 |
< |
have_mpif_h=0 |
15063 |
< |
rm -f conftest* |
15064 |
< |
cat >conftest.$ac_ext <<EOF |
15065 |
< |
program main |
15066 |
< |
include 'mpif.h' |
15067 |
< |
end |
15068 |
< |
EOF |
15069 |
< |
if $FC -I$MPI_INC_DIR -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext > conftest.out 2>&1 ; then |
15070 |
< |
{ echo "$as_me:$LINENO: result: yes" >&5 |
15071 |
< |
echo "${ECHO_T}yes" >&6; } |
15072 |
< |
MPI_F90_INC="$MPI_INC_DIR" |
15073 |
< |
have_mpif_h=1 |
15074 |
< |
else |
15075 |
< |
if test -s conftest.out ; then |
15076 |
< |
cat conftest.out >> config.log |
15077 |
< |
fi |
15078 |
< |
{ echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5 |
15079 |
< |
echo "${ECHO_T}no! Check MPI include paths" >&6; } |
15080 |
< |
USE_MPI="no" |
15081 |
< |
fi |
15082 |
< |
rm -f conftest* |
15083 |
< |
|
15084 |
< |
if test "$have_mpif_h" = 1; then |
15085 |
< |
|
15086 |
< |
cat >>confdefs.h <<\_ACEOF |
15087 |
< |
#define HAVE_MPIF_H 1 |
15088 |
< |
_ACEOF |
15089 |
< |
|
15090 |
< |
fi |
15091 |
< |
FCFLAGS=$ac_save_FCFLAGS |
15092 |
< |
ac_ext=$ac_save_ext |
15093 |
< |
ac_ext=c |
15094 |
< |
ac_cpp='$CPP $CPPFLAGS' |
15095 |
< |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
15096 |
< |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
15097 |
< |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
15098 |
< |
|
15099 |
< |
|
15100 |
< |
ac_ext=c |
15101 |
< |
ac_cpp='$CPP $CPPFLAGS' |
15102 |
< |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
15103 |
< |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
15104 |
< |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
15105 |
< |
|
15106 |
< |
ac_save_LDFLAGS=$LDFLAGS |
15107 |
< |
LDFLAGS="-L${MPI_LIB_DIR} ${LDFLAGS} " |
15108 |
< |
|
15109 |
< |
if test x = x"$MPI_LIB"; then |
15110 |
< |
{ echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5 |
15111 |
< |
echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6; } |
15112 |
< |
if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then |
15113 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11648 |
> |
if test "$cross_compiling" = yes; then |
11649 |
> |
ac_cv_func_strtod=no |
11650 |
|
else |
11651 |
< |
ac_check_lib_save_LIBS=$LIBS |
15116 |
< |
LIBS="-lmpich $LIBS" |
15117 |
< |
cat >conftest.$ac_ext <<_ACEOF |
11651 |
> |
cat >conftest.$ac_ext <<_ACEOF |
11652 |
|
/* confdefs.h. */ |
11653 |
|
_ACEOF |
11654 |
|
cat confdefs.h >>conftest.$ac_ext |
11655 |
|
cat >>conftest.$ac_ext <<_ACEOF |
11656 |
|
/* end confdefs.h. */ |
11657 |
|
|
11658 |
< |
/* Override any GCC internal prototype to avoid an error. |
11659 |
< |
Use char because int might match the return type of a GCC |
11660 |
< |
builtin and then its argument prototype would still apply. */ |
15127 |
< |
#ifdef __cplusplus |
15128 |
< |
extern "C" |
11658 |
> |
$ac_includes_default |
11659 |
> |
#ifndef strtod |
11660 |
> |
double strtod (); |
11661 |
|
#endif |
15130 |
– |
char MPI_Init (); |
15131 |
– |
#ifdef FC_DUMMY_MAIN |
15132 |
– |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
15133 |
– |
# ifdef __cplusplus |
15134 |
– |
extern "C" |
15135 |
– |
# endif |
15136 |
– |
int FC_DUMMY_MAIN() { return 1; } |
15137 |
– |
#endif |
15138 |
– |
#endif |
11662 |
|
int |
11663 |
< |
main () |
11663 |
> |
main() |
11664 |
|
{ |
11665 |
< |
return MPI_Init (); |
11666 |
< |
; |
11665 |
> |
{ |
11666 |
> |
/* Some versions of Linux strtod mis-parse strings with leading '+'. */ |
11667 |
> |
char *string = " +69"; |
11668 |
> |
char *term; |
11669 |
> |
double value; |
11670 |
> |
value = strtod (string, &term); |
11671 |
> |
if (value != 69 || term != (string + 4)) |
11672 |
> |
return 1; |
11673 |
> |
} |
11674 |
> |
|
11675 |
> |
{ |
11676 |
> |
/* Under Solaris 2.4, strtod returns the wrong value for the |
11677 |
> |
terminating character under some conditions. */ |
11678 |
> |
char *string = "NaN"; |
11679 |
> |
char *term; |
11680 |
> |
strtod (string, &term); |
11681 |
> |
if (term != string && *(term - 1) == 0) |
11682 |
> |
return 1; |
11683 |
> |
} |
11684 |
|
return 0; |
11685 |
|
} |
11686 |
+ |
|
11687 |
|
_ACEOF |
11688 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
11688 |
> |
rm -f conftest$ac_exeext |
11689 |
|
if { (ac_try="$ac_link" |
11690 |
|
case "(($ac_try" in |
11691 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11692 |
|
*) ac_try_echo=$ac_try;; |
11693 |
|
esac |
11694 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11695 |
< |
(eval "$ac_link") 2>conftest.er1 |
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 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
11699 |
< |
rm -f conftest.er1 |
11700 |
< |
cat conftest.err >&5 |
11701 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11702 |
< |
(exit $ac_status); } && { |
11703 |
< |
test -z "$ac_c_werror_flag" || |
11704 |
< |
test ! -s conftest.err |
11705 |
< |
} && test -s conftest$ac_exeext && |
11706 |
< |
$as_test_x conftest$ac_exeext; then |
11707 |
< |
ac_cv_lib_mpich_MPI_Init=yes |
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 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 |
> |
$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: 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 |
< |
ac_cv_lib_mpich_MPI_Init=no |
11716 |
> |
( exit $ac_status ) |
11717 |
> |
ac_cv_func_strtod=no |
11718 |
|
fi |
11719 |
< |
|
11720 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
15174 |
< |
conftest$ac_exeext conftest.$ac_ext |
15175 |
< |
LIBS=$ac_check_lib_save_LIBS |
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 |
15177 |
– |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
15178 |
– |
echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6; } |
15179 |
– |
if test $ac_cv_lib_mpich_MPI_Init = yes; then |
15180 |
– |
MPI_LIB="-lmpich" |
15181 |
– |
fi |
11722 |
|
|
11723 |
+ |
|
11724 |
|
fi |
11725 |
< |
$as_unset ac_cv_lib_mpich_MPI_Init |
11726 |
< |
if test x = x"$MPI_LIB"; then |
11727 |
< |
{ echo "$as_me:$LINENO: checking for MPI_Init in -lpmpich" >&5 |
11728 |
< |
echo $ECHO_N "checking for MPI_Init in -lpmpich... $ECHO_C" >&6; } |
11729 |
< |
if test "${ac_cv_lib_pmpich_MPI_Init+set}" = set; then |
11730 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&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 "* ) ;; |
11730 |
> |
*) LIBOBJS="$LIBOBJS strtod.$ac_objext" |
11731 |
> |
;; |
11732 |
> |
esac |
11733 |
> |
|
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 |
> |
$as_echo_n "(cached) " >&6 |
11738 |
|
else |
11739 |
< |
ac_check_lib_save_LIBS=$LIBS |
15192 |
< |
LIBS="-lpmpich -lmpich -lpmpich -lmpich $LIBS" |
15193 |
< |
cat >conftest.$ac_ext <<_ACEOF |
11739 |
> |
cat >conftest.$ac_ext <<_ACEOF |
11740 |
|
/* confdefs.h. */ |
11741 |
|
_ACEOF |
11742 |
|
cat confdefs.h >>conftest.$ac_ext |
11743 |
|
cat >>conftest.$ac_ext <<_ACEOF |
11744 |
|
/* end confdefs.h. */ |
11745 |
+ |
/* Define pow to an innocuous variant, in case <limits.h> declares pow. |
11746 |
+ |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
11747 |
+ |
#define pow innocuous_pow |
11748 |
+ |
|
11749 |
+ |
/* System header to define __stub macros and hopefully few prototypes, |
11750 |
+ |
which can conflict with char pow (); below. |
11751 |
+ |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
11752 |
+ |
<limits.h> exists even on freestanding compilers. */ |
11753 |
+ |
|
11754 |
+ |
#ifdef __STDC__ |
11755 |
+ |
# include <limits.h> |
11756 |
+ |
#else |
11757 |
+ |
# include <assert.h> |
11758 |
+ |
#endif |
11759 |
+ |
|
11760 |
+ |
#undef pow |
11761 |
|
|
11762 |
|
/* Override any GCC internal prototype to avoid an error. |
11763 |
|
Use char because int might match the return type of a GCC |
11765 |
|
#ifdef __cplusplus |
11766 |
|
extern "C" |
11767 |
|
#endif |
11768 |
< |
char MPI_Init (); |
11768 |
> |
char pow (); |
11769 |
> |
/* The GNU C library defines this for functions which it implements |
11770 |
> |
to always fail with ENOSYS. Some functions are actually named |
11771 |
> |
something starting with __ and the normal name is an alias. */ |
11772 |
> |
#if defined __stub_pow || defined __stub___pow |
11773 |
> |
choke me |
11774 |
> |
#endif |
11775 |
> |
|
11776 |
|
#ifdef FC_DUMMY_MAIN |
11777 |
|
#ifndef FC_DUMMY_MAIN_EQ_F77 |
11778 |
|
# ifdef __cplusplus |
11784 |
|
int |
11785 |
|
main () |
11786 |
|
{ |
11787 |
< |
return MPI_Init (); |
11787 |
> |
return pow (); |
11788 |
|
; |
11789 |
|
return 0; |
11790 |
|
} |
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 |
11811 |
< |
ac_cv_lib_pmpich_MPI_Init=yes |
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_lib_pmpich_MPI_Init=no |
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 |
15251 |
– |
LIBS=$ac_check_lib_save_LIBS |
11824 |
|
fi |
11825 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pmpich_MPI_Init" >&5 |
11826 |
< |
echo "${ECHO_T}$ac_cv_lib_pmpich_MPI_Init" >&6; } |
15255 |
< |
if test $ac_cv_lib_pmpich_MPI_Init = yes; then |
15256 |
< |
MPI_LIB="-lpmpich -lmpich -lpmpich -lmpich" |
15257 |
< |
fi |
11825 |
> |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5 |
11826 |
> |
$as_echo "$ac_cv_func_pow" >&6; } |
11827 |
|
|
11828 |
< |
fi |
11829 |
< |
if test x = x"$MPI_LIB"; then |
11830 |
< |
{ echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5 |
11831 |
< |
echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6; } |
11832 |
< |
if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then |
15264 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11828 |
> |
if test $ac_cv_func_pow = no; then |
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 |
> |
$as_echo_n "(cached) " >&6 |
11833 |
|
else |
11834 |
|
ac_check_lib_save_LIBS=$LIBS |
11835 |
< |
LIBS="-lmpi $LIBS" |
11835 |
> |
LIBS="-lm $LIBS" |
11836 |
|
cat >conftest.$ac_ext <<_ACEOF |
11837 |
|
/* confdefs.h. */ |
11838 |
|
_ACEOF |
11846 |
|
#ifdef __cplusplus |
11847 |
|
extern "C" |
11848 |
|
#endif |
11849 |
< |
char MPI_Init (); |
11849 |
> |
char pow (); |
11850 |
|
#ifdef FC_DUMMY_MAIN |
11851 |
|
#ifndef FC_DUMMY_MAIN_EQ_F77 |
11852 |
|
# ifdef __cplusplus |
11858 |
|
int |
11859 |
|
main () |
11860 |
|
{ |
11861 |
< |
return MPI_Init (); |
11861 |
> |
return pow (); |
11862 |
|
; |
11863 |
|
return 0; |
11864 |
|
} |
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 |
11885 |
< |
ac_cv_lib_mpi_MPI_Init=yes |
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_mpi_MPI_Init=no |
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_mpi_MPI_Init" >&5 |
11901 |
< |
echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6; } |
11902 |
< |
if test $ac_cv_lib_mpi_MPI_Init = yes; then |
11903 |
< |
MPI_LIB="-lmpi" |
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 |
> |
{ $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 |
11910 |
< |
$as_unset ac_cv_lib_mpi_MPI_Init |
11911 |
< |
if test x = x"$MPI_LIB"; then |
11912 |
< |
{ echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5 |
11913 |
< |
echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6; } |
11914 |
< |
if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then |
11915 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11910 |
> |
|
11911 |
> |
fi |
11912 |
> |
|
11913 |
> |
|
11914 |
> |
|
11915 |
> |
|
11916 |
> |
|
11917 |
> |
|
11918 |
> |
|
11919 |
> |
|
11920 |
> |
|
11921 |
> |
|
11922 |
> |
|
11923 |
> |
|
11924 |
> |
|
11925 |
> |
|
11926 |
> |
|
11927 |
> |
|
11928 |
> |
|
11929 |
> |
|
11930 |
> |
|
11931 |
> |
|
11932 |
> |
|
11933 |
> |
|
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=`$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 |
> |
$as_echo_n "(cached) " >&6 |
11941 |
|
else |
11942 |
< |
ac_check_lib_save_LIBS=$LIBS |
15343 |
< |
LIBS="-lmpi -llam $LIBS" |
15344 |
< |
cat >conftest.$ac_ext <<_ACEOF |
11942 |
> |
cat >conftest.$ac_ext <<_ACEOF |
11943 |
|
/* confdefs.h. */ |
11944 |
|
_ACEOF |
11945 |
|
cat confdefs.h >>conftest.$ac_ext |
11946 |
|
cat >>conftest.$ac_ext <<_ACEOF |
11947 |
|
/* end confdefs.h. */ |
11948 |
+ |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
11949 |
+ |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
11950 |
+ |
#define $ac_func innocuous_$ac_func |
11951 |
|
|
11952 |
+ |
/* System header to define __stub macros and hopefully few prototypes, |
11953 |
+ |
which can conflict with char $ac_func (); below. |
11954 |
+ |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
11955 |
+ |
<limits.h> exists even on freestanding compilers. */ |
11956 |
+ |
|
11957 |
+ |
#ifdef __STDC__ |
11958 |
+ |
# include <limits.h> |
11959 |
+ |
#else |
11960 |
+ |
# include <assert.h> |
11961 |
+ |
#endif |
11962 |
+ |
|
11963 |
+ |
#undef $ac_func |
11964 |
+ |
|
11965 |
|
/* Override any GCC internal prototype to avoid an error. |
11966 |
|
Use char because int might match the return type of a GCC |
11967 |
|
builtin and then its argument prototype would still apply. */ |
11968 |
|
#ifdef __cplusplus |
11969 |
|
extern "C" |
11970 |
|
#endif |
11971 |
< |
char MPI_Init (); |
11971 |
> |
char $ac_func (); |
11972 |
> |
/* The GNU C library defines this for functions which it implements |
11973 |
> |
to always fail with ENOSYS. Some functions are actually named |
11974 |
> |
something starting with __ and the normal name is an alias. */ |
11975 |
> |
#if defined __stub_$ac_func || defined __stub___$ac_func |
11976 |
> |
choke me |
11977 |
> |
#endif |
11978 |
> |
|
11979 |
|
#ifdef FC_DUMMY_MAIN |
11980 |
|
#ifndef FC_DUMMY_MAIN_EQ_F77 |
11981 |
|
# ifdef __cplusplus |
11987 |
|
int |
11988 |
|
main () |
11989 |
|
{ |
11990 |
< |
return MPI_Init (); |
11990 |
> |
return $ac_func (); |
11991 |
|
; |
11992 |
|
return 0; |
11993 |
|
} |
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 |
12014 |
< |
ac_cv_lib_mpi_MPI_Init=yes |
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 |
< |
ac_cv_lib_mpi_MPI_Init=no |
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 |
15402 |
– |
LIBS=$ac_check_lib_save_LIBS |
12027 |
|
fi |
12028 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
12029 |
< |
echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6; } |
12030 |
< |
if test $ac_cv_lib_mpi_MPI_Init = yes; then |
12031 |
< |
MPI_LIB="-lmpi -llam" |
12032 |
< |
fi |
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 `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12036 |
> |
_ACEOF |
12037 |
|
|
12038 |
|
fi |
12039 |
< |
$as_unset ac_cv_lib_mpi_MPI_Init |
12040 |
< |
if test x = x"$MPI_LIB"; then |
12041 |
< |
{ echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5 |
12042 |
< |
echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6; } |
12043 |
< |
if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then |
12044 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12045 |
< |
else |
15418 |
< |
ac_check_lib_save_LIBS=$LIBS |
15419 |
< |
LIBS="-lmpi -llam -lpthread $LIBS" |
12039 |
> |
done |
12040 |
> |
|
12041 |
> |
|
12042 |
> |
# special check for _system_configuration because AIX <4.3.2 do not |
12043 |
> |
# contain the `physmem' member. |
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 |
12049 |
|
cat confdefs.h >>conftest.$ac_ext |
12050 |
|
cat >>conftest.$ac_ext <<_ACEOF |
12051 |
|
/* end confdefs.h. */ |
12052 |
< |
|
15427 |
< |
/* Override any GCC internal prototype to avoid an error. |
15428 |
< |
Use char because int might match the return type of a GCC |
15429 |
< |
builtin and then its argument prototype would still apply. */ |
15430 |
< |
#ifdef __cplusplus |
15431 |
< |
extern "C" |
15432 |
< |
#endif |
15433 |
< |
char MPI_Init (); |
12052 |
> |
#include <sys/systemcfg.h> |
12053 |
|
#ifdef FC_DUMMY_MAIN |
12054 |
|
#ifndef FC_DUMMY_MAIN_EQ_F77 |
12055 |
|
# ifdef __cplusplus |
12061 |
|
int |
12062 |
|
main () |
12063 |
|
{ |
12064 |
< |
return MPI_Init (); |
12064 |
> |
double x = _system_configuration.physmem; |
12065 |
|
; |
12066 |
|
return 0; |
12067 |
|
} |
12068 |
|
_ACEOF |
12069 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
12070 |
< |
if { (ac_try="$ac_link" |
12069 |
> |
rm -f conftest.$ac_objext |
12070 |
> |
if { (ac_try="$ac_compile" |
12071 |
|
case "(($ac_try" in |
12072 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12073 |
|
*) ac_try_echo=$ac_try;; |
12074 |
|
esac |
12075 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12076 |
< |
(eval "$ac_link") 2>conftest.er1 |
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_exeext && |
12087 |
< |
$as_test_x conftest$ac_exeext; then |
12088 |
< |
ac_cv_lib_mpi_MPI_Init=yes |
12086 |
> |
} && test -s conftest.$ac_objext; then |
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 |
< |
ac_cv_lib_mpi_MPI_Init=no |
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_ipa8_conftest.oo \ |
12103 |
< |
conftest$ac_exeext conftest.$ac_ext |
12104 |
< |
LIBS=$ac_check_lib_save_LIBS |
12105 |
< |
fi |
12106 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
12107 |
< |
echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6; } |
12108 |
< |
if test $ac_cv_lib_mpi_MPI_Init = yes; then |
12109 |
< |
MPI_LIB="-lmpi -llam -lpthread" |
12102 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12103 |
> |
|
12104 |
> |
|
12105 |
> |
case $debug in |
12106 |
> |
1) |
12107 |
> |
;; |
12108 |
> |
*) |
12109 |
> |
|
12110 |
> |
|
12111 |
> |
|
12112 |
> |
|
12113 |
> |
|
12114 |
> |
# Try to determine "good" native compiler flags if none specified on command |
12115 |
> |
# line |
12116 |
> |
|
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 |
> |
|
12163 |
> |
|
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 |
12169 |
|
|
15486 |
– |
{ { echo "$as_me:$LINENO: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5 |
15487 |
– |
echo "$as_me: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&2;} |
15488 |
– |
{ (exit 1); exit 1; }; } |
15489 |
– |
USE_MPI="no" |
12170 |
|
|
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 |
+ |
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 |
+ |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12183 |
+ |
(exit $ac_status); }; then |
12184 |
+ |
ac_guessed_f90flags=yes |
12185 |
+ |
else |
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 |
+ |
|
12196 |
|
fi |
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 |
+ |
: |
12204 |
|
|
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 |
|
|
12214 |
< |
{ echo "$as_me:$LINENO: checking for MPI Fortran library" >&5 |
12215 |
< |
echo $ECHO_N "checking for MPI Fortran library... $ECHO_C" >&6; } |
12216 |
< |
MPI_F90_LIB="" |
12217 |
< |
if test -f "$MPI_LIB_DIR/libfmpich.a" ; then |
12218 |
< |
MPI_F90_LIB="-lfmpich" |
12219 |
< |
elif test -f "$MPI_LIB_DIR/liblamf77mpi.a" ; then |
12220 |
< |
MPI_F90_LIB="-llamf77mpi" |
12214 |
> |
fi |
12215 |
> |
|
12216 |
> |
|
12217 |
> |
fi |
12218 |
> |
|
12219 |
> |
|
12220 |
> |
|
12221 |
> |
|
12222 |
> |
|
12223 |
> |
|
12224 |
> |
|
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 |
< |
MPI_F90_LIB=" " |
12230 |
> |
|
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 |
< |
{ echo "$as_me:$LINENO: result: found $MPI_F90_LIB" >&5 |
12251 |
< |
echo "${ECHO_T}found $MPI_F90_LIB" >&6; } |
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. |
12520 |
|
esac |
12521 |
|
|
12522 |
|
if test "$acx_cgal_found" == no; then |
12523 |
< |
{ echo "$as_me:$LINENO: checking CGAL_MAKEFILE" >&5 |
12524 |
< |
echo $ECHO_N "checking CGAL_MAKEFILE... $ECHO_C" >&6; } |
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 |
|
|
12550 |
|
fi |
12551 |
|
done |
12552 |
|
rm -f $tname |
12553 |
< |
{ echo "$as_me:$LINENO: result: yes" >&5 |
12554 |
< |
echo "${ECHO_T}yes" >&6; } |
12553 |
> |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
12554 |
> |
$as_echo "yes" >&6; } |
12555 |
|
acx_cgal_found=yes |
12556 |
|
else |
12557 |
< |
{ echo "$as_me:$LINENO: result: invalid" >&5 |
12558 |
< |
echo "${ECHO_T}invalid" >&6; } |
12559 |
< |
{ { echo "$as_me:$LINENO: error: CGAL_MAKEFILE defined, but the makefile does not exist." >&5 |
12560 |
< |
echo "$as_me: error: CGAL_MAKEFILE defined, but the makefile does not exist." >&2;} |
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 |
< |
{ echo "$as_me:$LINENO: result: not defined" >&5 |
12565 |
< |
echo "${ECHO_T}not defined" >&6; } |
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 |
< |
{ echo "$as_me:$LINENO: checking for CGAL/Exact_predicates_inexact_constructions_kernel.h" >&5 |
12572 |
< |
echo $ECHO_N "checking for CGAL/Exact_predicates_inexact_constructions_kernel.h... $ECHO_C" >&6; } |
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 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12574 |
> |
$as_echo_n "(cached) " >&6 |
12575 |
|
fi |
12576 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h" >&5 |
12577 |
< |
echo "${ECHO_T}$ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h" >&6; } |
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 |
< |
{ echo "$as_me:$LINENO: checking CGAL/Exact_predicates_inexact_constructions_kernel.h usability" >&5 |
12581 |
< |
echo $ECHO_N "checking CGAL/Exact_predicates_inexact_constructions_kernel.h usability... $ECHO_C" >&6; } |
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 |
12594 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12595 |
|
*) ac_try_echo=$ac_try;; |
12596 |
|
esac |
12597 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
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 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&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 |
< |
echo "$as_me: failed program was:" >&5 |
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 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
12619 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
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 |
< |
{ echo "$as_me:$LINENO: checking CGAL/Exact_predicates_inexact_constructions_kernel.h presence" >&5 |
12623 |
< |
echo $ECHO_N "checking CGAL/Exact_predicates_inexact_constructions_kernel.h presence... $ECHO_C" >&6; } |
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 |
12634 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12635 |
|
*) ac_try_echo=$ac_try;; |
12636 |
|
esac |
12637 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
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 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&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 |
< |
echo "$as_me: failed program was:" >&5 |
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 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
12659 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
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 |
< |
{ echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
12665 |
< |
echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
12666 |
< |
{ echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: proceeding with the compiler's result" >&5 |
12667 |
< |
echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: proceeding with the compiler's result" >&2;} |
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 |
< |
{ echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: present but cannot be compiled" >&5 |
12672 |
< |
echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: present but cannot be compiled" >&2;} |
12673 |
< |
{ echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: check for missing prerequisite headers?" >&5 |
12674 |
< |
echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: check for missing prerequisite headers?" >&2;} |
12675 |
< |
{ echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: see the Autoconf documentation" >&5 |
12676 |
< |
echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: see the Autoconf documentation" >&2;} |
12677 |
< |
{ echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: section \"Present But Cannot Be Compiled\"" >&5 |
12678 |
< |
echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: section \"Present But Cannot Be Compiled\"" >&2;} |
12679 |
< |
{ echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: proceeding with the preprocessor's result" >&5 |
12680 |
< |
echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: proceeding with the preprocessor's result" >&2;} |
12681 |
< |
{ echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: in the future, the compiler will take precedence" >&5 |
12682 |
< |
echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: in the future, the compiler will take precedence" >&2;} |
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 ## |
12688 |
|
) | sed "s/^/$as_me: WARNING: /" >&2 |
12689 |
|
;; |
12690 |
|
esac |
12691 |
< |
{ echo "$as_me:$LINENO: checking for CGAL/Exact_predicates_inexact_constructions_kernel.h" >&5 |
12692 |
< |
echo $ECHO_N "checking for CGAL/Exact_predicates_inexact_constructions_kernel.h... $ECHO_C" >&6; } |
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 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
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 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h" >&5 |
12699 |
< |
echo "${ECHO_T}$ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h" >&6; } |
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 |
12707 |
|
|
12708 |
|
|
12709 |
|
if test "$cgal_have_header" == yes; then |
12710 |
< |
{ echo "$as_me:$LINENO: checking for main in -lCGAL" >&5 |
12711 |
< |
echo $ECHO_N "checking for main in -lCGAL... $ECHO_C" >&6; } |
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 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12713 |
> |
$as_echo_n "(cached) " >&6 |
12714 |
|
else |
12715 |
|
ac_check_lib_save_LIBS=$LIBS |
12716 |
|
LIBS="-lCGAL $LIBS" |
12744 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12745 |
|
*) ac_try_echo=$ac_try;; |
12746 |
|
esac |
12747 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
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 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&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 |
< |
$as_test_x conftest$ac_exeext; then |
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 |
< |
echo "$as_me: failed program was:" >&5 |
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 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_CGAL_main" >&5 |
12776 |
< |
echo "${ECHO_T}$ac_cv_lib_CGAL_main" >&6; } |
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 |
12782 |
|
|
12783 |
|
if test "$cgal_have_lib" == no; then |
12784 |
|
save_LIBS="$LIBS"; LIBS="$LIBS -lgmp -lmpfr -lm" |
12785 |
< |
{ echo "$as_me:$LINENO: checking for main in -lCGAL" >&5 |
12786 |
< |
echo $ECHO_N "checking for main in -lCGAL... $ECHO_C" >&6; } |
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 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12788 |
> |
$as_echo_n "(cached) " >&6 |
12789 |
|
else |
12790 |
|
ac_check_lib_save_LIBS=$LIBS |
12791 |
|
LIBS="-lCGAL $LIBS" |
12819 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12820 |
|
*) ac_try_echo=$ac_try;; |
12821 |
|
esac |
12822 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
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 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&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 |
< |
$as_test_x conftest$ac_exeext; then |
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 |
< |
echo "$as_me: failed program was:" >&5 |
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 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_CGAL_main" >&5 |
12851 |
< |
echo "${ECHO_T}$ac_cv_lib_CGAL_main" >&6; } |
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 |
12859 |
|
LIBS="$save_LIBS" |
12860 |
|
else |
12861 |
|
CGAL_LIBS="-lCGAL" |
12862 |
< |
{ echo "$as_me:$LINENO: checking for main in -lmpfr" >&5 |
12863 |
< |
echo $ECHO_N "checking for main in -lmpfr... $ECHO_C" >&6; } |
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 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12865 |
> |
$as_echo_n "(cached) " >&6 |
12866 |
|
else |
12867 |
|
ac_check_lib_save_LIBS=$LIBS |
12868 |
|
LIBS="-lmpfr $LIBS" |
12896 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12897 |
|
*) ac_try_echo=$ac_try;; |
12898 |
|
esac |
12899 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
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 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&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 |
< |
$as_test_x conftest$ac_exeext; then |
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 |
< |
echo "$as_me: failed program was:" >&5 |
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 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_mpfr_main" >&5 |
12928 |
< |
echo "${ECHO_T}$ac_cv_lib_mpfr_main" >&6; } |
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 |
< |
{ echo "$as_me:$LINENO: checking for main in -lgmp" >&5 |
12934 |
< |
echo $ECHO_N "checking for main in -lgmp... $ECHO_C" >&6; } |
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 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12936 |
> |
$as_echo_n "(cached) " >&6 |
12937 |
|
else |
12938 |
|
ac_check_lib_save_LIBS=$LIBS |
12939 |
|
LIBS="-lgmp $LIBS" |
12967 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12968 |
|
*) ac_try_echo=$ac_try;; |
12969 |
|
esac |
12970 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
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 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&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 |
< |
$as_test_x conftest$ac_exeext; then |
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 |
< |
echo "$as_me: failed program was:" >&5 |
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 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_gmp_main" >&5 |
12999 |
< |
echo "${ECHO_T}$ac_cv_lib_gmp_main" >&6; } |
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 |
< |
{ echo "$as_me:$LINENO: checking for main in -lgmpxx" >&5 |
13005 |
< |
echo $ECHO_N "checking for main in -lgmpxx... $ECHO_C" >&6; } |
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 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
13007 |
> |
$as_echo_n "(cached) " >&6 |
13008 |
|
else |
13009 |
|
ac_check_lib_save_LIBS=$LIBS |
13010 |
|
LIBS="-lgmpxx $LIBS" |
13038 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13039 |
|
*) ac_try_echo=$ac_try;; |
13040 |
|
esac |
13041 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
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_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_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.) |
16503 |
– |
as_nl=' |
16504 |
– |
' |
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 |
16544 |
< |
do |
16545 |
< |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
16546 |
< |
eval $as_var=C; export $as_var |
16547 |
< |
else |
16548 |
< |
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
16549 |
< |
fi |
16550 |
< |
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 |
16651 |
– |
|
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 |
16676 |
< |
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" |
16744 |
– |
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 |
|
|
16771 |
– |
Configuration links: |
16772 |
– |
$config_links |
16773 |
– |
|
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 |
16794 |
< |
# 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" ;; |
16888 |
– |
"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 |
16909 |
– |
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 |
< |
# |
16944 |
< |
|
16945 |
< |
# No need to generate the scripts if there are no CONFIG_FILES. |
16946 |
< |
# 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 |
|
|
16949 |
– |
_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 |
16959 |
< |
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim |
16960 |
< |
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim |
16961 |
< |
PACKAGE_STRING!$PACKAGE_STRING$ac_delim |
16962 |
< |
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim |
16963 |
< |
exec_prefix!$exec_prefix$ac_delim |
16964 |
< |
prefix!$prefix$ac_delim |
16965 |
< |
program_transform_name!$program_transform_name$ac_delim |
16966 |
< |
bindir!$bindir$ac_delim |
16967 |
< |
sbindir!$sbindir$ac_delim |
16968 |
< |
libexecdir!$libexecdir$ac_delim |
16969 |
< |
datarootdir!$datarootdir$ac_delim |
16970 |
< |
datadir!$datadir$ac_delim |
16971 |
< |
sysconfdir!$sysconfdir$ac_delim |
16972 |
< |
sharedstatedir!$sharedstatedir$ac_delim |
16973 |
< |
localstatedir!$localstatedir$ac_delim |
16974 |
< |
includedir!$includedir$ac_delim |
16975 |
< |
oldincludedir!$oldincludedir$ac_delim |
16976 |
< |
docdir!$docdir$ac_delim |
16977 |
< |
infodir!$infodir$ac_delim |
16978 |
< |
htmldir!$htmldir$ac_delim |
16979 |
< |
dvidir!$dvidir$ac_delim |
16980 |
< |
pdfdir!$pdfdir$ac_delim |
16981 |
< |
psdir!$psdir$ac_delim |
16982 |
< |
libdir!$libdir$ac_delim |
16983 |
< |
localedir!$localedir$ac_delim |
16984 |
< |
mandir!$mandir$ac_delim |
16985 |
< |
DEFS!$DEFS$ac_delim |
16986 |
< |
ECHO_C!$ECHO_C$ac_delim |
16987 |
< |
ECHO_N!$ECHO_N$ac_delim |
16988 |
< |
ECHO_T!$ECHO_T$ac_delim |
16989 |
< |
LIBS!$LIBS$ac_delim |
16990 |
< |
build_alias!$build_alias$ac_delim |
16991 |
< |
host_alias!$host_alias$ac_delim |
16992 |
< |
target_alias!$target_alias$ac_delim |
16993 |
< |
build!$build$ac_delim |
16994 |
< |
build_cpu!$build_cpu$ac_delim |
16995 |
< |
build_vendor!$build_vendor$ac_delim |
16996 |
< |
build_os!$build_os$ac_delim |
16997 |
< |
host!$host$ac_delim |
16998 |
< |
host_cpu!$host_cpu$ac_delim |
16999 |
< |
host_vendor!$host_vendor$ac_delim |
17000 |
< |
host_os!$host_os$ac_delim |
17001 |
< |
PROGNAME!$PROGNAME$ac_delim |
17002 |
< |
debug!$debug$ac_delim |
17003 |
< |
USE_SINGLE_PRECISION!$USE_SINGLE_PRECISION$ac_delim |
17004 |
< |
CXX!$CXX$ac_delim |
17005 |
< |
CXXFLAGS!$CXXFLAGS$ac_delim |
17006 |
< |
LDFLAGS!$LDFLAGS$ac_delim |
17007 |
< |
CPPFLAGS!$CPPFLAGS$ac_delim |
17008 |
< |
ac_ct_CXX!$ac_ct_CXX$ac_delim |
17009 |
< |
EXEEXT!$EXEEXT$ac_delim |
17010 |
< |
OBJEXT!$OBJEXT$ac_delim |
17011 |
< |
CC!$CC$ac_delim |
17012 |
< |
CFLAGS!$CFLAGS$ac_delim |
17013 |
< |
ac_ct_CC!$ac_ct_CC$ac_delim |
17014 |
< |
FC!$FC$ac_delim |
17015 |
< |
FCFLAGS!$FCFLAGS$ac_delim |
17016 |
< |
ac_ct_FC!$ac_ct_FC$ac_delim |
17017 |
< |
CPP!$CPP$ac_delim |
17018 |
< |
GREP!$GREP$ac_delim |
17019 |
< |
EGREP!$EGREP$ac_delim |
17020 |
< |
LN_S!$LN_S$ac_delim |
17021 |
< |
SET_MAKE!$SET_MAKE$ac_delim |
17022 |
< |
RANLIB!$RANLIB$ac_delim |
17023 |
< |
YACC!$YACC$ac_delim |
17024 |
< |
YFLAGS!$YFLAGS$ac_delim |
17025 |
< |
LEX!$LEX$ac_delim |
17026 |
< |
LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim |
17027 |
< |
LEXLIB!$LEXLIB$ac_delim |
17028 |
< |
PERLINTERP!$PERLINTERP$ac_delim |
17029 |
< |
PERL_SHEBANG!$PERL_SHEBANG$ac_delim |
17030 |
< |
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim |
17031 |
< |
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
17032 |
< |
INSTALL_DATA!$INSTALL_DATA$ac_delim |
17033 |
< |
AR!$AR$ac_delim |
17034 |
< |
PS!$PS$ac_delim |
17035 |
< |
FCFLAGS_F90!$FCFLAGS_F90$ac_delim |
17036 |
< |
FCFLAGS_SRCEXT!$FCFLAGS_SRCEXT$ac_delim |
17037 |
< |
PREPDEFFLAG!$PREPDEFFLAG$ac_delim |
17038 |
< |
FCLIBS!$FCLIBS$ac_delim |
17039 |
< |
FC_FUNC!$FC_FUNC$ac_delim |
17040 |
< |
FC_FUNC_!$FC_FUNC_$ac_delim |
17041 |
< |
MOD!$MOD$ac_delim |
17042 |
< |
F90_WORK_FILES_ARG!$F90_WORK_FILES_ARG$ac_delim |
17043 |
< |
MODDIRFLAG!$MODDIRFLAG$ac_delim |
17044 |
< |
F90MODINCSPEC!$F90MODINCSPEC$ac_delim |
17045 |
< |
F90_MODULE_NAMES!$F90_MODULE_NAMES$ac_delim |
17046 |
< |
ZLIB_INC_DIR!$ZLIB_INC_DIR$ac_delim |
17047 |
< |
ZLIB_LIB_DIR!$ZLIB_LIB_DIR$ac_delim |
17048 |
< |
ZLIB!$ZLIB$ac_delim |
17049 |
< |
FFTW_INC_DIR!$FFTW_INC_DIR$ac_delim |
17050 |
< |
FFTW_LIB_DIR!$FFTW_LIB_DIR$ac_delim |
17051 |
< |
FFTW_LIBS!$FFTW_LIBS$ac_delim |
17052 |
< |
QHULL_INC_DIR!$QHULL_INC_DIR$ac_delim |
17053 |
< |
_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 |
17068 |
< |
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
17069 |
< |
ac_eof=`expr $ac_eof + 1` |
17070 |
< |
fi |
17071 |
< |
|
17072 |
< |
cat >>$CONFIG_STATUS <<_ACEOF |
17073 |
< |
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof |
17074 |
< |
/@[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 |
17093 |
< |
cat >conf$$subs.sed <<_ACEOF |
17094 |
< |
QHULL_LIB_DIR!$QHULL_LIB_DIR$ac_delim |
17095 |
< |
QHULL!$QHULL$ac_delim |
17096 |
< |
USE_QHULL!$USE_QHULL$ac_delim |
17097 |
< |
CXXCPP!$CXXCPP$ac_delim |
17098 |
< |
OPENBABEL_INC_DIR!$OPENBABEL_INC_DIR$ac_delim |
17099 |
< |
OPENBABEL_LIB_DIR!$OPENBABEL_LIB_DIR$ac_delim |
17100 |
< |
OPENBABEL_LIB!$OPENBABEL_LIB$ac_delim |
17101 |
< |
USE_OPENBABEL!$USE_OPENBABEL$ac_delim |
17102 |
< |
LIBOBJS!$LIBOBJS$ac_delim |
17103 |
< |
POW_LIB!$POW_LIB$ac_delim |
17104 |
< |
__func__!$__func__$ac_delim |
17105 |
< |
MPI_LIB_DIR!$MPI_LIB_DIR$ac_delim |
17106 |
< |
MPI_INC_DIR!$MPI_INC_DIR$ac_delim |
17107 |
< |
MPI_F90_INC!$MPI_F90_INC$ac_delim |
17108 |
< |
MPI_LIB!$MPI_LIB$ac_delim |
17109 |
< |
MPI_F90_LIB!$MPI_F90_LIB$ac_delim |
17110 |
< |
USE_MPI!$USE_MPI$ac_delim |
17111 |
< |
CGAL_MAKEFILE!$CGAL_MAKEFILE$ac_delim |
17112 |
< |
CGAL_CXXFLAGS!$CGAL_CXXFLAGS$ac_delim |
17113 |
< |
CGAL_CPPFLAGS!$CGAL_CPPFLAGS$ac_delim |
17114 |
< |
CGAL_LDFLAGS!$CGAL_LDFLAGS$ac_delim |
17115 |
< |
CGAL_LIBS!$CGAL_LIBS$ac_delim |
17116 |
< |
USE_CGAL!$USE_CGAL$ac_delim |
17117 |
< |
DOXYGEN!$DOXYGEN$ac_delim |
17118 |
< |
DOT!$DOT$ac_delim |
17119 |
< |
DOC!$DOC$ac_delim |
17120 |
< |
enable_dot!$enable_dot$ac_delim |
17121 |
< |
enable_html_docs!$enable_html_docs$ac_delim |
17122 |
< |
enable_latex_docs!$enable_latex_docs$ac_delim |
17123 |
< |
BATEXT!$BATEXT$ac_delim |
17124 |
< |
MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim |
17125 |
< |
OOPSE!$OOPSE$ac_delim |
17126 |
< |
OOPSE_HOME!$OOPSE_HOME$ac_delim |
17127 |
< |
SUBDIRS!$SUBDIRS$ac_delim |
17128 |
< |
LTLIBOBJS!$LTLIBOBJS$ac_delim |
17129 |
< |
_ACEOF |
14104 |
> |
print line |
14105 |
> |
} |
14106 |
|
|
14107 |
< |
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 35; 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; }; } |
17137 |
– |
else |
17138 |
– |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
17139 |
– |
fi |
17140 |
– |
done |
17141 |
– |
|
17142 |
– |
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
17143 |
– |
if test -n "$ac_eof"; then |
17144 |
– |
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
17145 |
– |
ac_eof=`expr $ac_eof + 1` |
17146 |
– |
fi |
17147 |
– |
|
17148 |
– |
cat >>$CONFIG_STATUS <<_ACEOF |
17149 |
– |
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof |
17150 |
– |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end |
14118 |
|
_ACEOF |
17152 |
– |
sed ' |
17153 |
– |
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
17154 |
– |
s/^/s,@/; s/!/@,|#_!!_#|/ |
17155 |
– |
:n |
17156 |
– |
t n |
17157 |
– |
s/'"$ac_delim"'$/,g/; t |
17158 |
– |
s/$/\\/; p |
17159 |
– |
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
17160 |
– |
' >>$CONFIG_STATUS <conf$$subs.sed |
17161 |
– |
rm -f conf$$subs.sed |
17162 |
– |
cat >>$CONFIG_STATUS <<_ACEOF |
17163 |
– |
:end |
17164 |
– |
s/|#_!!_#|//g |
17165 |
– |
CEOF$ac_eof |
17166 |
– |
_ACEOF |
14119 |
|
|
17168 |
– |
|
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 |
17443 |
< |
# AC_DEFINE must be honored. |
17444 |
< |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
17445 |
< |
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where |
17446 |
< |
# NAME is the cpp macro being defined, VALUE is the value it is being given. |
17447 |
< |
# PARAMS is the parameter list in the macro definition--in most cases, it's |
17448 |
< |
# just an empty string. |
17449 |
< |
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' |
17450 |
< |
ac_dB='\\)[ (].*,\\1define\\2' |
17451 |
< |
ac_dC=' ' |
17452 |
< |
ac_dD=' ,' |
17453 |
< |
|
17454 |
< |
uniq confdefs.h | |
17455 |
< |
sed -n ' |
17456 |
< |
t rset |
17457 |
< |
:rset |
17458 |
< |
s/^[ ]*#[ ]*define[ ][ ]*// |
17459 |
< |
t ok |
17460 |
< |
d |
17461 |
< |
:ok |
17462 |
< |
s/[\\&,]/\\&/g |
17463 |
< |
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p |
17464 |
< |
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p |
17465 |
< |
' >>conftest.defines |
17466 |
< |
|
17467 |
< |
# Remove the space that was appended to ease matching. |
17468 |
< |
# Then replace #undef with comments. This is necessary, for |
17469 |
< |
# example, in the case of _POSIX_SOURCE, which is predefined and required |
17470 |
< |
# on some systems where configure will not decide to define it. |
17471 |
< |
# (The regexp can be short, since the line contains either #define or #undef.) |
17472 |
< |
echo 's/ $// |
17473 |
< |
s,^[ #]*u.*,/* & */,' >>conftest.defines |
17474 |
< |
|
17475 |
< |
# Break up conftest.defines: |
17476 |
< |
ac_max_sed_lines=50 |
17477 |
< |
|
17478 |
< |
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" |
17479 |
< |
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" |
17480 |
< |
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" |
17481 |
< |
# et cetera. |
17482 |
< |
ac_in='$ac_file_inputs' |
17483 |
< |
ac_out='"$tmp/out1"' |
17484 |
< |
ac_nxt='"$tmp/out2"' |
17485 |
< |
|
17486 |
< |
while : |
17487 |
< |
do |
17488 |
< |
# Write a here document: |
17489 |
< |
cat >>$CONFIG_STATUS <<_ACEOF |
17490 |
< |
# First, check the format of the line: |
17491 |
< |
cat >"\$tmp/defines.sed" <<\\CEOF |
17492 |
< |
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def |
17493 |
< |
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def |
17494 |
< |
b |
17495 |
< |
:def |
17496 |
< |
_ACEOF |
17497 |
< |
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS |
17498 |
< |
echo 'CEOF |
17499 |
< |
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS |
17500 |
< |
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in |
17501 |
< |
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail |
17502 |
< |
grep . conftest.tail >/dev/null || break |
17503 |
< |
rm -f conftest.defines |
17504 |
< |
mv conftest.tail conftest.defines |
17505 |
< |
done |
17506 |
< |
rm -f conftest.defines conftest.tail |
17507 |
< |
|
17508 |
< |
echo "ac_result=$ac_in" >>$CONFIG_STATUS |
17509 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
17510 |
< |
if test x"$ac_file" != x-; then |
17511 |
< |
echo "/* $configure_input */" >"$tmp/config.h" |
17512 |
< |
cat "$ac_result" >>"$tmp/config.h" |
17513 |
< |
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then |
17514 |
< |
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
17515 |
< |
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 |
17524 |
– |
rm -f "$tmp/out12" |
14544 |
|
;; |
17526 |
– |
:L) |
17527 |
– |
# |
17528 |
– |
# CONFIG_LINK |
17529 |
– |
# |
14545 |
|
|
17531 |
– |
{ echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_file" >&5 |
17532 |
– |
echo "$as_me: linking $srcdir/$ac_source to $ac_file" >&6;} |
14546 |
|
|
17534 |
– |
if test ! -r "$srcdir/$ac_source"; then |
17535 |
– |
{ { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5 |
17536 |
– |
echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;} |
17537 |
– |
{ (exit 1); exit 1; }; } |
17538 |
– |
fi |
17539 |
– |
rm -f "$ac_file" |
17540 |
– |
|
17541 |
– |
# Try a relative symlink, then a hard link, then a copy. |
17542 |
– |
case $srcdir in |
17543 |
– |
[\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;; |
17544 |
– |
*) ac_rel_source=$ac_top_build_prefix$srcdir/$ac_source ;; |
14547 |
|
esac |
17546 |
– |
ln -s "$ac_rel_source" "$ac_file" 2>/dev/null || |
17547 |
– |
ln "$srcdir/$ac_source" "$ac_file" 2>/dev/null || |
17548 |
– |
cp -p "$srcdir/$ac_source" "$ac_file" || |
17549 |
– |
{ { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_file" >&5 |
17550 |
– |
echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_file" >&2;} |
17551 |
– |
{ (exit 1); exit 1; }; } |
17552 |
– |
;; |
14548 |
|
|
17554 |
– |
esac |
14549 |
|
|
17556 |
– |
|
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 |
|
|