configure.ac (528d5388) configure.ac (10e8ff58)
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

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

20[ --with-gnu-patch Specify location of GNU patch on Solaris or FreeBSD
21],,)
22AC_ARG_WITH(agg,
23[ --without-agg Disable the use of agg altogether
24],,with_agg=yes)
25AC_ARG_WITH(gnu-cp,
26[ --with-gnu-cp Specify location of GNU cp on Solaris or FreeBSD
27],,)
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

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

20[ --with-gnu-patch Specify location of GNU patch on Solaris or FreeBSD
21],,)
22AC_ARG_WITH(agg,
23[ --without-agg Disable the use of agg altogether
24],,with_agg=yes)
25AC_ARG_WITH(gnu-cp,
26[ --with-gnu-cp Specify location of GNU cp on Solaris or FreeBSD
27],,)
28AC_ARG_WITH(gperf,
29[ --with-gperf Specify location of gperf on Solaris or FreeBSD
30],,)
28AC_ARG_ENABLE(graphite,
29[ --enable-graphite Enables the compilation of Graphite smart font rendering
30],,)
31AC_ARG_WITH(system-graphite,
32[ --with-system-graphite use graphite library already installed on system
33],,)
34AC_ARG_ENABLE(ldap,
35[ --disable-ldap Disables the use of LDAP backend via Netscape/Mozilla

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

3482fi
3483AC_SUBST(EPM)
3484AC_SUBST(PKGFORMAT)
3485
3486dnl ===================================================================
3487dnl Check for gperf
3488dnl ===================================================================
3489AC_PATH_PROG(GPERF, gperf)
31AC_ARG_ENABLE(graphite,
32[ --enable-graphite Enables the compilation of Graphite smart font rendering
33],,)
34AC_ARG_WITH(system-graphite,
35[ --with-system-graphite use graphite library already installed on system
36],,)
37AC_ARG_ENABLE(ldap,
38[ --disable-ldap Disables the use of LDAP backend via Netscape/Mozilla

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

3485fi
3486AC_SUBST(EPM)
3487AC_SUBST(PKGFORMAT)
3488
3489dnl ===================================================================
3490dnl Check for gperf
3491dnl ===================================================================
3492AC_PATH_PROG(GPERF, gperf)
3490if test -z "$GPERF"; then
3491 AC_MSG_ERROR([gperf not found but needed. Install it.])
3493if test -z "$with_gperf"; then
3494 AC_PATH_PROG(GPERF, gperf)
3495 if test -z "$GPERF"; then
3496 AC_MSG_ERROR([gperf not found but needed. Install it and/or specify --with-gperf=/path/to/it.])
3497 fi
3498else
3499 if test -x "$with_gperf"; then
3500 GPERF=$with_gperf
3501 else
3502 AC_MSG_ERROR([--with-gperf did not point to an executable])
3503 fi
3492fi
3493AC_MSG_CHECKING([gperf version])
3494if test "`$GPERF --version | $EGREP ^GNU\ gperf | $AWK '{ print $3 }' | cut -d. -f1`" -ge "3"; then
3495 AC_MSG_RESULT([OK])
3504fi
3505AC_MSG_CHECKING([gperf version])
3506if test "`$GPERF --version | $EGREP ^GNU\ gperf | $AWK '{ print $3 }' | cut -d. -f1`" -ge "3"; then
3507 AC_MSG_RESULT([OK])
3508 GPERF=$GPERF
3496else
3497 AC_MSG_ERROR([too old, you need at least 3.0.0])
3498fi
3509else
3510 AC_MSG_ERROR([too old, you need at least 3.0.0])
3511fi
3512AC_SUBST(GPERF)
3499
3500dnl ===================================================================
3501dnl Check for building stax
3502dnl ===================================================================
3503AC_MSG_CHECKING([whether to build the stax])
3504if test -f "./stax/download/jsr173_1.0_api.jar"; then
3505 BUILD_STAX=NO
3506 AC_MSG_RESULT([no, will use the prebuilt stax/download/jsr173_1.0_api.jar])

--- 3858 unchanged lines hidden ---
3513
3514dnl ===================================================================
3515dnl Check for building stax
3516dnl ===================================================================
3517AC_MSG_CHECKING([whether to build the stax])
3518if test -f "./stax/download/jsr173_1.0_api.jar"; then
3519 BUILD_STAX=NO
3520 AC_MSG_RESULT([no, will use the prebuilt stax/download/jsr173_1.0_api.jar])

--- 3858 unchanged lines hidden ---