Mercurial > hg > xemacs-beta
comparison configure @ 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 | e322b2abb755 |
children | f5e111f9411d |
comparison
equal
deleted
inserted
replaced
3442:71c0d235a581 | 3443:bf3ba03cef15 |
---|---|
9131 | 9131 |
9132 if test -z "$with_optimization"; then | 9132 if test -z "$with_optimization"; then |
9133 # If user set --with-cflags-optimization, use it to unilaterally | 9133 # If user set --with-cflags-optimization, use it to unilaterally |
9134 # determine whether optimization should be enabled. | 9134 # determine whether optimization should be enabled. |
9135 if test "$cflags_optimization_specified" = "yes" ; then | 9135 if test "$cflags_optimization_specified" = "yes" ; then |
9136 if -z "$with_cflags_optimization" ; then | 9136 if test -z "$with_cflags_optimization" ; then |
9137 with_optimization=no | 9137 with_optimization=no |
9138 else | 9138 else |
9139 with_optimization=yes | 9139 with_optimization=yes |
9140 fi | 9140 fi |
9141 elif test -z "$emacs_is_beta" ; then | 9141 elif test -z "$emacs_is_beta" ; then |
16438 | 16438 |
16439 /usr/openwin/include | 16439 /usr/openwin/include |
16440 /usr/openwin/share/include' | 16440 /usr/openwin/share/include' |
16441 | 16441 |
16442 if test "$ac_x_includes" = no; then | 16442 if test "$ac_x_includes" = no; then |
16443 # Guess where to find include files, by looking for Intrinsic.h. | 16443 # Guess where to find include files, by looking for Xlib.h. |
16444 # First, try using that file with no special directory specified. | 16444 # First, try using that file with no special directory specified. |
16445 cat >conftest.$ac_ext <<_ACEOF | 16445 cat >conftest.$ac_ext <<_ACEOF |
16446 /* confdefs.h. */ | 16446 /* confdefs.h. */ |
16447 _ACEOF | 16447 _ACEOF |
16448 cat confdefs.h >>conftest.$ac_ext | 16448 cat confdefs.h >>conftest.$ac_ext |
16449 cat >>conftest.$ac_ext <<_ACEOF | 16449 cat >>conftest.$ac_ext <<_ACEOF |
16450 /* end confdefs.h. */ | 16450 /* end confdefs.h. */ |
16451 #include <X11/Intrinsic.h> | 16451 #include <X11/Xlib.h> |
16452 _ACEOF | 16452 _ACEOF |
16453 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 16453 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
16454 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 16454 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
16455 ac_status=$? | 16455 ac_status=$? |
16456 grep -v '^ *+' conftest.er1 >conftest.err | 16456 grep -v '^ *+' conftest.er1 >conftest.err |
16473 else | 16473 else |
16474 echo "$as_me: failed program was:" >&5 | 16474 echo "$as_me: failed program was:" >&5 |
16475 sed 's/^/| /' conftest.$ac_ext >&5 | 16475 sed 's/^/| /' conftest.$ac_ext >&5 |
16476 | 16476 |
16477 for ac_dir in $ac_x_header_dirs; do | 16477 for ac_dir in $ac_x_header_dirs; do |
16478 if test -r "$ac_dir/X11/Intrinsic.h"; then | 16478 if test -r "$ac_dir/X11/Xlib.h"; then |
16479 ac_x_includes=$ac_dir | 16479 ac_x_includes=$ac_dir |
16480 break | 16480 break |
16481 fi | 16481 fi |
16482 done | 16482 done |
16483 fi | 16483 fi |
16494 /* confdefs.h. */ | 16494 /* confdefs.h. */ |
16495 _ACEOF | 16495 _ACEOF |
16496 cat confdefs.h >>conftest.$ac_ext | 16496 cat confdefs.h >>conftest.$ac_ext |
16497 cat >>conftest.$ac_ext <<_ACEOF | 16497 cat >>conftest.$ac_ext <<_ACEOF |
16498 /* end confdefs.h. */ | 16498 /* end confdefs.h. */ |
16499 #include <X11/Intrinsic.h> | 16499 #include <X11/Xlib.h> |
16500 int | 16500 int |
16501 main () | 16501 main () |
16502 { | 16502 { |
16503 XtMalloc (0) | 16503 XrmInitialize () |
16504 ; | 16504 ; |
16505 return 0; | 16505 return 0; |
16506 } | 16506 } |
16507 _ACEOF | 16507 _ACEOF |
16508 rm -f conftest.$ac_objext conftest$ac_exeext | 16508 rm -f conftest.$ac_objext conftest$ac_exeext |