# HG changeset patch # User james # Date 1149553109 0 # Node ID bf3ba03cef155625fa056d34ea28f73433b30fcd # Parent 71c0d235a5819573ad9d17b7e881dd30d5d65cff [xemacs-hg @ 2006-06-06 00:18:28 by james] Change "if -z" to "if test -z". diff -r 71c0d235a581 -r bf3ba03cef15 ChangeLog --- a/ChangeLog Mon Jun 05 21:51:12 2006 +0000 +++ b/ChangeLog Tue Jun 06 00:18:29 2006 +0000 @@ -1,3 +1,7 @@ +2006-06-05 Jerry James + + * configure.ac: Change "if -z" to "if test -z". + 2006-05-23 Stephen J. Turnbull * configure.ac: Look for debugger init file templates in etc/, not diff -r 71c0d235a581 -r bf3ba03cef15 configure --- a/configure Mon Jun 05 21:51:12 2006 +0000 +++ b/configure Tue Jun 06 00:18:29 2006 +0000 @@ -9133,7 +9133,7 @@ # If user set --with-cflags-optimization, use it to unilaterally # determine whether optimization should be enabled. if test "$cflags_optimization_specified" = "yes" ; then - if -z "$with_cflags_optimization" ; then + if test -z "$with_cflags_optimization" ; then with_optimization=no else with_optimization=yes @@ -16440,7 +16440,7 @@ /usr/openwin/share/include' if test "$ac_x_includes" = no; then - # Guess where to find include files, by looking for Intrinsic.h. + # Guess where to find include files, by looking for Xlib.h. # First, try using that file with no special directory specified. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ @@ -16448,7 +16448,7 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +#include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 @@ -16475,7 +16475,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 for ac_dir in $ac_x_header_dirs; do - if test -r "$ac_dir/X11/Intrinsic.h"; then + if test -r "$ac_dir/X11/Xlib.h"; then ac_x_includes=$ac_dir break fi @@ -16496,11 +16496,11 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include -int -main () -{ -XtMalloc (0) +#include +int +main () +{ +XrmInitialize () ; return 0; } diff -r 71c0d235a581 -r bf3ba03cef15 configure.ac --- a/configure.ac Mon Jun 05 21:51:12 2006 +0000 +++ b/configure.ac Tue Jun 06 00:18:29 2006 +0000 @@ -2220,7 +2220,7 @@ # If user set --with-cflags-optimization, use it to unilaterally # determine whether optimization should be enabled. if test "$cflags_optimization_specified" = "yes" ; then - if -z "$with_cflags_optimization" ; then + if test -z "$with_cflags_optimization" ; then with_optimization=no else with_optimization=yes