Commit e15880cb authored by Gildas Bazin's avatar Gildas Bazin

* configure.ac: what about checking for the c++ preprocessor.
parent 8408f63e
dnl Autoconf settings for vlc dnl Autoconf settings for vlc
dnl $Id: configure.ac,v 1.181 2004/02/11 08:50:04 zorglub Exp $ dnl $Id: configure.ac,v 1.182 2004/02/20 22:07:51 gbazin Exp $
AC_INIT(vlc,0.7.1-test1) AC_INIT(vlc,0.7.1-test1)
...@@ -28,6 +28,7 @@ AC_PROG_CC ...@@ -28,6 +28,7 @@ AC_PROG_CC
AM_PROG_CC_C_O AM_PROG_CC_C_O
AC_PROG_CPP AC_PROG_CPP
AC_PROG_CXX AC_PROG_CXX
AC_PROG_CXXCPP
AC_PROG_MAKE_SET AC_PROG_MAKE_SET
AC_PROG_INSTALL AC_PROG_INSTALL
...@@ -2530,7 +2531,6 @@ then ...@@ -2530,7 +2531,6 @@ then
AX_ADD_LDFLAGS([freetype],[`${FREETYPE_CONFIG} --libs` ${LIBICONV}]) AX_ADD_LDFLAGS([freetype],[`${FREETYPE_CONFIG} --libs` ${LIBICONV}])
AC_CHECK_HEADERS(Carbon/Carbon.h, AC_CHECK_HEADERS(Carbon/Carbon.h,
[AX_ADD_LDFLAGS([freetype],[-framework Carbon])]) [AX_ADD_LDFLAGS([freetype],[-framework Carbon])])
CPPFLAGS="${CPPFLAGS_save} ${CFLAGS_freetype}"
elif test "${enable_freetype}" = "yes" elif test "${enable_freetype}" = "yes"
then then
AC_MSG_ERROR([I couldn't find the freetype package. You can download libfreetype2 AC_MSG_ERROR([I couldn't find the freetype package. You can download libfreetype2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment