~ubuntu-branches/ubuntu/gutsy/audacity/gutsy-backports

« back to all changes in this revision

Viewing changes to lib-src/FileDialog/configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): John Dong
  • Date: 2008-02-18 21:58:19 UTC
  • mfrom: (13.1.2 hardy)
  • Revision ID: james.westby@ubuntu.com-20080218215819-tmbcf1rx238r8gdv
Tags: 1.3.4-1.1ubuntu1~gutsy1
Automated backport upload; no source changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
#
4
4
 
5
5
AC_INIT(FileDialog, 1.0, audacity.sourceforge.net, FileDialog)
6
 
AC_CONFIG_FILES([Makefile])
 
6
AC_CONFIG_FILES([Makefile config.h])
7
7
AC_SUBST(EXTRADEPS)
8
8
AC_SUBST(EXTRAOBJS)
 
9
AC_SUBST(HAVE_GTK)
9
10
 
10
11
#
11
12
# Checks for programs.
85
86
 
86
87
   *)
87
88
      dnl Unix configuration
88
 
      AM_PATH_GTK_2_0(2.8.0,
 
89
      AM_PATH_GTK_2_0(2.4.0,
89
90
            have_gtk="yes",
90
91
            have_gtk="no")
91
92
      if [[ "$have_gtk" = "yes" ]]
93
94
         CPPFLAGS="$CPPFLAGS $GTK_CFLAGS"
94
95
         EXTRADEPS="gtk/FileDialogPrivate.h gtk/private.h"
95
96
         EXTRAOBJS="gtk/FileDialogPrivate.o"
 
97
         HAVE_GTK=1
96
98
      else
97
99
         EXTRADEPS="generic/FileDialogPrivate.h"
98
100
         EXTRAOBJS="generic/FileDialogPrivate.o"
 
101
         HAVE_GTK=0
99
102
      fi
100
103
   ;;
101
104
esac