Mercurial > hg > xemacs-beta
changeset 3443:bf3ba03cef15
[xemacs-hg @ 2006-06-06 00:18:28 by james]
Change "if -z" to "if test -z". <m33bejjfyf.fsf@jerrypc.cs.usu.edu>
author | james |
---|---|
date | Tue, 06 Jun 2006 00:18:29 +0000 |
parents | 71c0d235a581 |
children | d6a3c55e572f |
files | ChangeLog configure configure.ac |
diffstat | 3 files changed, 14 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- 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 <james@xemacs.org> + + * configure.ac: Change "if -z" to "if test -z". + 2006-05-23 Stephen J. Turnbull <stephen@xemacs.org> * configure.ac: Look for debugger init file templates in etc/, not
--- 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 <X11/Intrinsic.h> +#include <X11/Xlib.h> _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 <X11/Intrinsic.h> -int -main () -{ -XtMalloc (0) +#include <X11/Xlib.h> +int +main () +{ +XrmInitialize () ; return 0; }
--- 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