summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2006-11-26 10:20:36 +0000
committerSimon Josefsson <simon@josefsson.org>2006-11-26 10:20:36 +0000
commitafad007cf969e665945162411c4251327dd59708 (patch)
treebd12dbd6389d1a08e705397ad4e381f3eb0b91d8
parentbe13628f57e06d76cdba4ef390a2223dcb9167d4 (diff)
downloadgnutls-afad007cf969e665945162411c4251327dd59708.tar.gz
Move AM_CONDITIONAL outside of 'if gcc' clause, fixes problem reported
by "Michael C. Vergallen" <mvergall@telenet.be>.
-rw-r--r--configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 6a86171c83..e9a66184b2 100644
--- a/configure.in
+++ b/configure.in
@@ -166,7 +166,6 @@ if test $ac_cv_c_compiler_gnu != no; then
AC_LINK_IFELSE(AC_LANG_PROGRAM([]),output_def=yes,output_def=no)
AC_MSG_RESULT($output_def)
LDFLAGS="$_gcc_ldflags_save"
- AM_CONDITIONAL(HAVE_LD_OUTPUT_DEF, test "$output_def" != "no")
if test x$opt_dmalloc_mode = xyes; then
AC_CHECK_LIB(dmalloc, main)
@@ -188,6 +187,8 @@ if test $ac_cv_c_compiler_gnu != no; then
fi
fi
+# Needs to be called outside of 'if' clause.
+AM_CONDITIONAL(HAVE_LD_OUTPUT_DEF, test "$output_def" = "yes")
AC_MSG_RESULT([***
*** Detecting C library capabilities...