[PD-cvs] pd/src configure,1.1.1.4.2.7,1.1.1.4.2.8 configure.in,1.1.1.4.2.7,1.1.1.4.2.8
ggeiger at users.sourceforge.net
ggeiger at users.sourceforge.net
Mon Dec 15 17:00:08 CET 2003
Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1:/tmp/cvs-serv23114
Modified Files:
Tag: devel_0_37
configure configure.in
Log Message:
added --enable-static configure option
Index: configure
===================================================================
RCS file: /cvsroot/pure-data/pd/src/configure,v
retrieving revision 1.1.1.4.2.7
retrieving revision 1.1.1.4.2.8
diff -C2 -d -r1.1.1.4.2.7 -r1.1.1.4.2.8
*** configure 24 Nov 2003 16:27:47 -0000 1.1.1.4.2.7
--- configure 15 Dec 2003 16:00:04 -0000 1.1.1.4.2.8
***************
*** 848,851 ****
--- 848,852 ----
--enable-portaudio portaudio
--enable-debug debugging support
+ --enable-static link statically
Optional Packages:
***************
*** 1311,1314 ****
--- 1312,1320 ----
USE_OPT_CFLAGS="no"
fi;
+ # Check whether --enable-static or --disable-static was given.
+ if test "${enable_static+set}" = set; then
+ enableval="$enable_static"
+ static=yes
+ fi;
ac_ext=c
***************
*** 5165,5168 ****
--- 5171,5177 ----
LDFLAGS="-Wl,-export-dynamic"
+ if test "$static" = "yes"; then
+ LDFLAGS="$LDFLAGS -static"
+ fi
EXT=pd_linux
MORECFLAGS="-DDL_OPEN -DPA_USE_OSS -DPA_LITTLE_ENDIAN \
Index: configure.in
===================================================================
RCS file: /cvsroot/pure-data/pd/src/configure.in,v
retrieving revision 1.1.1.4.2.7
retrieving revision 1.1.1.4.2.8
diff -C2 -d -r1.1.1.4.2.7 -r1.1.1.4.2.8
*** configure.in 24 Nov 2003 16:27:49 -0000 1.1.1.4.2.7
--- configure.in 15 Dec 2003 16:00:05 -0000 1.1.1.4.2.8
***************
*** 29,33 ****
AC_ARG_ENABLE(debug, [ --enable-debug debugging support],
USE_OPT_CFLAGS="no")
!
dnl Checks for programs.
AC_PROG_CC
--- 29,35 ----
AC_ARG_ENABLE(debug, [ --enable-debug debugging support],
USE_OPT_CFLAGS="no")
! AC_ARG_ENABLE(static, [ --enable-static link statically],
! static=yes)
!
dnl Checks for programs.
AC_PROG_CC
***************
*** 118,121 ****
--- 120,126 ----
LDFLAGS="-Wl,-export-dynamic"
+ if test "$static" = "yes"; then
+ LDFLAGS="$LDFLAGS -static"
+ fi
EXT=pd_linux
MORECFLAGS="-DDL_OPEN -DPA_USE_OSS -DPA_LITTLE_ENDIAN \
More information about the Pd-cvs
mailing list