~mixxxdevelopers/mixxx/features_library_scanner

« back to all changes in this revision

Viewing changes to mixxx/configure.in

  • Committer: tuehaste
  • Date: 2002-02-26 11:12:07 UTC
  • Revision ID: vcs-imports@canonical.com-20020226111207-5rly26cj9gdd19ba
Initial revision

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Original Author was Kalle@kde.org
 
2
# I lifted it in some mater. (Stephan Kulow)
 
3
# I used much code from Janos Farkas
 
4
 
 
5
dnl Process this file with autoconf to produce a configure script.
 
6
 
 
7
AC_INIT(acinclude.m4) dnl a source file from your sub dir
 
8
 
 
9
dnl This is so we can use kde-common
 
10
AC_CONFIG_AUX_DIR(admin)
 
11
 
 
12
AC_CANONICAL_SYSTEM 
 
13
 
 
14
dnl Automake doc recommends to do this only here. (Janos)
 
15
AM_INIT_AUTOMAKE(mixxx,0.1)
 
16
 
 
17
dnl KDE_SET_PREFIX
 
18
 
 
19
AC_PREFIX_DEFAULT(/usr/local)
 
20
if test "x$prefix" = "xNONE"; then
 
21
  prefix=$ac_default_prefix
 
22
  ac_configure_args="$ac_configure_args --prefix $prefix"
 
23
fi
 
24
 
 
25
dnl generate the config header
 
26
AM_CONFIG_HEADER(config.h) dnl at the distribution this done
 
27
 
 
28
dnl Checks for programs.
 
29
AC_CHECK_COMPILERS
 
30
AC_ENABLE_SHARED(yes)
 
31
AC_ENABLE_STATIC(no)
 
32
KDE_PROG_LIBTOOL
 
33
 
 
34
all_libraries="$all_libraries $USER_LDFLAGS"
 
35
all_includes="$all_includes $USER_INCLUDES"
 
36
AC_SUBST(all_includes)
 
37
AC_SUBST(all_libraries)
 
38
 
 
39
dnl for NLS support. Call them in this order!
 
40
dnl WITH_NLS is for the po files
 
41
AM_KDE_WITH_NLS
 
42
 
 
43
AC_PATH_QT
 
44
 
 
45
dnl Perform program name transformation
 
46
dnl AC_ARG_PROGRAM
 
47
 
 
48
 
 
49
dnl PACKAGE set before
 
50
 
 
51
KDE_CREATE_SUBDIRSLIST
 
52
 
 
53
dnl add here all your Makefiles. This are created by configure
 
54
AC_OUTPUT(Makefile mixxx/Makefile mixxx/docs/Makefile mixxx/docs/en/Makefile )