Ignore:
Timestamp:
2005-11-17T15:30:33+13:00 (18 years ago)
Author:
kjdon
Message:

removed java_home/include/linux from include path in makefile, made the configure script include this in JNIINC for linux, and use JAVA_HOME/include/solaris for solaris machines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/src/packages/mg/configure

    r10887 r10917  
    60576057# we need to set an extended JNI path for Mac OS/Darwin, as jni.h is on
    60586058# a non-standard Path
    6059 echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5
    6060 echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6
     6059# is there a better way to do this??
     6060echo "$as_me:$LINENO: checking for OS to set JNI options" >&5
     6061echo $ECHO_N "checking for OS to set JNI options... $ECHO_C" >&6
     6062# set defaults
     6063JNIINC=""
     6064JNISUFFIX="so"
     6065JNIFLAGS="-shared"
     6066
    60616067if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then
    6062   echo "$as_me:$LINENO: result: yes" >&5
    6063 echo "${ECHO_T}yes" >&6
     6068  echo "$as_me:$LINENO: result: Darwin" >&5
     6069echo "${ECHO_T}Darwin" >&6
    60646070  JNIINC="-I/System/Library/Frameworks/JavaVM.framework/Headers/ "
    60656071  JNISUFFIX="jnilib"
    60666072  JNIFLAGS="-dynamiclib -fno-common -single_module -framework JavaVM"
    6067 else
    6068   echo "$as_me:$LINENO: result: no" >&5
    6069 echo "${ECHO_T}no" >&6
    6070   JNIINC=""
    6071   JNISUFFIX="so"
    6072   JNIFLAGS="-shared"
    6073 fi
     6073fi
     6074if test "`(uname -s) 2> /dev/null`" = 'SunOS'; then
     6075  echo "$as_me:$LINENO: result: Solaris" >&5
     6076echo "${ECHO_T}Solaris" >&6
     6077  JNIINC="-I\$(JAVA_HOME)/include/solaris "
     6078fi
     6079if test "`(uname -s) 2> /dev/null`" = 'Linux'; then
     6080  echo "$as_me:$LINENO: result: Linux" >&5
     6081echo "${ECHO_T}Linux" >&6
     6082  JNIINC="-I\$(JAVA_HOME)/include/linux "
     6083fi
     6084
    60746085
    60756086
Note: See TracChangeset for help on using the changeset viewer.