Changeset 611


Ignore:
Timestamp:
Mar 12, 2015, 3:45:45 PM (7 years ago)
Author:
djay
Message:

Small fix for Java configuration.

File:
1 edited

Legend:

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

    r559 r611  
    615615                if test -d "$JDKHOME/jre/lib/i386";
    616616                then
    617                         JAVA_LDFLAGS="-L$JDKHOME/jre/lib/i386/client/ -ljvm -lpthread"
     617                        JAVA_LDFLAGS="-L$JDKHOME/jre/lib/i386/server/ -ljvm -lpthread"
    618618                        JAVA_CPPFLAGS="-I$JDKHOME/include -I$JDKHOME/include/linux"
    619619                else
    620                         JAVA_LDFLAGS="-L$JDKHOME/jre/lib/amd64/client/ -ljvm -lpthread"
     620                        JAVA_LDFLAGS="-L$JDKHOME/jre/lib/amd64/server/ -ljvm -lpthread"
    621621                        JAVA_CPPFLAGS="-I$JDKHOME/include -I$JDKHOME/include/linux"
    622622                fi
     
    627627        CPPFLAGS="$JAVA_CPPFLAGS"
    628628        AC_CHECK_HEADERS([jni.h],
    629                          [], [AC_MSG_ERROR([could not find headers include related to libjava])])
     629                         [], [AC_MSG_ERROR([could not find jni.h file])])
    630630
    631631        # Ensure we can link against libjava
     
    634634        if test "x$JDKHOME" != "xmacos";
    635635        then
    636                 AC_CHECK_LIB([jvm], [JNI_CreateJavaVM], [], [AC_MSG_ERROR([could not find libjava])], [])
     636                AC_CHECK_LIB([jvm], [JNI_CreateJavaVM], [], [AC_MSG_ERROR([could not find libjvm])], [])
    637637        fi
    638638
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