gui_b=no
AC_ARG_ENABLE(gui,
- [ --enable-gui compile with experimental GNOME output module. Default: off],
+ [ --enable-gui compile with experimental GNOME output. Default: off],
[gui_b=$enableval])
+std_string=yes
+AC_ARG_ENABLE(std-string,
+ [ --enable-std-string compile with std::string. Default: on],
+ [std_string=$enableval])
+if test "$std_string" = "yes"; then
+ # Store in config.make rather than in config.hh and have every
+ # source file depend on that.
+ DEFINES="$DEFINES -DSTD_STRING=1"
+fi
+
+std_vector=no
+AC_ARG_ENABLE(std-string,
+ [ --enable-std-vector compile with experimental std::vector. Default: off],
+ [std_vector=$enableval])
+if test "$std_vector" = "yes"; then
+ # Store in config.make rather than in config.hh and have every
+ # source file depend on that.
+ DEFINES="$DEFINES -DSTD_VECTOR=1"
+fi
NCSB_DIR=unknown
-AC_ARG_WITH(ncsb,
+AC_ARG_WITH(ncsb-dir,
[ --with-ncsb-dir=DIR location of Century Schoolbook fonts
Default: detect with locate(1)],
[NCSB_DIR=$withval])
AC_MSG_CHECKING([New Century Schoolbook PFB files])
if test "$NCSB_DIR" = "unknown"; then
- which locate >& /dev/null
+ # use `type' command rather than external program `which'
+ type locate >& /dev/null
if test "$?" = "0"; then
for d in `locate c059033l.pfb `; do
if test -f `dirname "$d"`/c059033l.afm ; then