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

@ -5,7 +5,7 @@ envy24control_SOURCES = envy24control.c envy24control.h levelmeters.c midi.c \
mixer.c patchbay.c hardware.c driverevents.c volume.c \
profiles.c profiles.h midi.h config.c config.h
envy24control_LDFLAGS = @ENVY24CONTROL_LIBS@
EXTRA_DIST = envy24control.1 depcomp configure.in-gtk2 \
EXTRA_DIST = envy24control.1 depcomp configure.in-gtk1 configure.in-gtk2 \
strstr_icase_blank.c new_process.c README.profiles
AUTOMAKE_OPTIONS = foreign