]> icculus.org git repositories - duncan/yast2-qt4.git/blob - configure.in.in
restart qt4 porting
[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-QT@
11
12 ## special stuff
13 AC_MIN_QT_VERSION(301,3.01)
14
15 AC_MSG_CHECKING([X font directory])
16 #ugh, /etc/YaST2/XVersion is in yast2.rpm which is only built after us
17 #so let's hardcode, like in the spec file anyway
18 case "$x_includes" in
19      *X11R6*) Xfontsdir=$prefix/X11R6/lib/X11/fonts ;;
20      *) Xfontsdir=$prefix/share/fonts ;;
21 esac
22 AC_MSG_RESULT([$Xfontsdir])
23 AC_SUBST(Xfontsdir)
24 PKG_CHECK_MODULES([ZYPP], [libzypp])
25
26 ## and generate the output
27 @YAST2-OUTPUT@