~ubuntu-branches/ubuntu/quantal/hawtjni/quantal

« back to all changes in this revision

Viewing changes to maven-hawtjni-plugin/src/main/resources/project-template/configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): Miguel Landaeta
  • Date: 2010-08-05 19:40:25 UTC
  • Revision ID: james.westby@ubuntu.com-20100805194025-3004hn889accwu2i
Tags: upstream-1.0~+git0c502e20c4
ImportĀ upstreamĀ versionĀ 1.0~+git0c502e20c4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# ---------------------------------------------------------------------------
 
2
# Licensed to the Apache Software Foundation (ASF) under one or more
 
3
# contributor license agreements.  See the NOTICE file distributed with
 
4
# this work for additional information regarding copyright ownership.
 
5
# The ASF licenses this file to You under the Apache License, Version 2.0
 
6
# (the "License"); you may not use this file except in compliance with
 
7
# the License.  You may obtain a copy of the License at
 
8
 
9
# http://www.apache.org/licenses/LICENSE-2.0
 
10
 
11
# Unless required by applicable law or agreed to in writing, software
 
12
# distributed under the License is distributed on an "AS IS" BASIS,
 
13
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
14
# See the License for the specific language governing permissions and
 
15
# limitations under the License.
 
16
# ---------------------------------------------------------------------------
 
17
 
 
18
## --------------------------------
 
19
## Initialization macros.
 
20
## --------------------------------
 
21
AC_PREREQ([2.61])
 
22
AC_INIT([@PROJECT_NAME@], [@VERSION@])
 
23
AC_CONFIG_AUX_DIR([autotools])
 
24
AC_CONFIG_MACRO_DIR([m4])
 
25
AC_CONFIG_SRCDIR([@FIRST_SOURCE_FILE@])
 
26
AC_CONFIG_HEADERS([src/config.h])
 
27
AC_CANONICAL_HOST
 
28
AC_CANONICAL_SYSTEM
 
29
 
 
30
## -----------------------------------------------
 
31
## Application Checks
 
32
## -----------------------------------------------
 
33
AC_PROG_CC
 
34
AC_PROG_INSTALL
 
35
AC_PROG_LIBTOOL([disable-static])
 
36
 
 
37
## -----------------------------------------------
 
38
## API Checks
 
39
## -----------------------------------------------
 
40
WITH_JNI_JDK
 
41
 
 
42
CUSTOM_M4_SETUP
 
43
 
 
44
WITH_OSX_UNIVERSAL
 
45
 
 
46
CFLAGS="$CFLAGS $JNI_EXTRA_CFLAGS"
 
47
AC_SUBST(CFLAGS)
 
48
LDFLAGS="$LDFLAGS $JNI_EXTRA_LDFLAGS -release @VERSION@"
 
49
AC_SUBST(LDFLAGS)
 
50
 
 
51
## -----------------------------------------------------
 
52
## Generate the files
 
53
## -----------------------------------------------------
 
54
AM_INIT_AUTOMAKE([no-dependencies -Wall -Werror foreign])
 
55
AC_CONFIG_FILES([Makefile])
 
56
AC_OUTPUT
 
57
 
 
58
echo "
 
59
  ($PACKAGE_NAME) version $PACKAGE_VERSION
 
60
  Prefix.........: $prefix
 
61
  C Compiler.....: $CC $CFLAGS
 
62
  Linker.........: $LD $LDFLAGS $LIBS
 
63
"
 
 
b'\\ No newline at end of file'