|
@@ -582,7 +582,7 @@ PACKAGE_STRING=
|
|
|
PACKAGE_BUGREPORT=
|
|
|
PACKAGE_URL=
|
|
|
|
|
|
-ac_unique_file="configure.in"
|
|
|
+ac_unique_file="configure.ac"
|
|
|
# Factoring default headers for most tests.
|
|
|
ac_includes_default="\
|
|
|
#include <stdio.h>
|
|
@@ -3607,7 +3607,17 @@ CFLAGS=${ac_save_cflags}
|
|
|
else
|
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
/* end confdefs.h. */
|
|
|
-LOC_FP_TEST
|
|
|
+
|
|
|
+#include <float.h>
|
|
|
+int main(void) {
|
|
|
+ double one = 1.0;
|
|
|
+ double zero = 0.0;
|
|
|
+ if (one/zero > DBL_MAX) /* infinity */
|
|
|
+ if (zero/zero != zero/zero) /* NaN */
|
|
|
+ return 0;
|
|
|
+ return 1;
|
|
|
+}
|
|
|
+
|
|
|
_ACEOF
|
|
|
if ac_fn_c_try_run "$LINENO"; then :
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
@@ -3629,7 +3639,17 @@ $as_echo "unknown (cross-compiling)" >&6; }
|
|
|
else
|
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
/* end confdefs.h. */
|
|
|
-LOC_FP_TEST
|
|
|
+
|
|
|
+#include <float.h>
|
|
|
+int main(void) {
|
|
|
+ double one = 1.0;
|
|
|
+ double zero = 0.0;
|
|
|
+ if (one/zero > DBL_MAX) /* infinity */
|
|
|
+ if (zero/zero != zero/zero) /* NaN */
|
|
|
+ return 0;
|
|
|
+ return 1;
|
|
|
+}
|
|
|
+
|
|
|
_ACEOF
|
|
|
if ac_fn_c_try_run "$LINENO"; then :
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
@@ -3746,38 +3766,6 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
-# Use absolute path for aux directory so that install-sh works
|
|
|
-
|
|
|
-ac_aux_dir=
|
|
|
-for ac_dir in "$SRCDIR" "$srcdir"/"$SRCDIR"; do
|
|
|
- if test -f "$ac_dir/install-sh"; then
|
|
|
- ac_aux_dir=$ac_dir
|
|
|
- ac_install_sh="$ac_aux_dir/install-sh -c"
|
|
|
- break
|
|
|
- elif test -f "$ac_dir/install.sh"; then
|
|
|
- ac_aux_dir=$ac_dir
|
|
|
- ac_install_sh="$ac_aux_dir/install.sh -c"
|
|
|
- break
|
|
|
- elif test -f "$ac_dir/shtool"; then
|
|
|
- ac_aux_dir=$ac_dir
|
|
|
- ac_install_sh="$ac_aux_dir/shtool install -c"
|
|
|
- break
|
|
|
- fi
|
|
|
-done
|
|
|
-if test -z "$ac_aux_dir"; then
|
|
|
- as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$SRCDIR\" \"$srcdir\"/\"$SRCDIR\"" "$LINENO" 5
|
|
|
-fi
|
|
|
-
|
|
|
-# These three variables are undocumented and unsupported,
|
|
|
-# and are intended to be withdrawn in a future Autoconf release.
|
|
|
-# They can cause serious problems if a builder's source tree is in a directory
|
|
|
-# whose full name contains unusual characters.
|
|
|
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
|
|
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
|
|
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
# Set GISBASE and GRASS_BIN
|
|
|
|
|
|
GISBASE="${WINDSTDIR}/dist.${ARCH}"
|