diff options
author | Stephan Vedder <stephan.vedder@gmail.com> | 2015-05-18 22:55:28 +0200 |
---|---|---|
committer | Grigori Goronzy <greg@chown.ath.cx> | 2015-07-10 10:42:40 +0200 |
commit | 5c9068c135414a6157b93200ff81bdbb9c5cb81c (patch) | |
tree | 0cf21a7f9880df3d1eef73662bb5a6da87b0de63 | |
parent | 139ffe10497b3b4dde972e74b57c072965e53aa7 (diff) | |
download | libass-5c9068c135414a6157b93200ff81bdbb9c5cb81c.tar.bz2 libass-5c9068c135414a6157b93200ff81bdbb9c5cb81c.tar.xz |
Compile the check with the g++ compiler now
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 9f8e7b2..358349c 100644 --- a/configure.ac +++ b/configure.ac @@ -10,6 +10,7 @@ AC_CONFIG_HEADER([config.h]) # Checks for programs. AC_PROG_CC +AC_PROG_CXX AC_PROG_CPP AM_PROG_CC_C_O AM_PROG_AS @@ -174,7 +175,10 @@ AC_LINK_IFELSE([ ]) fi + + if test x$enable_directwrite != xno; then +AC_LANG_PUSH([C++]) OLDLIBS="$LIBS" # Linking to DirectWrite directly only works from Windows LIBS="$LIBS -ldwrite" @@ -192,6 +196,7 @@ AC_LINK_IFELSE([ directwrite=false AC_MSG_RESULT([no]) ]) +AC_LANG_POP() fi if test x$enable_harfbuzz != xno; then |