-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfigure.in
68 lines (51 loc) · 1.5 KB
/
configure.in
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
65
66
67
dnl Process this file with autoconf to produce a configure script.
dnl $Id$
AC_INIT(ndl-lib/ndllib.h)
AM_CONFIG_HEADER(config.h)
SUBDIRS="ndl-lib ndl-check"
AC_SUBST(SUBDIRS)
dnl General settings for ndl-tools
dnl After changeing the version number, run autoconf!
dnl
PACKAGE="ndl-tools"
VERSION="0.0.1"
COPYRIGHT="Copyright (C) 2007 Michiel Broek, All Rights Reserved"
AC_SUBST(PACKAGE)
AC_SUBST(VERSION)
AC_SUBST(COPYRIGHT)
AC_PREFIX_DEFAULT(/usr/local)
AC_DEFINE_UNQUOTED(VERSION, "$VERSION")
AC_DEFINE_UNQUOTED(COPYRIGHT, "$COPYRIGHT")
TARGET="$target"
dnl Checks for programs.
AC_PROG_CC
AC_CHECK_PROG(INSTALL, ginstall, ginstall)
AC_CHECK_PROG(INSTALL, install, install)
AC_CHECK_PROG(MAKE, gmake, gmake)
AC_CHECK_PROG(MAKE, make, make)
AC_PROG_MAKE_SET
AC_PROG_RANLIB
AC_CHECK_PROG(TAR, tar, tar)
CFLAGS="-O2 -fno-strict-aliasing -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -D_REENTRANT"
dnl Checks for header files.
AC_HEADER_STDC
AC_OUTPUT(
Makefile.global
INSTALL
FILE_ID.DIZ
)
#=================================================================================
AC_MSG_RESULT([
-=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=-
Configuration summary :
Version : ..................... ${VERSION}
])
if test x$ac_cv_c_compiler_gnu = xyes ; then
echo -e " Tools :\n"
echo " Compiler is GCC : ............. ${ac_cv_c_compiler_gnu}"
fi
AC_MSG_RESULT([
Installation directories :
Main directory : ........... ${prefix}
Now type 'make' and as root 'make install'
])