This commit is contained in:
Ludovic Jacomme 2002-04-10 15:27:46 +00:00
parent 002224cc84
commit dded1e4a51
1 changed files with 5 additions and 1 deletions

View File

@ -154,7 +154,7 @@ fi
#
if test "$xpm_includes" != "" && test "$xpm_includes" != "$x_includes" && test "$xpm_includes" != "no"
then
X_CFLAGS="$xpm_includes $X_CFLAGS"
X_CFLAGS="-I$xpm_includes $X_CFLAGS"
fi
if test "$xpm_libraries" != "" && test "$xpm_libraries" != "$x_libraries" && test "$xpm_libraries" != "no"
then
@ -171,8 +171,12 @@ xpm_includes_result="$xpm_includes"
if test "$xpm_libraries_result" != "no" && test "$xpm_includes_result" != "no"
then AC_DEFINE(HAVE_XPM)
LINK_XPM="-lXpm"
else LINK_XPM=""
fi
AC_SUBST(LINK_XPM)
test "$xpm_libraries_result" = "" &&
xpm_libraries_result="in default path"
test "$xpm_includes_result" = "" &&