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
This commit is contained in:
Greg Ercolano 2016-08-01 05:00:19 +00:00
parent 71ec2f2b5c
commit 6c0908b39f

View File

@ -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