You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
634 B
23 lines
634 B
fix handling of 3rd/4th args to AC_ARG_WITH()
|
|
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -130,7 +130,7 @@ dnl See if we build X11
|
|
AC_ARG_WITH(x11,
|
|
AC_HELP_STRING([--with-x11],
|
|
[Enable the Motif based X11 interface default=no]),
|
|
- [with_x11=yes],[with_x11=no])
|
|
+ [with_x11=$withval])
|
|
|
|
if test "x$with_x11" = "xyes"; then
|
|
dnl Check for motif, error out if not found
|
|
@@ -144,7 +144,7 @@ dnl See if we build GTK
|
|
AC_ARG_WITH(gtk,
|
|
AC_HELP_STRING([--with-gtk],
|
|
[Enable building the GTK Ski interface default=no]),
|
|
- [with_gtk=yes],[with_gtk=no]
|
|
+ [with_gtk=$withval]
|
|
)
|
|
|
|
if test "x$with_gtk" = "xyes"; then
|