deleted unnecessary items from configure.ac
This commit is contained in:
@ -17,12 +17,6 @@ AC_PROG_CC
|
||||
dnl determine a C++ compiler to use
|
||||
AC_PROG_CXX
|
||||
|
||||
dnl determine an Objective-C compiler to use
|
||||
AC_PROG_OBJC
|
||||
|
||||
dnl check if the Objective-C compiler exists in PATH.
|
||||
AC_CHECK_PROG(HAVE_OBJC, $OBJC, yes, no)
|
||||
|
||||
dnl check if the C++ compiler exists in PATH.
|
||||
AC_CHECK_PROG(HAVE_CXX, $CXX, yes, no)
|
||||
|
||||
@ -211,12 +205,6 @@ else
|
||||
AC_SUBST(BUILD_MODE, "release")
|
||||
fi
|
||||
|
||||
AC_ARG_ENABLE([objc], [AC_HELP_STRING([--enable-objc],
|
||||
[build the library for Objective-C if an Objective-C compiler is available (default. yes)])],
|
||||
enable_objc_is=$enableval,enable_objc_is=yes)
|
||||
[test "${HAVE_OBJC}" = "yes" || enable_objc_is="no"]
|
||||
AM_CONDITIONAL(ENABLE_OBJC, test "${enable_objc_is}" = "yes" )
|
||||
|
||||
AC_ARG_ENABLE([cxx], [AC_HELP_STRING([--enable-cxx],
|
||||
[build the library for C++ if a C++ compiler is available (default. yes)])],
|
||||
enable_cxx_is=$enableval,enable_cxx_is=yes)
|
||||
@ -293,7 +281,6 @@ echo " Build mode : ${BUILD_MODE}"
|
||||
echo " Source directory: ${srcdir}"
|
||||
echo " Installation directory: ${prefix}"
|
||||
echo " C compiler: ${CC} ${CFLAGS}"
|
||||
echo " Objective-C compiler: ${OBJC} ${OBJCFLAGS}"
|
||||
echo " C++ compiler: ${CXX} ${CXXFLAGS}"
|
||||
echo " C++ support: ${enable_cxx_is}"
|
||||
echo " Wide character: ${enable_wchar_is}"
|
||||
|
Reference in New Issue
Block a user