/[svn]/qsampler/trunk/configure.ac
ViewVC logotype

Diff of /qsampler/trunk/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1820 by capela, Thu Dec 25 17:07:22 2008 UTC revision 2093 by capela, Tue May 18 09:36:00 2010 UTC
# Line 1  Line 1 
1  # Process this file with autoconf to produce a configure script.  # Process this file with autoconf to produce a configure script.
2  AC_INIT(Qsampler, 0.2.1.23, rncbc@rncbc.org, qsampler)  AC_INIT(Qsampler, 0.2.2.23, rncbc@rncbc.org, qsampler)
3    
4  AC_CONFIG_SRCDIR(src/qsamplerMainForm.ui)  AC_CONFIG_SRCDIR(src/qsampler.cpp)
5  AC_CONFIG_HEADERS(config.h)  AC_CONFIG_HEADERS(src/config.h)
6  AC_CONFIG_FILES(Makefile qsampler.pro qsampler.spec qsampler.desktop)  AC_CONFIG_FILES(Makefile qsampler.spec src/src.pri src/qsampler.desktop)
7    
8  # Set default installation prefix.  # Set default installation prefix.
9  AC_PREFIX_DEFAULT(/usr/local)  AC_PREFIX_DEFAULT(/usr/local)
# Line 21  AC_ARG_ENABLE(debug, Line 21  AC_ARG_ENABLE(debug,
21    
22  if test "x$ac_debug" = "xyes"; then  if test "x$ac_debug" = "xyes"; then
23     AC_DEFINE(CONFIG_DEBUG, 1, [Define if debugging is enabled.])     AC_DEFINE(CONFIG_DEBUG, 1, [Define if debugging is enabled.])
24       ac_stacktrace="yes"
25     ac_debug="debug"     ac_debug="debug"
26  else  else
27       ac_stacktrace="no"
28     ac_debug="release"     ac_debug="release"
29  fi  fi
30  AC_SUBST(ac_debug)  AC_SUBST(ac_debug)
# Line 33  AC_ARG_ENABLE(libgig, Line 35  AC_ARG_ENABLE(libgig,
35    [ac_libgig="$enableval"],    [ac_libgig="$enableval"],
36    [ac_libgig="yes"])    [ac_libgig="yes"])
37    
38    # Enable debugger stack-trace option (assumes --enable-debug).
39    AC_ARG_ENABLE(stacktrace,
40      AC_HELP_STRING([--enable-stacktrace], [enable debugger stack-trace (default=no)]),
41      [ac_stacktrace="$enableval"])
42    
43    
44  # Standard installation base dirs.  # Standard installation base dirs.
45  ac_with_paths="/usr /usr/local"  ac_with_paths="/usr /usr/local"
46    
47  # Some a-la-debian alternatives...  # Some a-la-debian alternatives...
48  for X in /usr/lib /usr/share; do  for X in /usr/lib /usr/lib64 /usr/share; do
49    for Y in qt qt4; do    for Y in qt qt4; do
50      if test -d $X/$Y/bin; then      if test -d $X/$Y/bin; then
51        ac_with_paths="$ac_with_paths $X/$Y"        ac_with_paths="$ac_with_paths $X/$Y"
# Line 139  if test "x$ac_uic" = "xno"; then Line 147  if test "x$ac_uic" = "xno"; then
147  fi  fi
148  AC_SUBST(ac_uic)  AC_SUBST(ac_uic)
149    
150    # Check for Qt lupdate utility.
151    AC_PATH_PROG(ac_lupdate, lupdate, [no], $ac_path)
152    if test "x$ac_lupdate" = "xno"; then
153       AC_MSG_ERROR([lupdate $ac_errmsg])
154    fi
155    AC_SUBST(ac_lupdate)
156    
157    # Check for Qt lrelease utility.
158    AC_PATH_PROG(ac_lrelease, lrelease, [no], $ac_path)
159    if test "x$ac_release" = "xno"; then
160       AC_MSG_ERROR([lrelease $ac_errmsg])
161    fi
162    AC_SUBST(ac_lrelease)
163    
164  # Checks for libraries.  # Checks for libraries.
165  AC_CHECK_LIB(m, main)  AC_CHECK_LIB(m, main)
166  AC_CHECK_LIB(X11, main)  AC_CHECK_LIB(X11, main)
# Line 307  if test "x$ac_round" = "xyes"; then Line 329  if test "x$ac_round" = "xyes"; then
329     AC_DEFINE(CONFIG_ROUND, 1, [Define if round is available.])     AC_DEFINE(CONFIG_ROUND, 1, [Define if round is available.])
330  fi  fi
331    
332    # Check for debugging stack-trace.
333    if test "x$ac_stacktrace" = "xyes"; then
334       AC_DEFINE(CONFIG_STACKTRACE, 1, [Define if debugger stack-trace is enabled.])
335    fi
336    
337  AC_SUBST(ac_libs)  AC_SUBST(ac_libs)
338  AC_SUBST(ac_incpath)  AC_SUBST(ac_incpath)
339    
# Line 355  echo "  LSCP channel MIDI event support Line 382  echo "  LSCP channel MIDI event support
382  echo "  LSCP device MIDI event support . . . . . . . . . .: $ac_device_midi_event"  echo "  LSCP device MIDI event support . . . . . . . . . .: $ac_device_midi_event"
383  echo "  LSCP runtime max. voices / disk streams support  .: $ac_max_voices"  echo "  LSCP runtime max. voices / disk streams support  .: $ac_max_voices"
384  echo  echo
385    echo "  Debugger stack-trace (gdb) . . . . . . . . . . . .: $ac_stacktrace"
386    echo
387  echo "  Install prefix . . . . . . . . . . . . . . . . . .: $ac_prefix"  echo "  Install prefix . . . . . . . . . . . . . . . . . .: $ac_prefix"
388  echo  echo
389  echo "Now type 'make', followed by 'make install' as root."  echo "Now type 'make', followed by 'make install' as root."

Legend:
Removed from v.1820  
changed lines
  Added in v.2093

  ViewVC Help
Powered by ViewVC