mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2026-03-10 05:33:45 -04:00
Support both GTK+1.2 and GTK+2.x
Support both GTK+ 1.2 and GTK+ 2.x in single configure scripts. GTK+ 2.x is used unless --with-gtk2=no is given. If you have no gtk1 or gtk2 devel packages, use configure.in-gtk1 or -gtk2 and do autoreconf.
This commit is contained in:
parent
3cda29dba9
commit
5341e4ece0
12 changed files with 114 additions and 56 deletions
14
echomixer/configure.in-gtk1
Normal file
14
echomixer/configure.in-gtk1
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
AC_INIT(echomixer.c)
|
||||
AM_INIT_AUTOMAKE(echomixer, 1.0.5)
|
||||
AC_PROG_CC
|
||||
AC_PROG_INSTALL
|
||||
AC_HEADER_STDC
|
||||
|
||||
AM_PATH_GTK(1.2.0)
|
||||
AM_PATH_ALSA(1.0.0)
|
||||
ECHOMIXER_CFLAGS="$CFLAGS $ALSA_CFLAGS $GTK_CFLAGS"
|
||||
ECHOMIXER_LIBS="$LIBS $ALSA_LIBS $GTK_LIBS"
|
||||
AC_SUBST(ECHOMIXER_CFLAGS)
|
||||
AC_SUBST(ECHOMIXER_LIBS)
|
||||
|
||||
AC_OUTPUT(Makefile)
|
||||
Loading…
Add table
Add a link
Reference in a new issue