dnl
dnl @author Bernard Secher - 15/01/2004
dnl
-AC_DEFUN([AX_CXX_OPTION], [
+AC_DEFUN([AC_CXX_OPTION], [
AC_MSG_CHECKING(CXXFLAGS for $CXX in $1)
cat > conftest.cxx <<EOF
int main(int argc, char **argv) { return 0; }
AC_DEFUN([AC_CXX_TEMPLATE_OPTIONS],[
dnl
for opt in -ftemplate-depth-42 "-pending_instantiations 42" ; do
- AX_CXX_OPTION($opt,CXXTMPDPTHFLAGS,flag=yes,flag=no)
+ AC_CXX_OPTION($opt,CXXTMPDPTHFLAGS,flag=yes,flag=no)
if test "$flag" = "yes"; then
break
fi
AC_SUBST(CXXTMPDPTHFLAGS)
done
dnl
- AX_CXX_OPTION(-tweak,CXXFLAGS)
+ AC_CXX_OPTION(-tweak,CXXFLAGS)
])
dnl @author Bernard Secher (CEA) - 04/12/2003
dnl
AC_DEFUN([AC_CXX_WARNINGS],[
- AX_CXX_OPTION(-Wno-deprecated,CXXFLAGS)
+ AC_CXX_OPTION(-Wno-deprecated,CXXFLAGS)
])
dnl
AC_DEFUN([AC_LINKER_OPTIONS],[
for opt in "-Xlinker -export-dynamic" -transitive_link; do
- AX_CXX_OPTION($opt,LDEXPDYNFLAGS,flag=yes,flag=no)
+ AC_CXX_OPTION($opt,LDEXPDYNFLAGS,flag=yes,flag=no)
if test "$flag" = "yes"; then
break
fi
dnl test c++ compiler flag for unsigned character
for opt in -funsigned-char -unsigned ; do
- AX_CXX_OPTION($opt,CXXFLAGS,flag=yes,flag=no)
+ AC_CXX_OPTION($opt,CXXFLAGS,flag=yes,flag=no)
if test "$flag" = "yes"; then
break
fi
dnl ----------------------------------------------------------------
dnl CHECK_PTHREADS
AC_DEFUN(CHECK_PTHREADS,[
-AX_CXX_OPTION(-pthread,CPPFLAGS,flag=yes,flag=no)
+AC_CXX_OPTION(-pthread,CPPFLAGS,flag=yes,flag=no)
if test $flag = no; then
AC_REQUIRE([AC_CANONICAL_SYSTEM])dnl