changeset 13585:4c1ca682936e

lib-symbol-versions: fix m4 quoting * m4/ld-version-script.m4 (gl_LD_VERSION_SCRIPT): Use correct format for AC_LINK_IFELSE. Signed-off-by: Eric Blake <eblake@redhat.com>
author Eric Blake <eblake@redhat.com>
date Thu, 26 Aug 2010 17:06:20 -0600
parents ac5cb0e1a58f
children d6c2d9bd7e73
files ChangeLog m4/ld-version-script.m4
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2010-08-26  Eric Blake  <eblake@redhat.com>
 
+	lib-symbol-versions: fix m4 quoting
+	* m4/ld-version-script.m4 (gl_LD_VERSION_SCRIPT): Use correct
+	format for AC_LINK_IFELSE.
+
 	glob: fix compile test
 	* m4/glob.m4 (gl_GLOB): Use correct format for AC_COMPILE_IFELSE.
 
--- a/m4/ld-version-script.m4
+++ b/m4/ld-version-script.m4
@@ -1,4 +1,4 @@
-# ld-version-script.m4 serial 1
+# ld-version-script.m4 serial 2
 dnl Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -34,7 +34,7 @@
         global: sym;
 } VERS_1;
 EOF
-    AC_LINK_IFELSE(AC_LANG_PROGRAM([], []),
+    AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])],
                    [have_ld_version_script=yes], [have_ld_version_script=no])
     rm -f conftest.map
     LDFLAGS="$save_LDFLAGS"