Fix failure on missing AH_CHECK_HEADERS

pull/1/head
Timothy Pearson 13 years ago
parent 1e5f9378a4
commit eb886af35e

@ -5424,7 +5424,7 @@ AC_DEFUN([KDE_CHECK_HEADER],
AC_DEFUN([KDE_CHECK_HEADERS], AC_DEFUN([KDE_CHECK_HEADERS],
[ [
AH_CHECK_HEADERS([$1]) AH_CHECK_HEADERS_TDE([$1])
AC_LANG_SAVE AC_LANG_SAVE
kde_safe_cppflags=$CPPFLAGS kde_safe_cppflags=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $all_includes -I$kde_incdir/tde -I/usr/include/tqt" CPPFLAGS="$CPPFLAGS $all_includes -I$kde_incdir/tde -I/usr/include/tqt"
@ -5920,6 +5920,13 @@ m4_define([_mm_foreach],
m4_define([AC_FOREACH], m4_define([AC_FOREACH],
[mm_foreach([$1], m4_split(m4_normalize([$2])), [$3])]) [mm_foreach([$1], m4_split(m4_normalize([$2])), [$3])])
# AH_CHECK_HEADERS_TDE(HEADER-FILE...)
# --------------------------------
m4_define([AH_CHECK_HEADERS_TDE],
[m4_foreach_w([AC_Header], [$1],
[AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([AC_Header])),
[Define to 1 if you have the <]m4_defn([AC_Header])[> header file.])])])
AC_DEFUN([KDE_NEED_FLEX], AC_DEFUN([KDE_NEED_FLEX],
[ [
kde_libs_safe=$LIBS kde_libs_safe=$LIBS

Loading…
Cancel
Save