[project @ 2002-07-31 14:11:13 by simonmar]
authorsimonmar <unknown>
Wed, 31 Jul 2002 14:11:14 +0000 (14:11 +0000)
committersimonmar <unknown>
Wed, 31 Jul 2002 14:11:14 +0000 (14:11 +0000)
Detect Python (any version).

configure.in
mk/config.mk.in

index cd13b2c..9b4914b 100644 (file)
@@ -576,6 +576,9 @@ esac
 dnl ** does #! path/to/perl work? (sometimes it's too long...)
 FPTOOLS_SHEBANG_PERL
 
+dnl ** check for Python
+AC_PATH_PROG(PythonCmd,python)
+
 dnl ** look for GCC and find out which version
 dnl     Figure out which C compiler to use.  Gcc is preferred.
 dnl     If gcc, make sure it's at least 2.1
@@ -633,7 +636,6 @@ AC_PATH_PROG(SedCmd,sed)
 dnl ** check for time command
 AC_PATH_PROG(TimeCmd,time)
 
-
 dnl ** check for tar
 dnl   if GNU tar is named gtar, look for it first.
 AC_PATH_PROGS(TarCmd,gtar tar,tar)
index 7cae94a..a28b1bf 100644 (file)
@@ -744,6 +744,7 @@ MSMACROS            = -ms
 MV                     = mv
 NROFF                  = nroff
 PERL                   = @PerlCmd@
+PYTHON                 = @PythonCmd@
 PIC                    = pic
 PREPROCESSCMD          = $(CC) -E
 PRINTER                        = lpr