~ubuntu-branches/ubuntu/raring/muse/raring-proposed

« back to all changes in this revision

Viewing changes to m4/qt.m4

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Kobras
  • Date: 2004-02-07 15:18:22 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040207151822-es27xxkzbcxkebjm
Tags: 0.6.3-1
* New upstream version.
* Added patches:
  + [10_alsa_init_fix] New, from upstream CVS.
    Initialize direction variable when setting Alsa parameters.
  + [10_canvas_translation_fix] New, from upstream CVS.
    Do not translate tooltips twice in canvas popup.
  + [10_checkbox_fix] New, from upstream CVS.
    Use proper set/test methods on metronome checkboxes.
  + [10_html_doc_cleanup] New.
    Fix links and HTML errors in documentation.
  + [20_allow_system_timer] New.
    The new upstream version fails by default if the real-time clock
    could not be accessed (usually the case when not running suid-root).
    This patch reverts the old behaviour of falling back to the more
    inaccurate system timer.
* Updated patches:
  + [11_PIC_fixes_fixup] Rediffed.
* Removed patches:
  + [20_no_atomic_asm] Merged upstream.
* debian/compat: Splice out debhelper compatibility level from rules file.
* debian/control: Build-depend on latest jack release by default.
  Closes: #228788
* debian/control: Bump standards version.
* debian/control: Use auto-generated debconf dependency via misc:Depends.
* debian/control: Minor tweaks to the long description.
* debian/control: Tighten fluidsynth build dependency to sane version.
* debian/muse.doc-base: New. Register HTML documentation with doc-base.
* debian/templates: Tiny rewording, and typo fix.
* debian/templates, debian/po/*: Switch to po-debconf for translations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
    AC_MSG_CHECKING([for QT environment variable QTDIR])
19
19
    if test -z "$QTDIR"; then
20
20
      AC_MSG_RESULT(no)
 
21
      AC_MSG_WARN([
 
22
 
 
23
    ***************** WARNING *****************
 
24
 
 
25
YOU HAVE NOT SET YOUR 'QTDIR' ENVIRONMENT VARIABLE!!!
 
26
 
 
27
This is the source of most people's problems when
 
28
configuring muse.  If the configuration fails to find
 
29
qt, try setting your QTDIR environment variable to
 
30
the directory where qt is installed.
 
31
 
 
32
    *******************************************
 
33
 
 
34
])
 
35
      echo -ne "\a"
 
36
      echo -ne "\a"
 
37
      echo -ne "\a"
 
38
      sleep 7
21
39
    else
22
40
      AC_MSG_RESULT(yes)
23
41
      qt_includes="$QTDIR/include"
92
110
    saved_LIBS="$LIBS"
93
111
    CPPFLAGS="$saved_CPPFLAGS -I$qt_includes"
94
112
    if test -n "$qt_libraries"; then
95
 
      LIBS="$saved_LIBS -L$qt_libraries -lqt-mt"
 
113
      LIBS="$saved_LIBS -L$qt_libraries -lqt-mt -lqui"
 
114
      QT_LIBS="-L$qt_libraries -lqt-mt -lqui"
96
115
    else
97
 
      LIBS="$saved_LIBS -lqt-mt -lm $X11_LIBS"
 
116
      LIBS="$saved_LIBS -lqt-mt -lqui -lm $X11_LIBS"
 
117
      QT_LIBS="-lqt-mt -lqui"
98
118
    fi
99
119
    AC_MSG_CHECKING([for QT includes ($qt_includes)])
100
120
    AC_CACHE_VAL(qt_includes_found,
122
142
      CXXFLAGS="$QT_CFLAGS $LIBS"
123
143
      LIBS="$QT_LIBS $LIBS"
124
144
 
125
 
      
 
145
 
126
146
      if test "$muse_qttest" = "yes"; then
127
147
          AC_TRY_RUN([
128
148
              #include <qapplication.h>
149
169
    ])
150
170
 
151
171
    AC_MSG_CHECKING([for QT moc ($MOC)])
152
 
    output=`eval "$MOC --help 2>&1 | sed -e '1q' | grep Qt"`
 
172
    output=`eval "$MOC --help 2>&1 | grep Qt"`
153
173
    if test -z "$output"; then
154
174
      AC_MSG_RESULT(no)
155
175
      qt_error="yes"
158
178
    fi
159
179
 
160
180
    AC_MSG_CHECKING([for QT uic ($UIC)])
161
 
    output=`eval "$UIC --help 2>&1 | sed -e '1q' | grep Qt"`
 
181
    output=`eval "$UIC --help 2>&1 | grep Qt"`
162
182
    if test -z "$output"; then
163
183
      AC_MSG_RESULT(no)
164
184
      qt_error="yes"