parent
4b10166e80
commit
b70270c972
|
|
@ -1,3 +1,7 @@
|
|||
2008-09-13 Holger Vogt
|
||||
* configure.in: add AC_LIBTOOL_WIN32_DLL
|
||||
* src/makefile.am correct typo
|
||||
|
||||
2008-09-13 Holger Vogt
|
||||
* configure.in: add /mingw as search path for tcl
|
||||
* tclspice.c: replace sigsetjump and sigjmp_buf with macros from macros.h
|
||||
|
|
|
|||
11
configure.in
11
configure.in
|
|
@ -206,6 +206,8 @@ AM_MAINTAINER_MODE
|
|||
dnl Compiler checks
|
||||
dnl ---------------
|
||||
|
||||
ext_CFLAGS="$CFLAGS"
|
||||
|
||||
AC_PROG_CC
|
||||
|
||||
dnl Work on compiler options according to system:
|
||||
|
|
@ -215,16 +217,16 @@ dnl the above AC_PROG_CC may set CFLAGS to "-O2 -g"
|
|||
if test "$enable_debug" = "no"; then
|
||||
if test "x$GCC" = "xyes"; then
|
||||
AC_MSG_WARN(Removing debugging option!)
|
||||
CFLAGS="$CFLAGS -O2 -Wall"
|
||||
CFLAGS="$ext_CFLAGS -O2 -Wall -s"
|
||||
else
|
||||
AC_MSG_WARN(Removing debugging option!)
|
||||
CFLAGS="$CFLAGS"
|
||||
CFLAGS="$ext_CFLAGS -O2"
|
||||
fi
|
||||
else
|
||||
if test "x$GCC" = "xyes"; then
|
||||
CFLAGS="$CFLAGS -g -O0 -Wall"
|
||||
CFLAGS="$ext_CFLAGS -g -O0 -Wall"
|
||||
else
|
||||
CFLAGS="$CFLAGS -g"
|
||||
CFLAGS="$ext_CFLAGS -g"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
@ -268,6 +270,7 @@ AC_CANONICAL_HOST
|
|||
|
||||
|
||||
dnl Checks for programs
|
||||
AC_LIBTOOL_WIN32_DLL
|
||||
AC_LIBTOOL_DLOPEN
|
||||
AM_PROG_LIBTOOL
|
||||
AC_PROG_LIBTOOL
|
||||
|
|
|
|||
|
|
@ -267,7 +267,7 @@ libspice_la_LIBADD = ngspice.lo conf.lo \
|
|||
misc/libmisc.la \
|
||||
tclspice.lo $(LIBS)
|
||||
libspice_la_CFLAGS = $(AM_CFLAGS)
|
||||
libspice_la_LDFALGS = -shared -Wl,--version-script=tclspice.map
|
||||
libspice_la_LDFLAGS = -shared -Wl,--version-script=tclspice.map -no-undefined
|
||||
|
||||
CLEANFILES = pkgIndex.tcl libspice.so
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue