fixed autoconf and source files to use ASE_HAVE_CONFIG_H
This commit is contained in:
168
ase/configure
vendored
168
ase/configure
vendored
@ -20213,6 +20213,102 @@ else
|
||||
RM="$ac_cv_prog_RM"
|
||||
fi
|
||||
|
||||
if test -n "$ac_tool_prefix"; then
|
||||
# Extract the first word of "${ac_tool_prefix}sed", so it can be a program name with args.
|
||||
set dummy ${ac_tool_prefix}sed; ac_word=$2
|
||||
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
||||
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
||||
if test "${ac_cv_prog_SED+set}" = set; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
if test -n "$SED"; then
|
||||
ac_cv_prog_SED="$SED" # Let the user override the test.
|
||||
else
|
||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||
for as_dir in $PATH
|
||||
do
|
||||
IFS=$as_save_IFS
|
||||
test -z "$as_dir" && as_dir=.
|
||||
for ac_exec_ext in '' $ac_executable_extensions; do
|
||||
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
||||
ac_cv_prog_SED="${ac_tool_prefix}sed"
|
||||
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
||||
break 2
|
||||
fi
|
||||
done
|
||||
done
|
||||
IFS=$as_save_IFS
|
||||
|
||||
fi
|
||||
fi
|
||||
SED=$ac_cv_prog_SED
|
||||
if test -n "$SED"; then
|
||||
{ echo "$as_me:$LINENO: result: $SED" >&5
|
||||
echo "${ECHO_T}$SED" >&6; }
|
||||
else
|
||||
{ echo "$as_me:$LINENO: result: no" >&5
|
||||
echo "${ECHO_T}no" >&6; }
|
||||
fi
|
||||
|
||||
|
||||
fi
|
||||
if test -z "$ac_cv_prog_SED"; then
|
||||
ac_ct_SED=$SED
|
||||
# Extract the first word of "sed", so it can be a program name with args.
|
||||
set dummy sed; ac_word=$2
|
||||
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
||||
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
||||
if test "${ac_cv_prog_ac_ct_SED+set}" = set; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
if test -n "$ac_ct_SED"; then
|
||||
ac_cv_prog_ac_ct_SED="$ac_ct_SED" # Let the user override the test.
|
||||
else
|
||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||
for as_dir in $PATH
|
||||
do
|
||||
IFS=$as_save_IFS
|
||||
test -z "$as_dir" && as_dir=.
|
||||
for ac_exec_ext in '' $ac_executable_extensions; do
|
||||
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
||||
ac_cv_prog_ac_ct_SED="sed"
|
||||
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
||||
break 2
|
||||
fi
|
||||
done
|
||||
done
|
||||
IFS=$as_save_IFS
|
||||
|
||||
fi
|
||||
fi
|
||||
ac_ct_SED=$ac_cv_prog_ac_ct_SED
|
||||
if test -n "$ac_ct_SED"; then
|
||||
{ echo "$as_me:$LINENO: result: $ac_ct_SED" >&5
|
||||
echo "${ECHO_T}$ac_ct_SED" >&6; }
|
||||
else
|
||||
{ echo "$as_me:$LINENO: result: no" >&5
|
||||
echo "${ECHO_T}no" >&6; }
|
||||
fi
|
||||
|
||||
if test "x$ac_ct_SED" = x; then
|
||||
SED=""
|
||||
else
|
||||
case $cross_compiling:$ac_tool_warned in
|
||||
yes:)
|
||||
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
||||
whose name does not start with the host triplet. If you think this
|
||||
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
||||
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
||||
whose name does not start with the host triplet. If you think this
|
||||
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
||||
ac_tool_warned=yes ;;
|
||||
esac
|
||||
SED=$ac_ct_SED
|
||||
fi
|
||||
else
|
||||
SED="$ac_cv_prog_SED"
|
||||
fi
|
||||
|
||||
if test -n "$ac_tool_prefix"; then
|
||||
# Extract the first word of "${ac_tool_prefix}gcj", so it can be a program name with args.
|
||||
set dummy ${ac_tool_prefix}gcj; ac_word=$2
|
||||
@ -20310,44 +20406,44 @@ else
|
||||
fi
|
||||
|
||||
|
||||
if test "$ac_test_CFLAGS" = "set"
|
||||
then
|
||||
CFLAGS=$ac_save_CFLAGS
|
||||
else
|
||||
if test "$GCC" = "yes"
|
||||
then
|
||||
CFLAGS="-O2"
|
||||
else
|
||||
CFLAGS=
|
||||
fi
|
||||
fi
|
||||
#if test "$ac_test_CFLAGS" = "set"
|
||||
#then
|
||||
# CFLAGS=$ac_save_CFLAGS
|
||||
#else
|
||||
# if test "$GCC" = "yes"
|
||||
# then
|
||||
# CFLAGS="-O2"
|
||||
# else
|
||||
# CFLAGS=
|
||||
# fi
|
||||
#fi
|
||||
|
||||
if test "$ac_test_CXXFLAGS" = "set"
|
||||
then
|
||||
CXXFLAGS=$ac_save_CXXFLAGS
|
||||
else
|
||||
if test "$GCC" = "yes"
|
||||
then
|
||||
CXXFLAGS="-O2"
|
||||
else
|
||||
CXXFLAGS=
|
||||
fi
|
||||
fi
|
||||
#if test "$ac_test_CXXFLAGS" = "set"
|
||||
#then
|
||||
# CXXFLAGS=$ac_save_CXXFLAGS
|
||||
#else
|
||||
# if test "$GCC" = "yes"
|
||||
# then
|
||||
# CXXFLAGS="-O2"
|
||||
# else
|
||||
# CXXFLAGS=
|
||||
# fi
|
||||
#fi
|
||||
#
|
||||
#if test "$ac_test_CJFLAGS" = "set"
|
||||
#then
|
||||
# CJFLAGS=$ac_save_CJFLAGS
|
||||
#else
|
||||
# if test "$CJ" = "gcj"
|
||||
# then
|
||||
# CJFLAGS="-O2"
|
||||
# else
|
||||
# CJFLAGS=
|
||||
# fi
|
||||
#fi
|
||||
|
||||
if test "$ac_test_CJFLAGS" = "set"
|
||||
then
|
||||
CJFLAGS=$ac_save_CJFLAGS
|
||||
else
|
||||
if test "$CJ" = "gcj"
|
||||
then
|
||||
CJFLAGS="-O2"
|
||||
else
|
||||
CJFLAGS=
|
||||
fi
|
||||
fi
|
||||
|
||||
CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE"
|
||||
CXXFLAGS="$CXXFLAGS -D_LARGEFILE64_SOURCE"
|
||||
CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE -DASE_HAVE_CONFIG_H"
|
||||
CXXFLAGS="$CXXFLAGS -D_LARGEFILE64_SOURCE -DASE_HAVE_CONFIG_H"
|
||||
|
||||
LIBM=
|
||||
case $host in
|
||||
|
Reference in New Issue
Block a user