mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Allow configuration of gio-module-dir
2007-11-27 Alexander Larsson <alexl@redhat.com> * configure.in: Allow configuration of gio-module-dir * gio-2.0.pc.in: Export giomodules location as giomodule variable 2007-11-27 Alexander Larsson <alexl@redhat.com> * Makefile.am: * fam/Makefile.am: * inotify/Makefile.am: Use the user-specified giomoduledir svn path=/trunk/; revision=5951
This commit is contained in:
parent
9bd5e0d8e2
commit
2490a699be
@ -1,3 +1,11 @@
|
||||
2007-11-27 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* configure.in:
|
||||
Allow configuration of gio-module-dir
|
||||
|
||||
* gio-2.0.pc.in:
|
||||
Export giomodules location as giomodule variable
|
||||
|
||||
2007-11-26 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* tests/markup-collect.c: Add some tests for invalid booleans
|
||||
|
11
configure.in
11
configure.in
@ -1448,6 +1448,17 @@ esac
|
||||
AC_MSG_RESULT($GIO)
|
||||
AC_SUBST(GIO)
|
||||
|
||||
dnl *********************************
|
||||
dnl *** Directory for GIO modules ***
|
||||
dnl *********************************
|
||||
|
||||
AC_ARG_WITH(gio-module-dir,
|
||||
[AC_HELP_STRING([--with-gio-module-dir=PATH],
|
||||
[Load gio modules from this directory [LIBDIR/gio/modules]])],
|
||||
[],
|
||||
[with_gio_module_dir='${libdir}/gio/modules'])
|
||||
GIO_MODULE_DIR=$with_gio_module_dir
|
||||
AC_SUBST(GIO_MODULE_DIR)
|
||||
|
||||
dnl **********************************
|
||||
dnl *** Check for libselinux (GIO) ***
|
||||
|
@ -3,6 +3,8 @@ exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
giomoduledir=@GIO_MODULE_DIR@
|
||||
|
||||
Name: GIO
|
||||
Description: glib I/O library
|
||||
Version: @VERSION@
|
||||
|
@ -1,3 +1,10 @@
|
||||
2007-11-27 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* Makefile.am:
|
||||
* fam/Makefile.am:
|
||||
* inotify/Makefile.am:
|
||||
Use the user-specified giomoduledir
|
||||
|
||||
2007-11-27 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* Makefile.am
|
||||
|
@ -14,7 +14,7 @@ AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/gmodule \
|
||||
$(GLIB_DEBUG_FLAGS) \
|
||||
-DG_DISABLE_DEPRECATED \
|
||||
-DGIO_MODULE_DIR=\"$(libdir)/gio/modules\"
|
||||
-DGIO_MODULE_DIR=\"$(GIO_MODULE_DIR)\"
|
||||
|
||||
lib_LTLIBRARIES = libgio-2.0.la
|
||||
|
||||
|
@ -21,7 +21,7 @@ libgiofam_la_CFLAGS = \
|
||||
-I$(top_srcdir)/glib \
|
||||
-I$(top_srcdir)/gmodule \
|
||||
-I$(top_srcdir)/gio \
|
||||
-DGIO_MODULE_DIR=\"$(libdir)/gio/modules\" \
|
||||
-DGIO_MODULE_DIR=\"$(GIO_MODULE_DIR)\" \
|
||||
-DG_DISABLE_DEPRECATED
|
||||
|
||||
libgiofam_la_LDFLAGS = $(module_flags)
|
||||
|
@ -29,6 +29,6 @@ libinotify_la_CFLAGS = \
|
||||
-I$(top_srcdir)/glib \
|
||||
-I$(top_srcdir)/gmodule \
|
||||
-I$(top_srcdir)/gio \
|
||||
-DGIO_MODULE_DIR=\"$(libdir)/gio/modules\" \
|
||||
-DGIO_MODULE_DIR=\"$(GIO_MODULE_DIR)\" \
|
||||
-DG_DISABLE_DEPRECATED
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user