~ubuntu-branches/ubuntu/wily/tora/wily-proposed

« back to all changes in this revision

Viewing changes to config/m4/qtkde.m4

  • Committer: Bazaar Package Importer
  • Author(s): Michael Meskes
  • Date: 2009-09-11 12:37:52 UTC
  • mfrom: (1.2.8 upstream) (3.3.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090911123752-qhu322xlclo2hpqu
Tags: 2.1.0-1
* New upstream version, the rebuild closes: #540046.
* Bumped Standards-Version to 3.8.3, no changes needed.
* New project homepage.
* Removed no longer needed 01_missing_includes.dpatch.
* Removed no longer used dh_desktop call.
* Added README.source file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
367
367
  qt_compiled=yes,
368
368
  qt_compiled=no)
369
369
 
 
370
  if test "$qt_compiled" = no; then
 
371
    have_qt=no
 
372
    AC_MSG_ERROR([Qt not found.
 
373
      Please check your installation! For more details about this problem,
 
374
      look at the end of config.log.])
 
375
  else
 
376
    have_qt=yes
 
377
  fi
 
378
 
 
379
  AC_COMPILE_IFELSE([
 
380
#include "confdefs.h"
 
381
#include <Qt/qglobal.h>
 
382
 
 
383
#if QT_VERSION < 0x040200
 
384
#error Your Qt version is too old.
 
385
#endif
 
386
  ],
 
387
  qt_compiled=yes,
 
388
  qt_compiled=no)
 
389
 
 
390
  if test "$qt_compiled" = no; then
 
391
    have_qt=no
 
392
    AC_MSG_ERROR([Your Qt version is too old. Please upgrade to a newer version.])
 
393
  else
 
394
    have_qt=yes
 
395
  fi
 
396
 
370
397
  CXXFLAGS="$ac_cxxflags_safe"
371
398
  LDFLAGS="$ac_ldflags_safe"
372
399
  LIBS="$ac_libs_safe"
373
 
  
374
 
  if test "$qt_compiled" = no; then
375
 
    have_qt=no
376
 
    AC_MSG_ERROR([Qt not found.
377
 
      Please check your installation! For more details about this problem,
378
 
      look at the end of config.log.])
379
 
  else
380
 
    have_qt=yes
381
 
  fi
382
400
  ])
383
401
  
384
402
  eval "$ac_cv_have_qt"