Switch to unified view

a/configure.ac b/configure.ac
...
...
19
AC_DEFINE([_LARGE_FILE_SOURCE], [], [Large files support])
19
AC_DEFINE([_LARGE_FILE_SOURCE], [], [Large files support])
20
AC_DEFINE([_FILE_OFFSET_BITS], [64], [File Offset size])
20
AC_DEFINE([_FILE_OFFSET_BITS], [64], [File Offset size])
21
21
22
#### Libraries
22
#### Libraries
23
AC_CHECK_LIB([pthread], [pthread_create], [], [])
23
AC_CHECK_LIB([pthread], [pthread_create], [], [])
24
25
AC_ARG_ENABLE(confgui, AC_HELP_STRING([--enable-confgui],
26
              [Enable QT-based configuration editor GUI.]),
27
              enableQT=$enableval, enableQT="yes")
28
AM_CONDITIONAL(MAKECONFGUI, [test X$enableQT = Xyes])
29
if test X$enableQT = Xyes ; then
30
  if test X$QMAKE = X ; then
31
     QMAKE=qmake
32
  fi
33
  case $QMAKE in
34
    */*) QMAKEPATH=$QMAKE;;
35
    *) AC_PATH_PROG([QMAKEPATH], $QMAKE, NOTFOUND);;
36
  esac
37
38
  if test X$QMAKEPATH = XNOTFOUND ; then 
39
     AC_MSG_ERROR([Cannot find the qmake program. Maybe you need to install
40
  qt development files and tools and/or set the QTDIR environment variable?])
41
  fi
42
  QMAKE=$QMAKEPATH
43
  AC_SUBST(QMAKE)
44
fi
24
45
25
# The 3 following checks for libthreadutil libixml and libupnp are normally
46
# The 3 following checks for libthreadutil libixml and libupnp are normally
26
# unnecessary and even problematic. upmpdcli does not use them directly,
47
# unnecessary and even problematic. upmpdcli does not use them directly,
27
# and they should be used automatically because libupnpp is linked with them.
48
# and they should be used automatically because libupnpp is linked with them.
28
# Still you may need them to include them on some systems where the
49
# Still you may need them to include them on some systems where the