Ignore:
Timestamp:
Aug 28, 2015, 12:09:15 PM (9 years ago)
Author:
djay
Message:

Fix FASTCGI location using the --with-fastcgi option.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-kernel/configure.ac

    r675 r740  
    105105
    106106# Extract the linker and include flags
    107 FCGI_LDFLAGS="-L$FCGIPATH/lib"
     107FCGI_LDFLAGS="-L$FCGIPATH/lib -lfcgi"
    108108FCGI_CPPFLAGS="-I$FCGIPATH/include"
    109109
     
    409409        LIBS_SAVE="$LIBS"
    410410        LIBS="$PYTHON_LDFLAGS"
    411         PY_LIB=`$PYTHONCONFIG --libs | sed -e 's/^.*\(python2\..\)$/\1/'`
     411        PY_LIB=`$PYTHONCONFIG --libs | sed \
     412                              -e 's/.*\(python[[0-9]]\.[[0-9]]\).*/\1/'`
    412413        AC_CHECK_LIB([$PY_LIB], [PyObject_CallObject], [], [AC_MSG_ERROR([could not find libpython])], [])
    413         AC_SUBST([PYTHON_CPPFLAGS])
    414         AC_SUBST([PYTHON_LDFLAGS])
    415414        LIBS="$LIBS_SAVE"
    416415fi
    417416
     417AC_SUBST([PYTHON_CPPFLAGS])
     418AC_SUBST([PYTHON_LDFLAGS])
    418419AC_SUBST([PYTHON_ENABLED])
    419420AC_SUBST([PYTHON_FILE])
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png