From: <cso...@pr...> - 2004-01-30 20:04:32
|
Update of /cvsroot/openh323/pwlib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28859 Modified Files: configure configure.in Log Message: Moved P_USE_PRAGMA back to the compiler flags as this cannot be put into a include file due to the way gcc implements vtable closure Index: configure =================================================================== RCS file: /cvsroot/openh323/pwlib/configure,v retrieving revision 1.54 retrieving revision 1.55 diff -C2 -d -r1.54 -r1.55 *** configure 29 Jan 2004 13:43:58 -0000 1.54 --- configure 30 Jan 2004 00:52:57 -0000 1.55 *************** *** 1972,1976 **** OSRELEASE=`uname -r` ; OS_TAG="P_LINUX" ; ! P_USE_PRAGMA=1 ; ;; --- 1972,1976 ---- OSRELEASE=`uname -r` ; OS_TAG="P_LINUX" ; ! STDCCFLAGS="$STDCCFLAGS -DP_USE_PRAGMA" ;; *************** *** 1980,1984 **** OSRELEASE=`sysctl -n kern.osreldate` ; fi ! P_USE_PRAGMA=1 ; ;; --- 1980,1984 ---- OSRELEASE=`sysctl -n kern.osreldate` ; fi ! STDCCFLAGS="$STDCCFLAGS -DP_USE_PRAGMA" ;; *************** *** 1987,1991 **** OSRELEASE=`sysctl -n kern.osrevision` ; ENDLDLIBS="-lossaudio" ; ! P_USE_PRAGMA=1 ; ;; --- 1987,1991 ---- OSRELEASE=`sysctl -n kern.osrevision` ; ENDLDLIBS="-lossaudio" ; ! STDCCFLAGS="$STDCCFLAGS -DP_USE_PRAGMA" ;; *************** *** 1994,1998 **** OSRELEASE=`/sbin/sysctl -n kern.osrevision` ; ENDLDLIBS="-lossaudio" ; ! P_USE_PRAGMA=1 ; ;; --- 1994,1998 ---- OSRELEASE=`/sbin/sysctl -n kern.osrevision` ; ENDLDLIBS="-lossaudio" ; ! STDCCFLAGS="$STDCCFLAGS -DP_USE_PRAGMA" ;; *************** *** 2000,2004 **** OS_TAG="P_SOLARIS" ; OSRELEASE=`uname -r | sed "s/5\.//g"` ; ! P_USE_PRAGMA=1 ; ;; --- 2000,2004 ---- OS_TAG="P_SOLARIS" ; OSRELEASE=`uname -r | sed "s/5\.//g"` ; ! STDCCFLAGS="$STDCCFLAGS -DP_USE_PRAGMA" ;; *************** *** 2007,2011 **** OSRELEASE=`uname -r | sed "s/\.//g"` ; SHAREDLIBEXT="dylib"; ! P_USE_PRAGMA=1 ; ;; --- 2007,2011 ---- OSRELEASE=`uname -r | sed "s/\.//g"` ; SHAREDLIBEXT="dylib"; ! STDCCFLAGS="$STDCCFLAGS -DP_USE_PRAGMA" ;; *************** *** 2088,2097 **** - if test "x$P_USE_PRAGMA" != "x" ; then - cat >>confdefs.h <<\_ACEOF - #define P_USE_PRAGMA 1 - _ACEOF - - fi if test "x$P_64BIT" != "x" ; then cat >>confdefs.h <<\_ACEOF --- 2088,2091 ---- Index: configure.in =================================================================== RCS file: /cvsroot/openh323/pwlib/configure.in,v retrieving revision 1.72 retrieving revision 1.73 diff -C2 -d -r1.72 -r1.73 *** configure.in 29 Jan 2004 13:43:58 -0000 1.72 --- configure.in 30 Jan 2004 00:52:57 -0000 1.73 *************** *** 63,67 **** OSRELEASE=`uname -r` ; OS_TAG="P_LINUX" ; ! P_USE_PRAGMA=1 ; ;; --- 63,67 ---- OSRELEASE=`uname -r` ; OS_TAG="P_LINUX" ; ! STDCCFLAGS="$STDCCFLAGS -DP_USE_PRAGMA" ;; *************** *** 71,75 **** OSRELEASE=`sysctl -n kern.osreldate` ; fi ! P_USE_PRAGMA=1 ; ;; --- 71,75 ---- OSRELEASE=`sysctl -n kern.osreldate` ; fi ! STDCCFLAGS="$STDCCFLAGS -DP_USE_PRAGMA" ;; *************** *** 78,82 **** OSRELEASE=`sysctl -n kern.osrevision` ; ENDLDLIBS="-lossaudio" ; ! P_USE_PRAGMA=1 ; ;; --- 78,82 ---- OSRELEASE=`sysctl -n kern.osrevision` ; ENDLDLIBS="-lossaudio" ; ! STDCCFLAGS="$STDCCFLAGS -DP_USE_PRAGMA" ;; *************** *** 85,89 **** OSRELEASE=`/sbin/sysctl -n kern.osrevision` ; ENDLDLIBS="-lossaudio" ; ! P_USE_PRAGMA=1 ; ;; --- 85,89 ---- OSRELEASE=`/sbin/sysctl -n kern.osrevision` ; ENDLDLIBS="-lossaudio" ; ! STDCCFLAGS="$STDCCFLAGS -DP_USE_PRAGMA" ;; *************** *** 91,95 **** OS_TAG="P_SOLARIS" ; OSRELEASE=`uname -r | sed "s/5\.//g"` ; ! P_USE_PRAGMA=1 ; ;; --- 91,95 ---- OS_TAG="P_SOLARIS" ; OSRELEASE=`uname -r | sed "s/5\.//g"` ; ! STDCCFLAGS="$STDCCFLAGS -DP_USE_PRAGMA" ;; *************** *** 98,102 **** OSRELEASE=`uname -r | sed "s/\.//g"` ; SHAREDLIBEXT="dylib"; ! P_USE_PRAGMA=1 ; ;; --- 98,102 ---- OSRELEASE=`uname -r | sed "s/\.//g"` ; SHAREDLIBEXT="dylib"; ! STDCCFLAGS="$STDCCFLAGS -DP_USE_PRAGMA" ;; *************** *** 164,170 **** AC_DEFINE(PHAS_TEMPLATES, 1) - if test "x$P_USE_PRAGMA" != "x" ; then - AC_DEFINE(P_USE_PRAGMA, 1) - fi if test "x$P_64BIT" != "x" ; then AC_DEFINE(P_64BIT, 1) --- 164,167 ---- |