137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
|
# Check parameter: force compilation with KSH?
AC_ARG_WITH(ksh,
[AC_HELP_STRING([--with-ksh], [force compilation with KSH (default: GUESS)])],
[BSHELL="ksh"])
# Check for shell version.
if test "$BSHELL" = none; then
AC_PATH_PROGS(BSHELL, zsh bash ksh, no)
if test "$BSHELL" = no; then
AC_MSG_ERROR(cannot compile - please install a BASH, ZShell or Kornshell first.)
fi
fi
# Check if we need to build any GUI
GTK="false"
FLTK="false"
|
|
|
|
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
|
# Check parameter: force compilation with KSH?
AC_ARG_WITH(ksh,
[AC_HELP_STRING([--with-ksh], [force compilation with KSH (default: GUESS)])],
[BSHELL="ksh"])
# Check for shell version.
if test "$BSHELL" = none; then
AC_PATH_PROGS(BSHELL, ksh zsh bash, no)
if test "$BSHELL" = no; then
AC_MSG_ERROR(cannot compile - please install either Kornshell93, BASH or ZShell first.)
fi
fi
# Check if we need to build any GUI
GTK="false"
FLTK="false"
|