summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2006-11-26 10:23:59 +0000
committerSimon Josefsson <simon@josefsson.org>2006-11-26 10:23:59 +0000
commite2ce702cb3f69b34f8e8da7c0643258a61149532 (patch)
treee27fe845fa4d10ded4548d1ed8196f719a1e7bd8 /configure.in
parentb4f1ebd93bf4bda1f7294a841c11e2de3c8bfe09 (diff)
downloadgnutls-e2ce702cb3f69b34f8e8da7c0643258a61149532.tar.gz
Move AM_CONDITIONAL outside of 'if gcc' clause, fixes problem reported
by "Michael C. Vergallen" <mvergall@telenet.be>.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index a8feb25c37..8bfe702523 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...