Mercurial > hg > xemacs-beta
comparison configure @ 3316:d45de99b5d79
[xemacs-hg @ 2006-03-30 16:22:26 by james]
Fix FOR_MSW detection with the XPM library. See xemacs-patches message
<m31wwjkioq.fsf@jerrypc.cs.usu.edu>.
author | james |
---|---|
date | Thu, 30 Mar 2006 16:22:27 +0000 |
parents | b145b32294ff |
children | 83ea3a38afe7 |
comparison
equal
deleted
inserted
replaced
3315:90856eac4a56 | 3316:d45de99b5d79 |
---|---|
16428 | 16428 |
16429 /usr/openwin/include | 16429 /usr/openwin/include |
16430 /usr/openwin/share/include' | 16430 /usr/openwin/share/include' |
16431 | 16431 |
16432 if test "$ac_x_includes" = no; then | 16432 if test "$ac_x_includes" = no; then |
16433 # Guess where to find include files, by looking for Intrinsic.h. | 16433 # Guess where to find include files, by looking for Xlib.h. |
16434 # First, try using that file with no special directory specified. | 16434 # First, try using that file with no special directory specified. |
16435 cat >conftest.$ac_ext <<_ACEOF | 16435 cat >conftest.$ac_ext <<_ACEOF |
16436 /* confdefs.h. */ | 16436 /* confdefs.h. */ |
16437 _ACEOF | 16437 _ACEOF |
16438 cat confdefs.h >>conftest.$ac_ext | 16438 cat confdefs.h >>conftest.$ac_ext |
16439 cat >>conftest.$ac_ext <<_ACEOF | 16439 cat >>conftest.$ac_ext <<_ACEOF |
16440 /* end confdefs.h. */ | 16440 /* end confdefs.h. */ |
16441 #include <X11/Intrinsic.h> | 16441 #include <X11/Xlib.h> |
16442 _ACEOF | 16442 _ACEOF |
16443 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 16443 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
16444 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 16444 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
16445 ac_status=$? | 16445 ac_status=$? |
16446 grep -v '^ *+' conftest.er1 >conftest.err | 16446 grep -v '^ *+' conftest.er1 >conftest.err |
16463 else | 16463 else |
16464 echo "$as_me: failed program was:" >&5 | 16464 echo "$as_me: failed program was:" >&5 |
16465 sed 's/^/| /' conftest.$ac_ext >&5 | 16465 sed 's/^/| /' conftest.$ac_ext >&5 |
16466 | 16466 |
16467 for ac_dir in $ac_x_header_dirs; do | 16467 for ac_dir in $ac_x_header_dirs; do |
16468 if test -r "$ac_dir/X11/Intrinsic.h"; then | 16468 if test -r "$ac_dir/X11/Xlib.h"; then |
16469 ac_x_includes=$ac_dir | 16469 ac_x_includes=$ac_dir |
16470 break | 16470 break |
16471 fi | 16471 fi |
16472 done | 16472 done |
16473 fi | 16473 fi |
16484 /* confdefs.h. */ | 16484 /* confdefs.h. */ |
16485 _ACEOF | 16485 _ACEOF |
16486 cat confdefs.h >>conftest.$ac_ext | 16486 cat confdefs.h >>conftest.$ac_ext |
16487 cat >>conftest.$ac_ext <<_ACEOF | 16487 cat >>conftest.$ac_ext <<_ACEOF |
16488 /* end confdefs.h. */ | 16488 /* end confdefs.h. */ |
16489 #include <X11/Intrinsic.h> | 16489 #include <X11/Xlib.h> |
16490 int | 16490 int |
16491 main () | 16491 main () |
16492 { | 16492 { |
16493 XtMalloc (0) | 16493 XrmInitialize () |
16494 ; | 16494 ; |
16495 return 0; | 16495 return 0; |
16496 } | 16496 } |
16497 _ACEOF | 16497 _ACEOF |
16498 rm -f conftest.$ac_objext conftest$ac_exeext | 16498 rm -f conftest.$ac_objext conftest$ac_exeext |
23604 /* confdefs.h. */ | 23604 /* confdefs.h. */ |
23605 _ACEOF | 23605 _ACEOF |
23606 cat confdefs.h >>conftest.$ac_ext | 23606 cat confdefs.h >>conftest.$ac_ext |
23607 cat >>conftest.$ac_ext <<_ACEOF | 23607 cat >>conftest.$ac_ext <<_ACEOF |
23608 /* end confdefs.h. */ | 23608 /* end confdefs.h. */ |
23609 XpmCreatePixmapFromData() | 23609 |
23610 int | |
23611 main () | |
23612 { | |
23613 XpmCreatePixmapFromData(); | |
23614 ; | |
23615 return 0; | |
23616 } | |
23610 _ACEOF | 23617 _ACEOF |
23611 rm -f conftest.$ac_objext conftest$ac_exeext | 23618 rm -f conftest.$ac_objext conftest$ac_exeext |
23612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 23619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
23613 (eval $ac_link) 2>conftest.er1 | 23620 (eval $ac_link) 2>conftest.er1 |
23614 ac_status=$? | 23621 ac_status=$? |