File: configure.in

package info (click to toggle)
coriander 1.0.1-3.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,376 kB
  • ctags: 943
  • sloc: ansic: 10,305; sh: 3,030; makefile: 131
file content (61 lines) | stat: -rw-r--r-- 1,368 bytes parent folder | download
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
dnl Process this file with autoconf to produce a configure script.

AC_INIT(configure.in)
AM_INIT_AUTOMAKE(coriander, 1.0.1)
AM_CONFIG_HEADER(config.h)


dnl Pick up the Gnome macros.
AM_ACLOCAL_INCLUDE(macros)

GNOME_INIT
AC_ISC_POSIX
AC_PROG_CC
AC_PROG_CXX
AM_PROG_CC_STDC
AC_HEADER_STDC

GNOME_COMPILE_WARNINGS
GNOME_X_CHECKS

dnl Add the languages which your application supports here.
dnl ALL_LINGUAS=""
dnl AM_GNU_GETTEXT

dnl Set PACKAGE_LOCALE_DIR in config.h.
if test "x${prefix}" = "xNONE"; then
  AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "${ac_default_prefix}/${DATADIRNAME}/locale", [locales dir])
else
  AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "${prefix}/${DATADIRNAME}/locale", [locales dir])
fi

dnl Subst PACKAGE_PIXMAPS_DIR.
if test "x${prefix}" = "xNONE"; then
  PACKAGE_PIXMAPS_DIR="`gnome-config --datadir`/pixmaps/${PACKAGE}"
else
  PACKAGE_PIXMAPS_DIR="${prefix}/share/pixmaps/${PACKAGE}"
fi
AC_SUBST(PACKAGE_PIXMAPS_DIR)

# CUSTOM CHECKS    ###########################################################
AC_CHECK_LFS
AC_CHECK_GDK_PIXBUF
AC_CHECK_XV
AC_CHECK_MMX
AC_CHECK_SSE
AC_CHECK_SSE2
AC_CHECK_LIBRAW
AC_CHECK_LIBRAW_VERSION
AC_CHECK_LIBDC
AC_CHECK_LIBDC_VERSION_COMPILE
AC_CHECK_LIBDC_VERSION_FUNCTION
AC_CHECK_FTPLIB
AC_CHECK_SDLLIB

dnl temporarily removed intl/Makefile and po/Makefile.in
AC_OUTPUT([
Makefile
macros/Makefile
src/Makefile
])