Browse Source

new --enable-oldapps: ngsconvert ngproc2mod ngmultidec ngmakeidx are made only per user request

pre-master-46
Holger Vogt 8 years ago
parent
commit
3145716163
  1. 18
      configure.ac
  2. 4
      src/Makefile.am

18
configure.ac

@ -90,6 +90,10 @@ AC_ARG_ENABLE([newpred],
AC_ARG_ENABLE([newtrunc],
[AS_HELP_STRING([--enable-newtrunc], [Enable, how we want extrapolate capacitances.])])
# --enable-oldapps: define OLDAPPS
AC_ARG_ENABLE([oldapps],
[AS_HELP_STRING([--enable-oldapps], [Enable making old, outdated apps.])])
# --enable-sense2: define WANT_SENSE2 for the code
AC_ARG_ENABLE([sense2],
[AS_HELP_STRING([--enable-sense2], [Use spice2 sensitivity analysis.])])
@ -175,6 +179,7 @@ AC_ARG_ENABLE([xgraph],
# ngspice shared may want relative paths for spinit etc.
AC_ARG_ENABLE([relpath],
[AS_HELP_STRING([--enable-relpath], [Enable relative paths for spinit etc.])])
# --with-readline: Includes GNU readline support into CLI. Default is "no".
AC_ARG_WITH([readline],
[AS_HELP_STRING([--with-readline[=yes/no]], [Enable GNU readline support for CLI. Default=no.])])
@ -253,6 +258,7 @@ if test "x$enable_gprof" = xyes; then
fi
fi
# Not sure that this will work....
if test "x$with_checkergcc" = xyes; then
CC="checkergcc"
@ -677,6 +683,18 @@ esac
AM_CONDITIONAL([NO_X], [test "x$has_no_x" = xtrue])
AM_CONDITIONAL([NO_HELP], [test "x$has_no_help" = xtrue])
# enabling making of the old and outdated applications
# ngsconvert ngproc2mod ngmultidec ngmakeidx nghelp
if test "x$enable_oldapps"=xyes; then
has_oldapps=true
AC_MSG_RESULT([ngsconvert ngproc2mod ngmultidec ngmakeidx nghelp are made.])
else
has_oldapps=false
fi
AM_CONDITIONAL([OLDAPPS], [test "x$has_oldapps" = xtrue])
# Check for a few typdefs:
AC_TYPE_PID_T
AC_TYPE_SIGNAL

4
src/Makefile.am

@ -19,6 +19,7 @@ if !TCL_MODULE
if !SHARED_MODULE
bin_PROGRAMS = ngspice ngnutmeg
if OLDAPPS
if !WINGUI
bin_PROGRAMS += ngsconvert ngproc2mod ngmultidec ngmakeidx
helpdatadir = $(pkgdatadir)/helpdir
@ -27,6 +28,7 @@ if !NO_HELP
bin_PROGRAMS += nghelp
endif !NO_HELP
endif !WINGUI
endif OLDAPPS
endif !SHARED_MODULE
endif !TCL_MODULE
@ -227,6 +229,7 @@ ngnutmeg_LDADD += \
## These programs are not required on Windows
if !WINGUI
if !SHWIN
if OLDAPPS
if !NO_X
ngnutmeg_LDADD += \
@ -291,6 +294,7 @@ ngmakeidx_SOURCES = makeidx.c
ngspice.idx: ngmakeidx$(EXEEXT) $(srcdir)/ngspice.txt
./ngmakeidx$(EXEEXT) -o ngspice.idx $(srcdir)/ngspice.txt
endif OLDAPPS
endif !SHWIN
endif !WINGUI

Loading…
Cancel
Save