configure.ac (f06c1a76) configure.ac (62840caa)
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

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

25 http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2
26 Note that dmake is under GPL license.],
27[ DMAKE_URL="$withval"
28])
29AC_ARG_WITH(gnu-patch,
30[ --with-gnu-patch Specify location of GNU patch on Solaris or FreeBSD
31],,)
32AC_ARG_WITH(gnu-cp,
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

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

25 http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2
26 Note that dmake is under GPL license.],
27[ DMAKE_URL="$withval"
28])
29AC_ARG_WITH(gnu-patch,
30[ --with-gnu-patch Specify location of GNU patch on Solaris or FreeBSD
31],,)
32AC_ARG_WITH(gnu-cp,
33[ --with-gnu-cp Specify location of GNU cp on Solaris or FreeBSD
33[ --with-gnu-cp Specify location of GNU cp on Solaris
34],,)
35AC_ARG_WITH(gperf,
36[ --with-gperf Specify location of gperf on Solaris or FreeBSD
37],,)
38AC_ARG_ENABLE(graphite,
39[ --enable-graphite Enables the compilation of Graphite smart font rendering
40],,)
41AC_ARG_WITH(system-graphite,

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

5570 else
5571 AC_MSG_ERROR([no, GNU patch needed. install or specify with --with-gnu-patch=/path/to/it])
5572 fi
5573fi
5574
5575dnl We also need to check for --with-gnu-cp
5576
5577if test -z "$with_gnu_cp"; then
34],,)
35AC_ARG_WITH(gperf,
36[ --with-gperf Specify location of gperf on Solaris or FreeBSD
37],,)
38AC_ARG_ENABLE(graphite,
39[ --enable-graphite Enables the compilation of Graphite smart font rendering
40],,)
41AC_ARG_WITH(system-graphite,

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

5570 else
5571 AC_MSG_ERROR([no, GNU patch needed. install or specify with --with-gnu-patch=/path/to/it])
5572 fi
5573fi
5574
5575dnl We also need to check for --with-gnu-cp
5576
5577if test -z "$with_gnu_cp"; then
5578 # check the place where the good stuff is hidden on Solaris...
5578 # check the place where the GNU stuff is hidden on Solaris...
5579 if test -x /usr/gnu/bin/cp; then
5580 GNUCP=/usr/gnu/bin/cp
5581 else
5582 AC_PATH_PROGS(GNUCP, gnucp cp)
5583 fi
5584 if test -z $GNUCP; then
5585 AC_MSG_ERROR([Neither gnucp nor cp found. Install GNU cp and/or specify --with-gnu-cp=/path/to/it])
5586 fi

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

5596if $GNUCP --version 2>/dev/null | grep "coreutils" >/dev/null 2>/dev/null; then
5597 AC_MSG_RESULT([yes])
5598else
5599 AC_MSG_RESULT([no])
5600 GNUCP=''
5601fi
5602
5603if test -z "$GNUCP"; then
5579 if test -x /usr/gnu/bin/cp; then
5580 GNUCP=/usr/gnu/bin/cp
5581 else
5582 AC_PATH_PROGS(GNUCP, gnucp cp)
5583 fi
5584 if test -z $GNUCP; then
5585 AC_MSG_ERROR([Neither gnucp nor cp found. Install GNU cp and/or specify --with-gnu-cp=/path/to/it])
5586 fi

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

5596if $GNUCP --version 2>/dev/null | grep "coreutils" >/dev/null 2>/dev/null; then
5597 AC_MSG_RESULT([yes])
5598else
5599 AC_MSG_RESULT([no])
5600 GNUCP=''
5601fi
5602
5603if test -z "$GNUCP"; then
5604 if test "$_os" = "SunOS" -o "$_os" = "FreeBSD"; then
5604 if test "$_os" = "SunOS"; then
5605 AC_MSG_ERROR([no, GNU cp from coreutils is needed. install or specify with --with-gnu-cp=/path/to/it])
5606 else
5607 AC_MSG_RESULT([no GNU cp from coreutils found - using the system's cp command])
5608 fi
5609fi
5610
5611AC_SUBST(GNUPATCH)
5612AC_SUBST(GNUCP)

--- 1640 unchanged lines hidden ---
5605 AC_MSG_ERROR([no, GNU cp from coreutils is needed. install or specify with --with-gnu-cp=/path/to/it])
5606 else
5607 AC_MSG_RESULT([no GNU cp from coreutils found - using the system's cp command])
5608 fi
5609fi
5610
5611AC_SUBST(GNUPATCH)
5612AC_SUBST(GNUCP)

--- 1640 unchanged lines hidden ---