mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05:00
Added --with-glib1
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3096 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
b687ace2b1
commit
4ef3baec32
22
configure.in
22
configure.in
@ -124,6 +124,19 @@ AC_ARG_WITH(gc,
|
||||
fi,
|
||||
want_gc=no)
|
||||
|
||||
AC_ARG_WITH(glib1,
|
||||
[ --with-glib1 Use GLIB 1.2 instead of 2.0 if both exist],
|
||||
if test x$withval = xyes; then
|
||||
want_glib1=yes
|
||||
else
|
||||
if test "x$withval" = xno; then
|
||||
want_glib1=no
|
||||
else
|
||||
want_glib1=yes
|
||||
fi
|
||||
fi,
|
||||
want_glib1=no)
|
||||
|
||||
AC_ARG_WITH(perl-staticlib,
|
||||
[ --with-perl-staticlib Specify that we want to link perl libraries
|
||||
statically in irssi, default is no],
|
||||
@ -388,8 +401,13 @@ AC_DEFUN(AC_CHECK_GLIBDIR,[
|
||||
AC_CHECK_GLIBDIR
|
||||
|
||||
if test -z "$GLIB_DIR"; then
|
||||
dnl * check glib1 then glib2
|
||||
checks="3 4 1 2"
|
||||
if test "x$with_glib1" = "xyes"; then
|
||||
dnl * check only for glib1
|
||||
checks="1 2"
|
||||
else
|
||||
dnl * check glib2 then glib1
|
||||
checks="3 4 1 2"
|
||||
fi
|
||||
|
||||
for try in $checks; do
|
||||
glib_config_args=
|
||||
|
Loading…
Reference in New Issue
Block a user