Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
imlib
imlib-1.9.14-no_acconfig_h.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File imlib-1.9.14-no_acconfig_h.diff of Package imlib
--- configure.in +++ configure.in @@ -7,6 +7,12 @@ AM_CONFIG_HEADER(config.h) AM_INIT_AUTOMAKE(imlib, 1.9.14) + +AH_TEMPLATE([HAVE_LIBGIF], [Define to 1 if you have libgif]) +AH_TEMPLATE([HAVE_LIBJPEG], [Define to 1 if you have libjpeg]) +AH_TEMPLATE([HAVE_LIBPNG], [Define to 1 if you have libpng]) +AH_TEMPLATE([HAVE_LIBTIFF], [Define to 1 if you have libtiff]) + AC_PROG_CC AM_PROG_LIBTOOL @@ -15,7 +21,9 @@ dnl Give the user an option to compile without shared memory support, dnl incase it is broken for example. -AC_ARG_ENABLE(shm, [ --enable-shm support shared memory if available [default=yes]], echo $enable_shm, enable_shm="yes") +AC_ARG_ENABLE(shm, + AC_HELP_STRING([--enable-shm],[support shared memory if available [default=yes]]), + echo $enable_shm, enable_shm="yes") AM_PATH_GTK(1.2.1,[ GDK_IMLIB="gdk_imlib utils"],[ @@ -24,7 +32,7 @@ AC_MSG_CHECKING(whether to build gmodulized imlib) -AC_ARG_ENABLE(modules, [ --disable-modules Disables dynamic module loading],[ +AC_ARG_ENABLE(modules, AC_HELP_STRING([--disable-modules], [Disables dynamic module loading]),[ if test x$withval = xyes; then with_modules=yes else @@ -71,7 +79,7 @@ fi if $dynworks; then - AC_DEFINE(USE_GMODULE) + AC_DEFINE(USE_GMODULE,1,[Define if gmodule should be used]) GMODULE_LIBS="`glib-config --libs gmodule`" GMODULE_FLAGS="`glib-config --cflags gmodule`" AC_SUBST(GMODULE_LIBS) @@ -103,7 +111,7 @@ AC_CHECK_FUNCS(buckets_of_erogenous_nym) AC_CHECK_FUNCS(buttox) -AC_CHECK_HEADER(stdarg.h, AC_DEFINE(HAVE_STDARGS)) +AC_CHECK_HEADERS(stdarg.h, AC_DEFINE(HAVE_STDARGS,1,[Define iof stdargs is present])) AC_CHECK_HEADER(string.h) AC_CHECK_HEADER(strings.h) @@ -152,13 +160,13 @@ dnl configured to build without shared memory extensions. if test "x$enable_shm" = "xyes"; then # Check for shared memory - AC_CHECK_HEADER(sys/ipc.h, AC_DEFINE(HAVE_IPC_H), no_sys_ipc=yes) - AC_CHECK_HEADER(sys/shm.h, AC_DEFINE(HAVE_SHM_H), no_sys_shm=yes) + AC_CHECK_HEADER(sys/ipc.h, AC_DEFINE(HAVE_IPC_H,1,[Define if ipc.h is present]), no_sys_ipc=yes) + AC_CHECK_HEADER(sys/shm.h, AC_DEFINE(HAVE_SHM_H,1,[Define if shm.h is present]), no_sys_shm=yes) if test "x$no_sys_ipc" != "xyes" \ && test "x$no_sys_shm" != "xyes" \ && test "x$no_xshm_ext" != "xyes" ; then - AC_DEFINE(HAVE_SHM) + AC_DEFINE(HAVE_SHM,1,[Define if shared memory is present]) fi # Check whether shmctl IPC_RMID allowes subsequent attaches @@ -187,7 +195,7 @@ exit (0); } ], - AC_DEFINE(IPC_RMID_DEFERRED_RELEASE) + AC_DEFINE(IPC_RMID_DEFERRED_RELEASE,1,[define if shmctl IPC_RMID allowes subsequent attaches]) AC_MSG_RESULT(yes), AC_MSG_RESULT(no), AC_MSG_RESULT(assuming no)) @@ -202,7 +210,7 @@ else if test -f "$x_includes/X11/extensions/XShm.h"; then AC_MSG_RESULT(yes) - AC_DEFINE(HAVE_XSHM_H) + AC_DEFINE(HAVE_XSHM_H,1,[Define if you have XShm.h]) else AC_MSG_RESULT(no) no_xshm=yes
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor