mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
back to AC_LANG_C[PLUSPLUS] variants
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4968 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2347f4e642
commit
82c3424a4a
@ -42,7 +42,7 @@ AC_ARG_ENABLE(gtkmmtest, [ --disable-gtkmmtest Do not try to compile and ru
|
||||
no_gtkmm=yes
|
||||
else
|
||||
AC_LANG_SAVE
|
||||
AC_LANG(C++)
|
||||
AC_LANG_CPLUSPLUS
|
||||
|
||||
GTKMM_CFLAGS=`$GTKMM_CONFIG $gtkmm_config_args --cflags`
|
||||
GTKMM_LIBS=`$GTKMM_CONFIG $gtkmm_config_args --libs`
|
||||
|
2
config/libtool.m4
vendored
2
config/libtool.m4
vendored
@ -103,7 +103,7 @@ case $host in
|
||||
CFLAGS="$CFLAGS -belf"
|
||||
AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
|
||||
[AC_LANG_SAVE
|
||||
AC_LANG(C)
|
||||
AC_LANG_C
|
||||
AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
|
||||
AC_LANG_RESTORE])
|
||||
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
|
||||
|
@ -125,7 +125,7 @@ AC_DEFUN(QT2_AC_PATH_MOC,
|
||||
|
||||
AC_DEFUN(QT2_PRINT_PROGRAM,
|
||||
[
|
||||
AC_LANG(C++)
|
||||
AC_LANG_CPLUSPLUS
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#include "confdefs.h"
|
||||
#include <qmovie.h>
|
||||
@ -301,7 +301,7 @@ dnl check it is Qt2
|
||||
SAVE_CXXFLAGS="$CXXFLAGS"
|
||||
CXXFLAGS="$CXXFLAGS -I$qt2_includes -L$qt2_libraries"
|
||||
dnl specify we are definitely C++ compiling first
|
||||
AC_LANG(C++)
|
||||
AC_LANG_CPLUSPLUS
|
||||
AC_TRY_COMPILE([
|
||||
#include <qglobal.h>
|
||||
],
|
||||
|
@ -70,7 +70,7 @@ save_LIBS=$LIBS
|
||||
LIBS="$XFORMS_LIB $LIBS"
|
||||
lyx_use_xforms_image_loader=no
|
||||
AC_LANG_SAVE
|
||||
AC_LANG(C)
|
||||
AC_LANG_C
|
||||
|
||||
AC_CHECK_LIB(jpeg, jpeg_read_header,
|
||||
[XFORMS_IMAGE_LIB=-ljpeg
|
||||
|
Loading…
Reference in New Issue
Block a user