AC_MSG_CHECKING(for the C compiler perl wants to use to build its modules)
perlcc=`$PERL -MConfig -e 'print $Config{cc}'`
AC_MSG_RESULT($perlcc)
- if test ! -x $perlcc; then
+ if test ! -x "$perlcc"; then
AC_PATH_PROG(PERLCC, ${perlcc}, no)
- if test -x "x$PERLCC" = "xno"; then
+ if test "x$PERLCC" = "xno"; then
AC_MSG_WARN([
I would not find the Compiler ($perlcc) that was originally used to compile your
perl binary. You should either make sure that this compiler is available on your
AC_SUBST(TCL_LD_SEARCH_FLAGS)
dnl Check for python
-AM_PATH_PYTHON(2.3)
-AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
-
+AM_PATH_PYTHON(2.3,[PYTHON_DIR=python],[PYTHON_DIR=''])
+AM_CHECK_PYTHON_HEADERS(,[PYTHON_DIR='';AC_MSG_WARN(could not find Python headers)])
+AC_SUBST(PYTHON_DIR)
dnl Check for nroff