Use AC_LANG_SAVE/RESTORE

AC_CHECK_LIB -> use KDE_CHECK_LIB
Thanks Dirk

svn path=/trunk/kdegraphics/kpdf/; revision=341046
This commit is contained in:
Albert Astals Cid 2004-08-25 18:27:31 +00:00
parent 0d6b458e3f
commit 4292a84914

View file

@ -43,11 +43,12 @@ if test "$xpdfrc" != NO; then
AC_DEFINE_UNQUOTED(SYSTEM_XPDFRC, "$xpdfrc/xpdfrc", [Define the location your xpdfrc])
fi
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
dnl #### Check for libt1
kpdf_have_t1lib=
AC_CHECK_LIB(t1, T1_InitLib, [LIBT1="-lt1"; kpdf_have_t1lib=yes],
KDE_CHECK_LIB(t1, T1_InitLib, [LIBT1="-lt1"; kpdf_have_t1lib=yes],
[
kpdf_have_t1lib=no
])
@ -57,7 +58,7 @@ if test $kpdf_have_t1lib = yes; then
else
AC_DEFINE_UNQUOTED(HAVE_T1LIB_H, 0, [Defines if your system has the t1 library])
fi
AC_LANG_RESTORE
dnl #### Enable the user to enable multithearind on xpdf
AC_ARG_ENABLE(multithreaded-kpdf,