[Synopsis-cvs] Synopsis/Synopsis local.mk.in,1.10,1.11 configure.in,1.16,1.17
Stefan Seefeld stefan at users.sourceforge.netWed Aug 20 01:21:03 UTC 2003
- Previous message: [Synopsis-cvs] Synopsis/Synopsis/Synopsis/Parser/C Makefile,NONE,1.1 Trace.hh,NONE,1.1 Translator.cc,NONE,1.1 Translator.hh,NONE,1.1 __init__.py,NONE,1.1 ctool.cc,NONE,1.1
- Next message: [Synopsis-cvs] Synopsis/Synopsis/Synopsis/Parser/C++/syn Makefile,1.54,1.55
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /cvsroot/synopsis/Synopsis
In directory sc8-pr-cvs1:/tmp/cvs-serv2431
Modified Files:
local.mk.in configure.in
Log Message:
first steps towards a C parser backend (based on the ctool)
Index: local.mk.in
===================================================================
RCS file: /cvsroot/synopsis/Synopsis/local.mk.in,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -p -d -r1.10 -r1.11
--- local.mk.in 23 Mar 2003 17:36:27 -0000 1.10
+++ local.mk.in 20 Aug 2003 02:16:37 -0000 1.11
@@ -44,8 +44,14 @@ packagedir := $(prefix)/lib/python$(pyth
CC := @CC@
CXX := @CXX@
+MAKEDEP := $(CXX) -M
use_gc := @use_gc@
LIBS := @python_lib@ @LIBS@ -lpthread
CPPFLAGS := @CPPFLAGS@
+CFLAGS := @CFLAGS@
+CXXFLAGS := @CXXFLAGS@
LIBRARY_EXT := @library_ext@
CPP_PROFILE := @cpp_profile@
+CTOOL := @CTOOL@
+CTOOL_CPPFLAGS := @CTOOL_CPPFLAGS@
+CTOOL_LIBS := @CTOOL_LIBS@
Index: configure.in
===================================================================
RCS file: /cvsroot/synopsis/Synopsis/configure.in,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -p -d -r1.16 -r1.17
--- configure.in 24 Mar 2003 09:05:38 -0000 1.16
+++ configure.in 20 Aug 2003 02:16:37 -0000 1.17
@@ -96,7 +96,7 @@ CYGWIN*)
library_ext=dll
;;
*)
- CPPFLAGS="-fPIC $CPPFLAGS"
+ CXXFLAGS="$CXXFLAGS -fPIC"
cpp_profile="-pg"
library_ext=so
;;
@@ -119,8 +119,28 @@ if test "$use_gc" = yes; then
echo "- Please rerun manually if required."
fi
-AC_OUTPUT([
- local.mk:local.mk.in
- synopsis.spec:synopsis.spec.in
- Synopsis/Config.py:Synopsis/Config.py.in
-])
+dnl
+dnl optionally support ctool C parser
+dnl
+AC_ARG_ENABLE(ctool,
+ AC_HELP_STRING([--enable-ctool],[Configure with ctool support]),
+ [config_ctool="$enableval"],[config_ctool="yes"])
+CTOOL=
+if test ".$config_ctool" = ".yes"; then
+ AC_LANG(C++)
+ AC_ARG_WITH(ctool-prefix,
+ [ --with-ctool-prefix ctool prefix],
+ [ctool_prefix="$withval"])
+ if test ".$ctool_prefix" != "." ; then
+ CTOOL_LIBS="-L$ctool_prefix/lib"
+ CTOOL_CPPFLAGS="-I$ctool_prefix/include"
+ fi
+ save_CPPFLAGS="$CPPFLAGS"
+ CPPFLAGS="$CPPFLAGS $CTOOL_CPPFLAGS"
+ AC_CHECK_HEADER(ctool/ctool.h, CTOOL=1)
+ CPPFLAGS="$save_CPPFLAGS"
+fi
+AC_SUBST(CTOOL)
+AC_SUBST(CTOOL_CPPFLAGS)
+AC_SUBST(CTOOL_LIBS)
+AC_OUTPUT([local.mk synopsis.spec Synopsis/Config.py])
- Previous message: [Synopsis-cvs] Synopsis/Synopsis/Synopsis/Parser/C Makefile,NONE,1.1 Trace.hh,NONE,1.1 Translator.cc,NONE,1.1 Translator.hh,NONE,1.1 __init__.py,NONE,1.1 ctool.cc,NONE,1.1
- Next message: [Synopsis-cvs] Synopsis/Synopsis/Synopsis/Parser/C++/syn Makefile,1.54,1.55
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Synopsis-changes mailing list