[Synopsis-changes] Synopsis/Synopsis/Synopsis/Parser/C++ configure.ac,1.3,1.4
Stefan Seefeld stefan at synopsis.fresco.orgMon Sep 29 15:12:43 UTC 2003
- Previous message: [Synopsis-cvs] Synopsis/Synopsis/Synopsis/Parser/C++ configure.ac,1.2,1.3
- Next message: [Synopsis-changes] Synopsis/Synopsis setup.py,1.5,1.6
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /cvs/synopsis/Synopsis/Synopsis/Parser/C++
In directory frida:/tmp/cvs-serv25767/Synopsis/Parser/C++
Modified Files:
configure.ac
Log Message:
little workaround from David Abrahams to make synopsis build on cygwin
Index: configure.ac
===================================================================
RCS file: /cvs/synopsis/Synopsis/Synopsis/Parser/C++/configure.ac,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -d -r1.3 -r1.4
--- configure.ac 22 Sep 2003 15:47:56 -0000 1.3
+++ configure.ac 29 Sep 2003 15:12:40 -0000 1.4
@@ -68,7 +68,11 @@ CYGWIN*)
dnl The following lines assume we are using python from cygwin, not win32.
dnl Make that more flexible...
PYTHON_LIBS="-L $PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION"
- PYTHON_DEP_LIBS=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_config_var('LIBS') or ''"`
+dnl Cygwin doesn't have an -lutil, but some versions of distutils tell us to use it anyway.
+dnl It would be better to check for each library it tells us to use with AC_CHECK_LIB, but
+dnl to do that, we need the name of a function in each one, so we'll just hack -lutil out
+dnl of the list.
+ PYTHON_DEP_LIBS=`$PYTHON -c "from distutils import sysconfig; import re; print re.sub(r'\\s*-lutil', '', sysconfig.get_config_var('LIBS') or '')"`
LIBS="$LIBS $PYTHON_LIBS $PYTHON_DEP_LIBS"
;;
*)
- Previous message: [Synopsis-cvs] Synopsis/Synopsis/Synopsis/Parser/C++ configure.ac,1.2,1.3
- Next message: [Synopsis-changes] Synopsis/Synopsis setup.py,1.5,1.6
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Synopsis-changes mailing list