Hi, again;

Whoops.  Re: the larger (but nicer, IMO) patch I posted last
night... I just realized that there is no need to check on $Default12
or $Default21 if we have arrived in the `-z "$Default20' stanza...
Sorry about that.  Just moving the consideration of
--enable-default-12 above the 2.0 case works just fine, and no
modification of the actual text of the checks is necessary.

Should have known better that to post a patch at that late hour.

Anyway, here it is.

Cheers,
Craig

diff -u configure.in.orig configure.in
--- configure.in.orig   Thu Mar 29 20:45:55 2001
+++ configure.in        Sat Mar 31 14:32:38 2001
@@ -133,23 +133,6 @@
 AC_MSG_RESULT($Default21)
 
 
-AC_MSG_CHECKING(whether to install a Motif 2.0 compatible version as default)
-Default20=""
-AC_ARG_ENABLE(default-20,
-[  --enable-default-20,    install Motif-2.0 compatible version as default],
-test "$enable_default_20" = "yes" && Default20="yes" && enable_default_21="no" && 
enable_default_12="no"
-test "$enable_default_20" = "no"  && Default20="no")
-
-if test -z "$Default20" ; then
-       AC_CACHE_VAL(lt_cv_default20, [ lt_cv_default20="yes" ])   dnl Here's the 
default
-       Default20=$lt_cv_default20
-else
-       lt_cv_default20=$Default20
-fi
-test "$Default20" = "yes" && enable_default_21="no" && enable_default_12="no"
-AC_MSG_RESULT($Default20)
-
-
 AC_MSG_CHECKING(whether to install a Motif 1.2 compatible version as default)
 Default12=""
 AC_ARG_ENABLE(default-12,
@@ -164,6 +147,23 @@
 fi
 test "$Default12" = "yes" && enable_default_20="no" && enable_default_21="no"
 AC_MSG_RESULT($Default12)
+
+
+AC_MSG_CHECKING(whether to install a Motif 2.0 compatible version as default)
+Default20=""
+AC_ARG_ENABLE(default-20,
+[  --enable-default-20,    install Motif-2.0 compatible version as default],
+test "$enable_default_20" = "yes" && Default20="yes" && enable_default_21="no" && 
+enable_default_12="no"
+test "$enable_default_20" = "no"  && Default20="no")
+
+if test -z "$Default20" ; then
+       AC_CACHE_VAL(lt_cv_default20, [ lt_cv_default20="yes" ])  dnl Here's the 
+default
+       Default20=$lt_cv_default20
+else
+       lt_cv_default20=$Default20
+fi
+test "$Default20" = "yes" && enable_default_21="no" && enable_default_12="no"
+AC_MSG_RESULT($Default20)
 
 dnl
 dnl End extreme caution section

Reply via email to