configure.ac (498ce991) configure.ac (b78edfc1)
1dnl /******************************************************************
2dnl * vi:set sw=3 ts=3 et:
3dnl *
4dnl * Name: configure.in
5dnl * Auth: Willem van Dorp, Ross Nicholson, Oisin Boydell - Sun Microsystems Ireland
6dnl * Date: $Date: 2008-09-08 07:38:40 $
7dnl *
8dnl * Desc: This file serves as input for the GNU autoconf package

--- 512 unchanged lines hidden (view full) ---

521[ --with-system-boost Use boost already on system
522],,)
523AC_ARG_WITH(system-mdds,
524[ --with-system-mdds Use mdds already on system
525],,)
526AC_ARG_WITH(system-vigra,
527[ --with-system-vigra Use vigra already on system
528],,)
1dnl /******************************************************************
2dnl * vi:set sw=3 ts=3 et:
3dnl *
4dnl * Name: configure.in
5dnl * Auth: Willem van Dorp, Ross Nicholson, Oisin Boydell - Sun Microsystems Ireland
6dnl * Date: $Date: 2008-09-08 07:38:40 $
7dnl *
8dnl * Desc: This file serves as input for the GNU autoconf package

--- 512 unchanged lines hidden (view full) ---

521[ --with-system-boost Use boost already on system
522],,)
523AC_ARG_WITH(system-mdds,
524[ --with-system-mdds Use mdds already on system
525],,)
526AC_ARG_WITH(system-vigra,
527[ --with-system-vigra Use vigra already on system
528],,)
529AC_ARG_ENABLE(neon,
530[ --disable-neon Disable neon and the compilation of webdav binding
531],,)
532AC_ARG_ENABLE(Xaw,
533[ --disable-Xaw Disables the use of Xaw for the Netscape/Mozilla
534 plugin
535],,)
536AC_ARG_WITH(system-neon,
537[ --with-system-neon Use neon already on system
538],,)
539AC_ARG_WITH(system-agg,

--- 695 unchanged lines hidden (view full) ---

1235
1236AC_MSG_CHECKING([whether to enable copyleft components])
1237if test "$enable_copyleft" != "yes"; then
1238
1239 enable_mozilla="no"
1240 enable_nss_module="no"
1241 enable_gstreamer="no"
1242 with_myspell_dicts="no"
529AC_ARG_ENABLE(Xaw,
530[ --disable-Xaw Disables the use of Xaw for the Netscape/Mozilla
531 plugin
532],,)
533AC_ARG_WITH(system-neon,
534[ --with-system-neon Use neon already on system
535],,)
536AC_ARG_WITH(system-agg,

--- 695 unchanged lines hidden (view full) ---

1232
1233AC_MSG_CHECKING([whether to enable copyleft components])
1234if test "$enable_copyleft" != "yes"; then
1235
1236 enable_mozilla="no"
1237 enable_nss_module="no"
1238 enable_gstreamer="no"
1239 with_myspell_dicts="no"
1243 enable_neon="no"
1244
1245 DISABLE_HUNSPELL="TRUE"
1246 DISABLE_HYPHEN="TRUE"
1247 DISABLE_LIBWPD="TRUE"
1248 DISABLE_SAXON="TRUE"
1240
1241 DISABLE_HUNSPELL="TRUE"
1242 DISABLE_HYPHEN="TRUE"
1243 DISABLE_LIBWPD="TRUE"
1244 DISABLE_SAXON="TRUE"
1249 DISABLE_NEON="TRUE"
1250
1251 BUILD_EPM="NO"
1252
1253 AC_MSG_RESULT([yes])
1254
1255else
1256
1257 DISABLE_HUNSPELL=
1258 DISABLE_HYPHEN=
1259 DISABLE_LIBWPD=
1260 DISABLE_SAXON=
1245
1246 BUILD_EPM="NO"
1247
1248 AC_MSG_RESULT([yes])
1249
1250else
1251
1252 DISABLE_HUNSPELL=
1253 DISABLE_HYPHEN=
1254 DISABLE_LIBWPD=
1255 DISABLE_SAXON=
1261 DISABLE_NEON=
1262
1263 AC_MSG_RESULT([no])
1264
1265fi
1266AC_SUBST(DISABLE_HUNSPELL)
1267AC_SUBST(DISABLE_HYPHEN)
1268AC_SUBST(DISABLE_LIBWPD)
1269AC_SUBST(DISABLE_SAXON)
1256
1257 AC_MSG_RESULT([no])
1258
1259fi
1260AC_SUBST(DISABLE_HUNSPELL)
1261AC_SUBST(DISABLE_HYPHEN)
1262AC_SUBST(DISABLE_LIBWPD)
1263AC_SUBST(DISABLE_SAXON)
1270AC_SUBST(DISABLE_NEON)
1271AC_SUBST(BUILD_EPM)
1272
1273
1274AC_MSG_CHECKING([whether to enable native CUPS support])
1275if test "$test_cups" = "yes" -a \( "$enable_cups" = "yes" -o "$enable_cups" = "TRUE" \) ; then
1276 ENABLE_CUPS="TRUE"
1277 AC_MSG_RESULT([yes])
1278else

--- 3736 unchanged lines hidden (view full) ---

5015 AC_MSG_RESULT([no])
5016fi
5017AC_SUBST(XRANDR_DLOPEN)
5018AC_SUBST(XRANDR_CFLAGS)
5019AC_SUBST(XRANDR_LIBS)
5020AC_SUBST(ENABLE_RANDR)
5021
5022dnl ===================================================================
1264AC_SUBST(BUILD_EPM)
1265
1266
1267AC_MSG_CHECKING([whether to enable native CUPS support])
1268if test "$test_cups" = "yes" -a \( "$enable_cups" = "yes" -o "$enable_cups" = "TRUE" \) ; then
1269 ENABLE_CUPS="TRUE"
1270 AC_MSG_RESULT([yes])
1271else

--- 3736 unchanged lines hidden (view full) ---

5008 AC_MSG_RESULT([no])
5009fi
5010AC_SUBST(XRANDR_DLOPEN)
5011AC_SUBST(XRANDR_CFLAGS)
5012AC_SUBST(XRANDR_LIBS)
5013AC_SUBST(ENABLE_RANDR)
5014
5015dnl ===================================================================
5023dnl Check for building neon
5024dnl ===================================================================
5025AC_MSG_CHECKING([whether to use neon])
5026if test "$enable_neon" = "no"; then
5027 AC_MSG_RESULT([no])
5028 DISABLE_NEON=TRUE
5029 AC_SUBST(DISABLE_NEON)
5030else
5031 AC_MSG_RESULT([yes])
5032dnl ===================================================================
5033dnl Check for system neon
5034dnl ===================================================================
5016dnl Check for system neon
5017dnl ===================================================================
5035AC_MSG_CHECKING([which neon to use])
5018AC_MSG_CHECKING([which neon is used])
5036if test -n "$with_system_neon" -o -n "$with_system_libs" && \
5037 test "$with_system_neon" != "no"; then
5038 AC_MSG_RESULT([external])
5039 PKG_CHECK_MODULES(NEON, neon >= 0.26.0, , AC_MSG_ERROR([you need neon >= 0.26.x for system-neon]))
5040 NEON_VERSION="`$PKG_CONFIG --modversion neon | $SED 's/\.//g'`"
5041 NEON_CFLAGS="$NEON_CFLAGS -DSYSTEM_NEON -DUSE_DAV_LOCKS=1"
5042 SYSTEM_NEON=YES
5019if test -n "$with_system_neon" -o -n "$with_system_libs" && \
5020 test "$with_system_neon" != "no"; then
5021 AC_MSG_RESULT([external])
5022 PKG_CHECK_MODULES(NEON, neon >= 0.26.0, , AC_MSG_ERROR([you need neon >= 0.26.x for system-neon]))
5023 NEON_VERSION="`$PKG_CONFIG --modversion neon | $SED 's/\.//g'`"
5024 NEON_CFLAGS="$NEON_CFLAGS -DSYSTEM_NEON -DUSE_DAV_LOCKS=1"
5025 SYSTEM_NEON=YES
5043else
5044 AC_MSG_RESULT([internal])
5045 SYSTEM_NEON=NO
5046 NEON_LIBS=-lneon
5047 NEON_CFLAGS=
5048 BUILD_TYPE="$BUILD_TYPE NEON"
5049fi
5026fi
5050AC_SUBST(SYSTEM_NEON)
5051AC_SUBST(NEON_VERSION)
5052AC_SUBST(NEON_LIBS)
5053AC_SUBST(NEON_CFLAGS)
5027AC_SUBST(SYSTEM_NEON)
5028AC_SUBST(NEON_VERSION)
5029AC_SUBST(NEON_LIBS)
5030AC_SUBST(NEON_CFLAGS)
5054fi
5055
5056dnl ===================================================================
5057dnl Check for system openssl
5058dnl ===================================================================
5059if test "$_os" = "Darwin" && test "$with_system_openssl" != "no"; then
5060 with_system_openssl=yes
5061fi
5062AC_MSG_CHECKING([which libssl to use])

--- 2162 unchanged lines hidden ---
5031
5032dnl ===================================================================
5033dnl Check for system openssl
5034dnl ===================================================================
5035if test "$_os" = "Darwin" && test "$with_system_openssl" != "no"; then
5036 with_system_openssl=yes
5037fi
5038AC_MSG_CHECKING([which libssl to use])

--- 2162 unchanged lines hidden ---