46 |
LIBS="$SAVE_LIBS" |
LIBS="$SAVE_LIBS" |
47 |
|
|
48 |
### Check for Xpm headers |
### Check for Xpm headers |
49 |
|
SAVE_CPPFLAGS="$CPPFLAGS" |
50 |
|
CPPFLAGS="$X_CFLAGS $CPPFLAGS" |
51 |
xforms_cv_xpm_h_location="<xpm.h>" |
xforms_cv_xpm_h_location="<xpm.h>" |
52 |
AC_CHECK_HEADER(X11/xpm.h,[ |
AC_CHECK_HEADER(X11/xpm.h,[ |
53 |
ac_cv_header_xpm_h=yes |
ac_cv_header_xpm_h=yes |
56 |
XFORMS_LIB_ERROR(xpm.h,Xpm)])]) |
XFORMS_LIB_ERROR(xpm.h,Xpm)])]) |
57 |
AC_DEFINE_UNQUOTED(XPM_H_LOCATION,$xforms_cv_xpm_h_location, |
AC_DEFINE_UNQUOTED(XPM_H_LOCATION,$xforms_cv_xpm_h_location, |
58 |
[define this to the location of xpm.h to be used with #include, e.g. <xpm.h>]) |
[define this to the location of xpm.h to be used with #include, e.g. <xpm.h>]) |
59 |
|
CPPFLAGS="$SAVE_CPPFLAGS" |
60 |
|
|
61 |
### Test for the header version |
### Test for the header version |
62 |
if test $ac_cv_header_xpm_h = yes; then |
if test $ac_cv_header_xpm_h = yes; then |