]> granicus.if.org Git - libass/commitdiff
autoconf: disable Fortran/C++ checks
authorGrigori Goronzy <greg@blackbox>
Sat, 11 Jul 2009 01:50:41 +0000 (03:50 +0200)
committerGrigori Goronzy <greg@blackbox>
Sat, 11 Jul 2009 03:34:29 +0000 (05:34 +0200)
For some reason, libtool wants to check for Fortran and C++ compilers,
which takes some time.  Disable these checks to speed up ./configure
runs.

configure.ac

index 4cc0d535e6e04e1dde8162a8839f2c3056097bef..fb09fb61825aed762224783ff59d42efb14db869 100644 (file)
@@ -2,7 +2,10 @@ AC_PREREQ(2.60a)
 AC_INIT(libass, 0.9.6)
 AM_INIT_AUTOMAKE
 AC_CONFIG_MACRO_DIR([shave])
-AM_PROG_LIBTOOL
+# Disable C++/Fortran checks
+define([AC_LIBTOOL_LANG_CXX_CONFIG], [:])
+define([AC_LIBTOOL_LANG_F77_CONFIG], [:])
+AC_PROG_LIBTOOL
 AC_CONFIG_SRCDIR([libass/ass.c])
 AC_CONFIG_HEADER([config.h])