dnl
dnl libtool macro check for CC, LD, NM, LN_S, RANLIB, STRIP + pour les librairies dynamiques !
+AC_ENABLE_DEBUG(yes)
+AC_DISABLE_PRODUCTION
+
echo ---------------------------------------------
echo testing libtool
echo ---------------------------------------------
# AC_CC_WARNINGS([ansi])
cc_ok=yes
-AC_ENABLE_DEBUG(yes)
-AC_DISABLE_PRODUCTION
-
dnl Library libdl :
AC_CHECK_LIB(dl,dlopen)
dnl on utilise donc gnu pour generer les dependances.
DEPCC=gcc
DEPCXX=g++
- DEPCXXFLAGS="-Wno-deprecated -funsigned-char"
+ DEPCXXFLAGS="-Wno-deprecated"
DIFFFLAGS="-w"
;;
*)
dnl test c++ compiler flag for unsigned character
for opt in -funsigned-char -unsigned ; do
- AC_CXX_OPTION($opt,CXXFLAGS,flag=yes,flag=no)
+ AC_CXX_OPTION($opt,CAS_CXXFLAGS,flag=yes,flag=no)
if test "$flag" = "yes"; then
break
fi
fi
+AC_SUBST(OWN_CONFIG_H)
+
if test "x$occ_ok" = xyes ; then
AC_MSG_CHECKING(for OpenCascade libraries)
# add libstdc++ to link c++ library with libtool !
LDFLAGS+= @STDLIB@
-CP=@CP@
+#CP=@CP@
# CPP
# JAVA
-JAVA_INCLUDES = @JAVA_INCLUDES@
-JAVA_LIBS = @JAVA_LIBS@
-JAVA_LDPATH = @JAVA_LDPATH@
+#JAVA_INCLUDES = @JAVA_INCLUDES@
+#JAVA_LIBS = @JAVA_LIBS@
+#JAVA_LDPATH = @JAVA_LDPATH@
# PYTHON
DOXYGEN = @DOXYGEN@
## Shared libraries
-LT_STATIC_EXEC=@LT_STATIC_EXEC@
-DYNAMIC_DIRS=@DYNAMIC_DIRS@
+#LT_STATIC_EXEC=@LT_STATIC_EXEC@
+#DYNAMIC_DIRS=@DYNAMIC_DIRS@
LT_LIB=libtool
LT=$(top_builddir)/libtool
LT_COMPILE=$(LT) --mode=compile $(CC)