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.24, rncbc@rncbc.org, qsampler) |
AC_INIT(Qsampler, 0.2.2.7, rncbc@rncbc.org, qsampler) |
3 |
|
|
4 |
AC_CONFIG_SRCDIR(src/qsamplerMainForm.ui) |
AC_CONFIG_SRCDIR(src/qsamplerMainForm.ui) |
5 |
AC_CONFIG_HEADERS(config.h) |
AC_CONFIG_HEADERS(config.h) |
37 |
ac_with_paths="/usr /usr/local" |
ac_with_paths="/usr /usr/local" |
38 |
|
|
39 |
# Some a-la-debian alternatives... |
# Some a-la-debian alternatives... |
40 |
for X in /usr/lib /usr/share; do |
for X in /usr/lib /usr/lib64 /usr/share; do |
41 |
for Y in qt qt4; do |
for Y in qt qt4; do |
42 |
if test -d $X/$Y/bin; then |
if test -d $X/$Y/bin; then |
43 |
ac_with_paths="$ac_with_paths $X/$Y" |
ac_with_paths="$ac_with_paths $X/$Y" |
139 |
fi |
fi |
140 |
AC_SUBST(ac_uic) |
AC_SUBST(ac_uic) |
141 |
|
|
142 |
|
# Check for Qt lupdate utility. |
143 |
|
AC_PATH_PROG(ac_lupdate, lupdate, [no], $ac_path) |
144 |
|
if test "x$ac_lupdate" = "xno"; then |
145 |
|
AC_MSG_ERROR([lupdate $ac_errmsg]) |
146 |
|
fi |
147 |
|
AC_SUBST(ac_lupdate) |
148 |
|
|
149 |
|
# Check for Qt lrelease utility. |
150 |
|
AC_PATH_PROG(ac_lrelease, lrelease, [no], $ac_path) |
151 |
|
if test "x$ac_release" = "xno"; then |
152 |
|
AC_MSG_ERROR([lrelease $ac_errmsg]) |
153 |
|
fi |
154 |
|
AC_SUBST(ac_lrelease) |
155 |
|
|
156 |
# Checks for libraries. |
# Checks for libraries. |
157 |
AC_CHECK_LIB(m, main) |
AC_CHECK_LIB(m, main) |
158 |
AC_CHECK_LIB(X11, main) |
AC_CHECK_LIB(X11, main) |