OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [libltdl/] [configure.ac] - Blame information for rev 760

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 760 jeremybenn
## Process this file with autoconf to create configure. -*- autoconf -*-
2
# Copyright 2001, 2006  Free Software Foundation, Inc.
3
#
4
# This program is free software; you can redistribute it and/or modify
5
# it under the terms of the GNU General Public License as published by
6
# the Free Software Foundation; either version 2 of the License, or
7
# (at your option) any later version.
8
#
9
# This program is distributed in the hope that it will be useful,
10
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
# GNU General Public License for more details.
13
#
14
# You should have received a copy of the GNU General Public License
15
# along with this program; if not, write to the Free Software
16
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17
# 02110-1301  USA
18
 
19
 
20
AC_PREREQ(2.64)
21
 
22
dnl Disable libtool 1.5 support for languages we don't use
23
define([AC_LIBTOOL_LANG_CXX_CONFIG], [:])dnl
24
define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
25
define([AC_LIBTOOL_LANG_GCJ_CONFIG], [:])dnl
26
 
27
## ------------------------ ##
28
## Autoconf initialisation. ##
29
## ------------------------ ##
30
AC_INIT([libltdl], [1.2], [bug-libtool@gnu.org])
31
AC_CONFIG_SRCDIR([ltdl.c])
32
 
33
## GCJ LOCAL: gcc tree uses maintainer mode.
34
AM_MAINTAINER_MODE
35
 
36
AM_ENABLE_MULTILIB(, ../..)
37
 
38
## ------------------------------- ##
39
## Libltdl specific configuration. ##
40
## ------------------------------- ##
41
 
42
AC_CONFIG_AUX_DIR([.])
43
 
44
if test -z "$enable_ltdl_install$enable_ltdl_convenience"; then
45
  if test -f ${srcdir}/ltmain.sh; then
46
    # if libltdl is libtoolized, it is assumed to be stand-alone and
47
    # installed unless the command line overrides it (tested above)
48
    enable_ltdl_install=yes
49
  else
50
    AC_MSG_WARN([*** The top-level configure must select either])
51
    AC_MSG_WARN([*** [A""C_LIBLTDL_INSTALLABLE] or [A""C_LIBLTDL_CONVENIENCE].])
52
    AC_MSG_ERROR([*** Maybe you want to --enable-ltdl-install?])
53
  fi
54
fi
55
 
56
 
57
## ------------------------ ##
58
## Automake Initialisation. ##
59
## ------------------------ ##
60
AM_INIT_AUTOMAKE(AC_PACKAGE_TARNAME, AC_PACKAGE_VERSION, -)
61
AM_CONFIG_HEADER([config.h:config-h.in])
62
 
63
 
64
## ------------------ ##
65
## C compiler checks. ##
66
## ------------------ ##
67
AC_PROG_CC
68
AC_C_CONST
69
AC_C_INLINE
70
 
71
 
72
## ----------------------- ##
73
## Libtool initialisation. ##
74
## ----------------------- ##
75
AC_LIBTOOL_WIN32_DLL
76
AC_PROG_LIBTOOL
77
AC_SUBST([LIBTOOL_DEPS])
78
 
79
AC_LIB_LTDL
80
 
81
 
82
## -------- ##
83
## Outputs. ##
84
## -------- ##
85
AC_CONFIG_FILES([Makefile])
86
AC_OUTPUT

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.