09f6c5b995
-current archs). This has been broken for over 3 months. configure incorrectly assumes that since FreeBSD has sqrtl, that it also has other long math functions. Also, configure seems to have 2 separate checks for the long math functions: the first check looks for both asinl and sqrtl, the second check looks for just sqrtl. FreeBSD does not currently have asinl, so if configure just went by the first check it would correctly determine that we do not have all the long math functions. Remove the second check to fix the problem. No response from: kde@
92 lines
2.1 KiB
Text
92 lines
2.1 KiB
Text
--- configure.orig 2007-10-08 14:31:38.000000000 +0000
|
|
+++ configure 2008-05-30 00:26:52.000000000 +0000
|
|
@@ -35789,89 +35789,6 @@
|
|
fi
|
|
|
|
|
|
-have_l_funcs=yes
|
|
-
|
|
-{ echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
|
|
-echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6; }
|
|
-if test "${ac_cv_lib_m_sqrtl+set}" = set; then
|
|
- echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
-else
|
|
- ac_check_lib_save_LIBS=$LIBS
|
|
-LIBS="-lm $LIBS"
|
|
-cat >conftest.$ac_ext <<_ACEOF
|
|
-/* confdefs.h. */
|
|
-_ACEOF
|
|
-cat confdefs.h >>conftest.$ac_ext
|
|
-cat >>conftest.$ac_ext <<_ACEOF
|
|
-/* end confdefs.h. */
|
|
-
|
|
-/* Override any GCC internal prototype to avoid an error.
|
|
- Use char because int might match the return type of a GCC
|
|
- builtin and then its argument prototype would still apply. */
|
|
-#ifdef __cplusplus
|
|
-extern "C"
|
|
-#endif
|
|
-char sqrtl ();
|
|
-int
|
|
-main ()
|
|
-{
|
|
-return sqrtl ();
|
|
- ;
|
|
- return 0;
|
|
-}
|
|
-_ACEOF
|
|
-rm -f conftest.$ac_objext conftest$ac_exeext
|
|
-if { (ac_try="$ac_link"
|
|
-case "(($ac_try" in
|
|
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
- *) ac_try_echo=$ac_try;;
|
|
-esac
|
|
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
- (eval "$ac_link") 2>conftest.er1
|
|
- ac_status=$?
|
|
- grep -v '^ *+' conftest.er1 >conftest.err
|
|
- rm -f conftest.er1
|
|
- cat conftest.err >&5
|
|
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); } && {
|
|
- test -z "$ac_c_werror_flag" ||
|
|
- test ! -s conftest.err
|
|
- } && test -s conftest$ac_exeext &&
|
|
- $as_test_x conftest$ac_exeext; then
|
|
- ac_cv_lib_m_sqrtl=yes
|
|
-else
|
|
- echo "$as_me: failed program was:" >&5
|
|
-sed 's/^/| /' conftest.$ac_ext >&5
|
|
-
|
|
- ac_cv_lib_m_sqrtl=no
|
|
-fi
|
|
-
|
|
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
- conftest$ac_exeext conftest.$ac_ext
|
|
-LIBS=$ac_check_lib_save_LIBS
|
|
-fi
|
|
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
|
|
-echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6; }
|
|
-if test $ac_cv_lib_m_sqrtl = yes; then
|
|
- cat >>confdefs.h <<_ACEOF
|
|
-#define HAVE_LIBM 1
|
|
-_ACEOF
|
|
-
|
|
- LIBS="-lm $LIBS"
|
|
-
|
|
-else
|
|
- have_l_funcs=no
|
|
-fi
|
|
-
|
|
-
|
|
-if test "xyes" = "x$have_l_funcs" ; then
|
|
-
|
|
-cat >>confdefs.h <<\_ACEOF
|
|
-#define HAVE_L_FUNCS 1
|
|
-_ACEOF
|
|
-
|
|
-fi
|
|
-
|
|
LIBGMP=
|
|
|
|
kde_safe_cppflags=$CPPFLAGS
|