~ubuntu-branches/debian/jessie/italc/jessie

« back to all changes in this revision

Viewing changes to acinclude.m4

  • Committer: Bazaar Package Importer
  • Author(s): Patrick Winnertz
  • Date: 2011-02-11 14:50:22 UTC
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20110211145022-sn173siax6lywjus
Tags: upstream-1.0.13
ImportĀ upstreamĀ versionĀ 1.0.13

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
if test -z "$QTHOSTDIR" ; then
45
45
        case "${prefix}" in
46
46
                /opt/mingw*)
47
 
                        QTHOSTDIR=/opt/mingw/
 
47
                        QTHOSTDIR=${prefix}
48
48
                        ;;
49
49
                *)
50
50
                        if test -n "$QTDIR" ; then
60
60
# Check that moc is in path
61
61
AC_CHECK_PROG(MOC, moc-qt4, $QTHOSTDIR/bin/moc-qt4,,$QTHOSTDIR/bin/)
62
62
if test x$MOC = x ; then
63
 
        AC_CHECK_PROG(MOC, moc$EXEEXT, $QTHOSTDIR/bin/moc$EXEEXT,,$QTHOSTDIR/bin/)
 
63
        AC_CHECK_PROG(MOC, moc, $QTHOSTDIR/bin/moc,,$QTHOSTDIR/bin/)
64
64
        if test x$MOC = x ; then
65
65
                AC_MSG_ERROR([*** not found! Make sure you have Qt-devel-tools installed!])
66
66
        fi
69
69
# Check that uic is in path
70
70
AC_CHECK_PROG(UIC, uic-qt4, $QTHOSTDIR/bin/uic-qt4,,$QTHOSTDIR/bin/)
71
71
if test x$UIC = x ; then
72
 
        AC_CHECK_PROG(UIC, uic$EXEEXT, $QTHOSTDIR/bin/uic$EXEEXT,,$QTHOSTDIR/bin/)
 
72
        AC_CHECK_PROG(UIC, uic, $QTHOSTDIR/bin/uic,,$QTHOSTDIR/bin/)
73
73
        if test x$UIC = x ; then
74
74
                AC_MSG_ERROR([*** not found! Make sure you have Qt-devel-tools installed!])
75
75
        fi
78
78
# Check that rcc is in path
79
79
AC_CHECK_PROG(RCC, rcc-qt4, $QTHOSTDIR/bin/rcc-qt4,,$QTHOSTDIR/bin/)
80
80
if test x$RCC = x ; then
81
 
        AC_CHECK_PROG(RCC, rcc$EXEEXT, $QTHOSTDIR/bin/rcc$EXEEXT,,$QTHOSTDIR/bin/)
 
81
        AC_CHECK_PROG(RCC, rcc, $QTHOSTDIR/bin/rcc,,$QTHOSTDIR/bin/)
82
82
        if test x$RCC = x ; then
83
83
                AC_MSG_ERROR([*** not found! Make sure you have Qt-devel-tools installed!])
84
84
        fi
87
87
# lupdate is the Qt translation-update utility.
88
88
AC_CHECK_PROG(LUPDATE, lupdate-qt4, $QTHOSTDIR/bin/lupdate-qt4,,$QTHOSTDIR/bin/)
89
89
if test x$LUPDATE = x ; then
90
 
        AC_CHECK_PROG(LUPDATE, lupdate$EXEEXT, $QTHOSTDIR/bin/lupdate$EXEEXT,,$QTHOSTDIR/bin/)
 
90
        AC_CHECK_PROG(LUPDATE, lupdate, $QTHOSTDIR/bin/lupdate,,$QTHOSTDIR/bin/)
91
91
        if test x$LUPDATE = x ; then
92
92
                AC_MSG_WARN([*** not found! It's not needed just for compiling but should be part of a proper Qt-devel-tools-installation!])
93
93
        fi
96
96
# lrelease is the Qt translation-release utility.
97
97
AC_CHECK_PROG(LRELEASE, lrelease-qt4, $QTHOSTDIR/bin/lrelease-qt4,,$QTHOSTDIR/bin/)
98
98
if test x$LRELEASE = x ; then
99
 
        AC_CHECK_PROG(LRELEASE, lrelease$EXEEXT, $QTHOSTDIR/bin/lrelease$EXEEXT,,$QTHOSTDIR/bin/)
 
99
        AC_CHECK_PROG(LRELEASE, lrelease, $QTHOSTDIR/bin/lrelease,,$QTHOSTDIR/bin/)
100
100
        if test x$LRELEASE = x ; then
101
101
                AC_MSG_WARN([*** not found! It's not needed just for compiling but should be part of a proper Qt-devel-tools-installation!])
102
102
        fi
121
121
        QT_LIB="-L$QTDIR/bin -lQtCore4 -lQtXml4 -lQtNetwork4 -lws2_32"
122
122
        QT_LIB_GUI="-lQtGui4"
123
123
        # Check that windres is in path
124
 
        AC_PATH_PROGS([WINDRES],[i586-mingw32-windres windres],,[${prefix}/bin:$PATH])
 
124
        AC_PATH_PROGS([WINDRES],[${host}-windres windres],,[${prefix}/bin:$PATH])
125
125
        if test x$WINDRES = x ; then
126
126
                AC_MSG_ERROR([*** not found! Make sure you have mingw32 binutils installed!])
127
127
        fi