-
Notifications
You must be signed in to change notification settings - Fork 59
/
configure.ac
40 lines (30 loc) · 1.07 KB
/
configure.ac
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
dnl Process this file with autoconf to produce a configure script
AC_REVISION($Revision: 19893 $)
dnl Initialisation: package name and version number
AC_INIT([autoconf],[starlink-2.69],[starlink@jiscmail.ac.uk])
dnl Require autoconf-2.69 at least
AC_PREREQ([2.69])
dnl Require Starlink automake
AM_INIT_AUTOMAKE(1.8.2-starlink)
dnl Sanity-check: name a file in the source directory -- if this
dnl isn't found then configure will complain
AC_CONFIG_SRCDIR([autoconf/configure.ac])
dnl Include defaults for Starlink configurations
STAR_DEFAULTS
dnl We may want to invoke make recursively
AC_PROG_MAKE_SET
dnl To configure autoconf, run ./configure in the subdirectory.
# Look for --disable-shared and pass it on.
(
cd autoconf; \
cmd="./configure --prefix=$prefix \
--srcdir=. \
--cache-file=../config.cache"; \
echo $cmd; \
$cmd; \
)
STAR_SPECIAL_INSTALL_COMMAND([
( cd autoconf; $(MAKE) INSTALL_ROOT=$$DESTDIR DESTDIR=$$DESTDIR install );
])
AC_CONFIG_FILES([Makefile component.xml])
AC_OUTPUT