diff options
Diffstat (limited to '')
-rwxr-xr-x | configure | 17 | ||||
-rw-r--r-- | configure.in | 13 |
2 files changed, 26 insertions, 4 deletions
@@ -873,8 +873,8 @@ Optional Packages: (try 'all,\!<driver>' if your shell complains...) possible drivers are: BeckmannEgle, CrystalFontz, Cwlinux, HD44780, - M50530, T6963, USBLCD, MatrixOrbital, PalmPilot - PNG, PPM, X11, Text + M50530, T6963, USBLCD, MatrixOrbital, + MilfordInstruments, PalmPilot, PNG, PPM, X11, Text Some influential environment variables: CC C compiler command @@ -5334,6 +5334,7 @@ for driver in $drivers; do T6963="yes" USBLCD="yes" MATRIXORBITAL="yes" + MILINST="yes" PALMPILOT="yes" PNG="yes" PPM="yes" @@ -5364,6 +5365,9 @@ for driver in $drivers; do MatrixOrbital) MATRIXORBITAL=$val ;; + MilfordInstruments) + MILINST=$val + ;; PalmPilot) PALMPILOT=$val ;; @@ -5474,6 +5478,15 @@ _ACEOF fi +if test "$MILINST" = "yes"; then + DRIVERS="$DRIVERS MilfordInstruments.o" + +cat >>confdefs.h <<\_ACEOF +#define WITH_MILINST 1 +_ACEOF + +fi + if test "$PALMPILOT" = "yes"; then DRIVERS="$DRIVERS PalmPilot.o" diff --git a/configure.in b/configure.in index 1888dfb..cdb6d7a 100644 --- a/configure.in +++ b/configure.in @@ -43,8 +43,8 @@ AC_ARG_WITH( [ (try 'all,\!<driver>' if your shell complains...)] [ possible drivers are:] [ BeckmannEgle, CrystalFontz, Cwlinux, HD44780,] - [ M50530, T6963, USBLCD, MatrixOrbital, PalmPilot] - [ PNG, PPM, X11, Text], + [ M50530, T6963, USBLCD, MatrixOrbital,] + [ MilfordInstruments, PalmPilot, PNG, PPM, X11, Text], drivers=$withval, drivers=all ) @@ -73,6 +73,7 @@ for driver in $drivers; do T6963="yes" USBLCD="yes" MATRIXORBITAL="yes" + MILINST="yes" PALMPILOT="yes" PNG="yes" PPM="yes" @@ -103,6 +104,9 @@ for driver in $drivers; do MatrixOrbital) MATRIXORBITAL=$val ;; + MilfordInstruments) + MILINST=$val + ;; PalmPilot) PALMPILOT=$val ;; @@ -178,6 +182,11 @@ if test "$MATRIXORBITAL" = "yes"; then AC_DEFINE(WITH_MATRIXORBITAL,1,[junk]) fi +if test "$MILINST" = "yes"; then + DRIVERS="$DRIVERS MilfordInstruments.o" + AC_DEFINE(WITH_MILINST,1,[junk]) +fi + if test "$PALMPILOT" = "yes"; then DRIVERS="$DRIVERS PalmPilot.o" AC_DEFINE(WITH_PALMPILOT,1,[junk]) |