diff options
author | megacz <megacz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-12-18 15:00:00 +0000 |
---|---|---|
committer | megacz <megacz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-12-18 15:00:00 +0000 |
commit | d872f90cc4807e8130a3f412885a67904f61fe22 (patch) | |
tree | 53578926e7d26f68e7545c743563c4e7c36712cf /libjava/classpath/configure | |
parent | c0e70de48f75207fb03ad5d1aaa02663342f1b21 (diff) | |
download | gcc-d872f90cc4807e8130a3f412885a67904f61fe22.tar.gz |
2006-12-18 Adam Megacz <megacz@cs.berkeley.edu>
* Makefile.am: remove @X_CFLAGS@ from AM_CXXFLAGS; it causes
-I/usr/include to wind up in cross-builds
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120006 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/configure')
-rwxr-xr-x | libjava/classpath/configure | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libjava/classpath/configure b/libjava/classpath/configure index 2fc2486c0a1..cbfa0d88f17 100755 --- a/libjava/classpath/configure +++ b/libjava/classpath/configure @@ -10062,7 +10062,7 @@ ac_x_header_dirs=' /usr/openwin/share/include' if test "$ac_x_includes" = no; then - # Guess where to find include files, by looking for Xlib.h. + # Guess where to find include files, by looking for Intrinsic.h. # First, try using that file with no special directory specified. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ @@ -10070,7 +10070,7 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include <X11/Xlib.h> +#include <X11/Intrinsic.h> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 @@ -10097,7 +10097,7 @@ else sed 's/^/| /' conftest.$ac_ext >&5 for ac_dir in $ac_x_header_dirs; do - if test -r "$ac_dir/X11/Xlib.h"; then + if test -r "$ac_dir/X11/Intrinsic.h"; then ac_x_includes=$ac_dir break fi @@ -10118,11 +10118,11 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include <X11/Xlib.h> +#include <X11/Intrinsic.h> int main () { -XrmInitialize () +XtMalloc (0) ; return 0; } |