source: git/resources/configure.in @ 5d18ce5

spielwiese
Last change on this file since 5d18ce5 was 5d18ce5, checked in by Martin Lee <martinlee84@…>, 13 years ago
renamed resource in resources
  • Property mode set to 100644
File size: 1.4 KB
Line 
1#                                               -*- Autoconf -*-
2# Process this file with autoconf to produce a configure script.
3
4AC_PREREQ([2.65])
5AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS])
6AC_CONFIG_SRCDIR([feFopen.h])
7AC_CONFIG_HEADERS([config.h])
8
9# Checks for programs.
10AC_PROG_CC
11AC_PROG_CXX
12AC_PROG_LN_S
13AC_PROG_INSTALL
14
15# Checks for libraries.
16
17# Checks for header files.
18AC_HEADER_STDC
19AC_CHECK_HEADERS([sys/param.h])
20
21# Checks for typedefs, structures, and compiler characteristics.
22AC_C_INLINE
23
24AC_MSG_RESULT($ac_cv_singuname)
25if test "$ac_cv_singuname" = unknown; then
26  AC_MSG_WARN(Unknown architecture: Check singuname.sh)
27  ac_cv_singuname="unknown"
28fi
29AC_DEFINE_UNQUOTED(S_UNAME, "$ac_cv_singuname")
30SINGUNAME=$ac_cv_singuname
31AC_SUBST(SINGUNAME)
32
33dnl lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
34dnl path stuff
35dnl
36
37project=singular
38component=resources
39
40AC_SUBST(project)
41
42dnl set exec_prefix, libdir, includedir to some sensible values
43dnl if they are not yet already set
44
45# expand prefix
46test "x$prefix" = xNONE && prefix=$ac_default_prefix
47
48# expand exec_prefixad
49if test "x$exec_prefix" = xNONE; then
50 exec_prefix=${prefix}
51fi
52
53# expand libdir
54test "x$libdir" = 'x${exec_prefix}/lib'&& libdir="${exec_prefix}/lib/${project}/${component}"
55
56# expand includedir
57test "x$includedir" = 'x${prefix}/include' && includedir="${exec_prefix}/include/${project}/${component}"
58
59AC_CONFIG_FILES([Makefile])
60AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.