| 1 |
dnl |
| 2 |
dnl Common configure switches related to Rexx interpreter |
| 3 |
dnl |
| 4 |
dnl Uses following functions: |
| 5 |
dnl CHECK_REXX |
| 6 |
|
| 7 |
dnl ---------------------- check for REXX argument ----------------- |
| 8 |
dnl allow --with-rexx for Rexx support |
| 9 |
AC_ARG_WITH(rexx, |
| 10 |
[ --with-rexx=int specify Rexx interpeter (rexxtrans|regina|rexximc|oorexx|objrexx|unirexx|rexx6000)], |
| 11 |
[with_rexx=$withval], |
| 12 |
[with_rexx=no], |
| 13 |
) |
| 14 |
dnl allow --with-rexxincdir to specify where REXX header file is |
| 15 |
AC_ARG_WITH(rexxincdir, |
| 16 |
[ --with-rexxincdir=DIR specify where REXX header file is], |
| 17 |
[with_rexxincdir=$withval], |
| 18 |
[with_rexxincdir=no], |
| 19 |
) |
| 20 |
dnl allow --with-rexxlibdir to specify where REXX library file is |
| 21 |
AC_ARG_WITH(rexxlibdir, |
| 22 |
[ --with-rexxlibdir=DIR specify where REXX library file is], |
| 23 |
[with_rexxlibdir=$withval], |
| 24 |
[with_rexxlibdir=no], |
| 25 |
) |
| 26 |
dnl allow --with-brew-addon-dir to override regina-config --addons for HomeBrew install |
| 27 |
AC_ARG_WITH(brew-addon-dir, |
| 28 |
[ --with-brew-addon-dir=dir location of HomeBrew internal addons dir (default from Regina)], |
| 29 |
[with_brew_addon_dir=$withval], |
| 30 |
[with_brew_addon_dir=no], |
| 31 |
) |
| 32 |
CHECK_REXX |