]> icculus.org git repositories - duncan/yast2-qt4.git/blob - configure.in.in
make it compile after the merge
[duncan/yast2-qt4.git] / configure.in.in
1 ## general configure.in.in
2
3 ## initialize
4 @YAST2-INIT-COMMON@
5 @YAST2-INIT-PROGRAM@
6
7 ## some common checks
8 @YAST2-CHECKS-COMMON@
9 @YAST2-CHECKS-PROGRAM@
10 @YAST2-CHECKS-QT4@
11
12 ## special stuff
13 AC_MIN_QT_VERSION(0x040201,4.2.1)
14 AC_QTDIRS
15
16 AC_MSG_CHECKING([X font directory])
17 # /etc/YaST2/XVersion is in yast2.rpm which is only built after us
18 # so let's hardcode like in the spec file anyway
19 case "$x_includes" in
20      *X11R6*) Xfontsdir=$prefix/X11R6/lib/X11/fonts ;;
21      *) Xfontsdir=$prefix/share/fonts ;;
22 esac
23 AC_MSG_RESULT([$Xfontsdir])
24 AC_SUBST(Xfontsdir)
25 PKG_CHECK_MODULES([ZYPP], [libzypp])
26
27 ## and generate the output
28 @YAST2-OUTPUT@