1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
|
dnl Process this file with autoconf to produce a configure script.
dnl
dnl This file is part of Java-GNOME.
dnl
dnl Java-GNOME is free software; you can redistribute it and/or modify it
dnl under the terms of the GNU General Public License as published by
dnl the Free Software Foundation; either version 2, or (at your option)
dnl any later version.
dnl
dnl Java-GNOME is distributed in the hope that it will be useful, but
dnl WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
dnl GNU General Public License for more details.
dnl
dnl You should have received a copy of the GNU General Public License
dnl along with Jade; see the file COPYING. If not, write to
dnl the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
AC_INIT(src/jni/org_gnu_gnomevte_Terminal.c)
AC_CONFIG_AUX_DIR(.)
AM_INIT_AUTOMAKE(libvte-java, 0.12.3)
AM_PROG_GCJ
AC_DISABLE_STATIC
AC_PROG_LIBTOOL
apiversion="0.12"
INSTALLED_CLASSPATH=\${jardir}/vte${apiversion}-${VERSION}.jar
INSTALLED_JNI_DIR=\${prefix}/lib/
INSTALLED_MACRO_DIR=\${prefix}/share/libvte-java/macros/
AC_SUBST(INSTALLED_CLASSPATH)
AC_SUBST(INSTALLED_JNI_DIR)
AC_SUBST(INSTALLED_MACRO_DIR)
AC_SUBST(apiversion)
BUILDDIR=`pwd`
INSTALLED_CLASSPATH_BUILDPLACE=$BUILDDIR/lib/vte${apiversion}-${VERSION}.jar
INSTALLED_JNI_DIR_BUILDPLACE=$BUILDDIR/lib/
INSTALLED_MACRO_DIR_BUILDPLACE=$BUILDDIR/macros/
AC_SUBST(INSTALLED_CLASSPATH_BUILDPLACE)
AC_SUBST(INSTALLED_JNI_DIR_BUILDPLACE)
AC_SUBST(INSTALLED_MACRO_DIR_BUILDPLACE)
AM_PROG_CC_C_O
JG_LIB
JG_COMMON
JG_GTK_JAVA(2.10)
PKG_CHECK_MODULES(VTE, vte >= 0.12.1)
AC_SUBST(VTE_CFLAGS)
AC_SUBST(VTE_LIBS)
AC_CHECK_PROGS([JAVAH], ["gcjh -jni" "javah"], [gcjh -jni])
AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([vte-java.pc])
AC_CONFIG_FILES([doc/examples/runExample.sh], [chmod +x doc/examples/runExample.sh])
AC_CONFIG_FILES([src/java/org/gnu/gnomevte/Config.java])
AC_OUTPUT
|