diff options
| author | Greg Ercolano <erco@seriss.com> | 2016-08-01 05:00:19 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2016-08-01 05:00:19 +0000 |
| commit | 6c0908b39f17feedf5b28ed2d22c0daa380d4c70 (patch) | |
| tree | b159cc53212589c542fdcea0900ec8c7a148fd21 | |
| parent | 71ec2f2b5cc1e89781a5c9e1adebcf5a929f161b (diff) | |
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
| -rw-r--r-- | configure.in | 4 |
1 files 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 |
