| 1 |
AC_INIT() |
| 2 |
AC_CONFIG_AUX_DIR(config) |
| 3 |
AC_PREFIX_DEFAULT(/usr/local/satellite) |
| 4 |
AC_CANONICAL_SYSTEM |
| 5 |
|
| 6 |
AC_PROG_INSTALL |
| 7 |
AC_PROG_MAKE_SET |
| 8 |
|
| 9 |
SUBDIRS="include lib shell system util gpm bm rc xcut" |
| 10 |
|
| 11 |
AC_ARG_ENABLE(ispp,dnl |
| 12 |
[ --enable-ispp enable ISPP Module (default) |
| 13 |
--disable-ispp disable ISPP Module],, |
| 14 |
test -z "$enable_ispp" && enable_ispp=yes) |
| 15 |
AC_ARG_ENABLE(bps,dnl |
| 16 |
[ --enable-bps enable BPS Module (default) |
| 17 |
--disable-bps disable BPS Module],, |
| 18 |
test -z "$enable_bps" && enable_bps=yes) |
| 19 |
AC_ARG_ENABLE(npe,dnl |
| 20 |
[ --enable-npe enable NPE Module (default) |
| 21 |
--disable-npe disable NPE Module],, |
| 22 |
test -z "$enable_npe" && enable_npe=yes) |
| 23 |
AC_ARG_ENABLE(ncs,dnl |
| 24 |
[ --enable-ncs enable NCS Module (default) |
| 25 |
--disable-ncs disable NCS Module],, |
| 26 |
test -z "$enable_ncs" && enable_ncs=yes) |
| 27 |
AC_ARG_ENABLE(dcm,dnl |
| 28 |
[ --enable-dcm enable DCM Module (default) |
| 29 |
--disable-dcm disable DCM Module],, |
| 30 |
test -z "$enable_dcm" && enable_dcm=yes) |
| 31 |
|
| 32 |
AC_ARG_WITH(motif-includes,dnl |
| 33 |
[ --with-motif-includes=PATH |
| 34 |
use Motif includes in PATH],, |
| 35 |
test -z "$with_motif_includes" && with_motif_includes=no) |
| 36 |
|
| 37 |
AC_ARG_WITH(motif-libraries,dnl |
| 38 |
[ --with-motif-libraries=PATH |
| 39 |
use Motif libraries in PATH],, |
| 40 |
test -z "$with_motif_libraries" && with_motif_libraries=no) |
| 41 |
|
| 42 |
|
| 43 |
AC_ARG_WITH(helpviewer,dnl |
| 44 |
[ --with-helpviewer=\"help viewer command\" |
| 45 |
set SATLLITE help viewer command strings |
| 46 |
\"xdvi +%page% %dvi% -expert\" (default) |
| 47 |
special keyword : %page% manual page |
| 48 |
%dvi% dvi file |
| 49 |
%ps% ps file |
| 50 |
%pdf% pdf file],, |
| 51 |
test -z "$with_helpviewer" && with_helpviewer=no) |
| 52 |
|
| 53 |
AC_CONFIG_SUBDIRS(include lib shell system util gpm bm rc xcut) |
| 54 |
|
| 55 |
if test "$enable_ispp" = yes; then |
| 56 |
SUBDIRS="$SUBDIRS ispp" |
| 57 |
AC_CONFIG_SUBDIRS(ispp) |
| 58 |
fi |
| 59 |
if test "$enable_bps" = yes; then |
| 60 |
SUBDIRS="$SUBDIRS bps" |
| 61 |
AC_CONFIG_SUBDIRS(bps) |
| 62 |
fi |
| 63 |
if test "$enable_npe" = yes; then |
| 64 |
SUBDIRS="$SUBDIRS npe" |
| 65 |
AC_CONFIG_SUBDIRS(npe) |
| 66 |
fi |
| 67 |
if test "$enable_ncs" = yes; then |
| 68 |
SUBDIRS="$SUBDIRS ncs" |
| 69 |
AC_CONFIG_SUBDIRS(ncs) |
| 70 |
fi |
| 71 |
if test "$enable_dcm" = yes; then |
| 72 |
SUBDIRS="$SUBDIRS dcm" |
| 73 |
AC_CONFIG_SUBDIRS(dcm) |
| 74 |
fi |
| 75 |
|
| 76 |
AC_SUBST(SUBDIRS) |
| 77 |
AC_OUTPUT(Makefile) |