File: configure.in

package info (click to toggle)
modplugxmms 1.5a-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,484 kB
  • ctags: 2,420
  • sloc: cpp: 19,428; sh: 6,975; makefile: 123; ansic: 5
file content (38 lines) | stat: -rw-r--r-- 926 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
dnl Process this file with autoconf to produce a configure script.
AC_INIT(Makefile.am)

AM_CONFIG_HEADER(config.h)

AM_INIT_AUTOMAKE(modplugxmms, 1.5a)

dnl Checks for programs.
AC_DISABLE_STATIC
AM_DISABLE_STATIC
AC_PROG_CC
AC_PROG_CXX
AC_C_BIGENDIAN
AC_PROG_RANLIB
AM_PROG_LIBTOOL

CXXFLAGS="$CXXFLAGS -fno-exceptions -Wall -ffast-math -D_REENTRANT `glib-config --cflags`"
# CXXFLAGS="-fno-exceptions -g -Wall -ffast-math -D_REENTRANT `glib-config --cflags`"

case ${target_os} in
	*sun* | *solaris*)
		CXXFLAGS="$CXXFLAGS -fpermissive"
		;;
esac

dnl find install dir
AM_PATH_XMMS(1.0.0, , AC_MSG_ERROR([*** XMMS >= 1.0.0 not installed - please install first ***]))

plugindir=$XMMS_INPUT_PLUGIN_DIR
AC_SUBST(plugindir)

AC_OUTPUT(Makefile
          modplugxmms/Makefile
          modplugxmms/soundfile/Makefile
          modplugxmms/gui/Makefile
          modplugxmms/archive/Makefile
          glade/Makefile
         )