From 6c0908b39f17feedf5b28ed2d22c0daa380d4c70 Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Mon, 1 Aug 2016 05:00:19 +0000 Subject: Bringing over fix [r11855] from 1.3 current to the porting branch. Fixes problem with AC_MSG_ERROR() macro which was causing this error when e.g. the X11 libs weren't found: configure: line 410: test: aborting.: integer expression expected configure: error: Configure could not find required X11 libraries For info on correct use of AC_MSG_ERROR(), see: https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Printing-Messages.html git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11856 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index cd3f5fe88..3e2f7ec24 100644 --- a/configure.in +++ b/configure.in @@ -435,7 +435,7 @@ AC_PROG_RANLIB AC_PATH_TOOL(AR, ar) if test "x$AR" = "x:"; then - AC_MSG_ERROR(Configure could not find the library archiver, aborting.) + AC_MSG_ERROR(Configure could not find the library archiver, 1) fi if test "x$RANLIB" != "x:"; then @@ -930,7 +930,7 @@ case $host_os_gui in AC_PATH_XTRA if test x$no_x = xyes; then - AC_MSG_ERROR(Configure could not find required X11 libraries, aborting.) + AC_MSG_ERROR(Configure could not find required X11 libraries, 1) fi if test "x$X_PRE_LIBS" != x; then -- cgit v1.2.3