]> git.sur5r.net Git - bacula/bacula/commitdiff
Apply Python 2.3 configure patch
authorKern Sibbald <kern@sibbald.com>
Wed, 1 Dec 2004 07:56:45 +0000 (07:56 +0000)
committerKern Sibbald <kern@sibbald.com>
Wed, 1 Dec 2004 07:56:45 +0000 (07:56 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1733 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/autoconf/configure.in
bacula/configure

index f80d9e531e40ba1927ccb429077980c93b7a3e84..d8003a5d4a9c8fdbb4f2d41d05f3778dc48fa4aa 100644 (file)
@@ -523,6 +523,9 @@ AC_ARG_WITH(python,
        if test -f /usr/include/python2.2/Python.h; then
           PYTHON_INCDIR=-I/usr/include/python2.2
           PYTHON_LIBS="-L/usr/lib/python2.2/config -lpython2.2 -lutil -ldl"
+       elif test -f /usr/include/python2.3/Python.h; then
+          PYTHON_INCDIR=-I/usr/include/python2.3
+          PYTHON_LIBS="-L/usr/lib/python2.3/config -lpython2.3 -lutil -ldl"
        elif test -f $prefix/include/Python.h; then
           PYTHON_INCDIR=-I$prefix/include
           PYTHON_LIBS="-L$prefix/lib/config -lpython -lutil -ldl"
index 511162cac90031d9e1ee84aa3095f2b96c97a046..829e3dc40d5cb899ddb62f976574ec419719d134 100755 (executable)
@@ -6903,6 +6903,9 @@ if test "${with_python+set}" = set; then
        if test -f /usr/include/python2.2/Python.h; then
           PYTHON_INCDIR=-I/usr/include/python2.2
           PYTHON_LIBS="-L/usr/lib/python2.2/config -lpython2.2 -lutil -ldl"
+       elif test -f /usr/include/python2.3/Python.h; then
+          PYTHON_INCDIR=-I/usr/include/python2.3
+          PYTHON_LIBS="-L/usr/lib/python2.3/config -lpython2.3 -lutil -ldl"
        elif test -f $prefix/include/Python.h; then
           PYTHON_INCDIR=-I$prefix/include
           PYTHON_LIBS="-L$prefix/lib/config -lpython -lutil -ldl"