summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-06 09:07:14 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-06 09:07:14 -0800
commita4a96b580db669f13fb97b87622a5256025e3444 (patch)
tree9a5890ae53710b5432e71ffd0041550c942acba7
parentd7a23964c8a06c3690d2986baadcd2f297f5f4c7 (diff)
configure: quote call to AC_LANG_SOURCE in AC_LINK_IFELSE
Clears autoconf warning: configure.ac:107: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ./lib/autoconf/lang.m4:199: AC_LANG_CONFTEST is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... configure.ac:107: the top level Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 4b33332..12a5491 100644
--- a/configure.ac
+++ b/configure.ac
@@ -104,14 +104,14 @@ CFLAGS="$save_CFLAGS"
# Checks for functions (often defined as inlines in compiler.h)
AC_MSG_CHECKING([for inb])
-AC_LINK_IFELSE(AC_LANG_SOURCE([
+AC_LINK_IFELSE([AC_LANG_SOURCE([
#include "util/AsmMacros.h"
int main() {
int x = inb(0);
return x;
}
-]), [HAVE_INB=yes], [HAVE_INB=no])
+])], [HAVE_INB=yes], [HAVE_INB=no])
AC_MSG_RESULT([$HAVE_INB])
AM_CONDITIONAL(BUILD_UTILS, [test x$HAVE_INB = xyes])