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:
Takashi Iwai 2006-03-29 11:33:02 +00:00
parent 3cda29dba9
commit 5341e4ece0
12 changed files with 114 additions and 56 deletions

View file

@ -4,7 +4,7 @@ rmedigicontrol_SOURCES = rmedigicontrol.c rmedigicontrol.h level.c loopback.c
rmedigicontrol_LDFLAGS = @RMEDIGICONTROL_LIBS@
EXTRA_DIST = depcomp configure.in-gtk2
EXTRA_DIST = depcomp configure.in-gtk1 configure.in-gtk2
AUTOMAKE_OPTIONS = foreign
alsa-dist: distdir