dnl withenable.ac: --with and --enable options. # Check if the user wants to use Ghostscript, DPS or NeWS to # display PostScript. AC_ARG_WITH(ps, [ --with-ps=PS use PostScript; default gs (PS=no/yes/gs/dps/news)], [case $withval in yes|gs) PS_DEF="$PS_DEF -DPS_GS";; no) PS_DEF=no;; dps) PS_DEF="$PS_DEF -DPS_DPS";; news) PS_DEF="$PS_DEF -DPS_NEWS";; *)] AC_MSG_WARN(Unknown --with-ps argument \`$withval'; using gs.);; esac)