| configure.ac (f07aa446) | configure.ac (7f413237) |
|---|---|
| 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 --- 114 unchanged lines hidden (view full) --- 123AC_ARG_ENABLE(evolution2, 124[ --enable-evolution2 Allows the built-in evolution 2 addressbook 125 connectivity build to be enabled. 126],,) 127AC_ARG_WITH(system-stdlibs, 128[ --with-system-stdlibs use libstdc++/libgcc_s already on system 129],,) 130AC_ARG_ENABLE(cups, | 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 --- 114 unchanged lines hidden (view full) --- 123AC_ARG_ENABLE(evolution2, 124[ --enable-evolution2 Allows the built-in evolution 2 addressbook 125 connectivity build to be enabled. 126],,) 127AC_ARG_WITH(system-stdlibs, 128[ --with-system-stdlibs use libstdc++/libgcc_s already on system 129],,) 130AC_ARG_ENABLE(cups, |
| 131[ --disable-cups disable cups support in the psprint project | 131[ --disable-cups disable CUPS support (for printing on UNIX) |
| 132],,enable_cups=yes) 133AC_ARG_ENABLE(fontconfig, 134[ --disable-fontconfig disable support for the fontconfig library 135],,enable_fontconfig=yes) 136AC_ARG_ENABLE(directx, 137[ --disable-directx Remove DirectX implementation for the new XCanvas 138 interface. The DirectX support requires more stuff 139 installed on Windows to compile. --- 2469 unchanged lines hidden (view full) --- 2609 CCACHE_VERSION=`"$CCACHE" -V | "$AWK" '/^ccache version/{print $3}'` 2610 if test "$CCACHE_VERSION" = "2.4_OOo"; then 2611 AC_MSG_RESULT([yes]) 2612 AC_MSG_CHECKING([whether ccache is actually used for the build]) 2613 AC_LANG_PUSH([C++]) 2614 save_CXXFLAGS=$CXXFLAGS 2615 CXXFLAGS="$CXXFLAGS --ccache-skip -O2" 2616 dnl an empty program will do, we're checking the compiler flags | 132],,enable_cups=yes) 133AC_ARG_ENABLE(fontconfig, 134[ --disable-fontconfig disable support for the fontconfig library 135],,enable_fontconfig=yes) 136AC_ARG_ENABLE(directx, 137[ --disable-directx Remove DirectX implementation for the new XCanvas 138 interface. The DirectX support requires more stuff 139 installed on Windows to compile. --- 2469 unchanged lines hidden (view full) --- 2609 CCACHE_VERSION=`"$CCACHE" -V | "$AWK" '/^ccache version/{print $3}'` 2610 if test "$CCACHE_VERSION" = "2.4_OOo"; then 2611 AC_MSG_RESULT([yes]) 2612 AC_MSG_CHECKING([whether ccache is actually used for the build]) 2613 AC_LANG_PUSH([C++]) 2614 save_CXXFLAGS=$CXXFLAGS 2615 CXXFLAGS="$CXXFLAGS --ccache-skip -O2" 2616 dnl an empty program will do, we're checking the compiler flags |
| 2617 AC_COMPILE_IFELSE(AC_LANG_PROGRAM([],[]), | 2617 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])], |
| 2618 [use_ccache=yes], [use_ccache=no]) 2619 if test $use_ccache = yes ; then 2620 AC_MSG_RESULT([yes, will enable --ccache-skip]) 2621 AC_SUBST([USE_CCACHE], [YES]) 2622 else 2623 AC_MSG_RESULT([no, will not enable --ccache-skip]) 2624 fi 2625 CXXFLAGS=$save_CXXFLAGS --- 192 unchanged lines hidden (view full) --- 2818 if test -z "$with_jdk_home"; then 2819 AC_PATH_PROG(JAVAINTERPRETER, $WITH_JAVA) 2820 else 2821 _java_path="$with_jdk_home/bin/$WITH_JAVA" 2822 dnl Check if there is a java interpreter at all. 2823 if test -x "$_java_path"; then 2824 JAVAINTERPRETER=$_java_path 2825 else | 2618 [use_ccache=yes], [use_ccache=no]) 2619 if test $use_ccache = yes ; then 2620 AC_MSG_RESULT([yes, will enable --ccache-skip]) 2621 AC_SUBST([USE_CCACHE], [YES]) 2622 else 2623 AC_MSG_RESULT([no, will not enable --ccache-skip]) 2624 fi 2625 CXXFLAGS=$save_CXXFLAGS --- 192 unchanged lines hidden (view full) --- 2818 if test -z "$with_jdk_home"; then 2819 AC_PATH_PROG(JAVAINTERPRETER, $WITH_JAVA) 2820 else 2821 _java_path="$with_jdk_home/bin/$WITH_JAVA" 2822 dnl Check if there is a java interpreter at all. 2823 if test -x "$_java_path"; then 2824 JAVAINTERPRETER=$_java_path 2825 else |
| 2826 AC_MSG_ERROR([$_java_path not found set with_jdk_home]) | 2826 AC_MSG_ERROR([$_java_path not found, please use --with_jdk_home]) |
| 2827 fi 2828 fi 2829 if test "$_os" = "WINNT"; then 2830 if test x`echo "$JAVAINTERPRETER" | grep -i '\.exe$'` = x; then 2831 JAVAINTERPRETER="${JAVAINTERPRETER}.exe" 2832 fi 2833 JAVAINTERPRETER=`cygpath -d "$JAVAINTERPRETER"` 2834 JAVAINTERPRETER=`cygpath -u "$JAVAINTERPRETER"` --- 134 unchanged lines hidden (view full) --- 2969 else 2970 _javac_path="$with_jdk_home/bin/$javacompiler" 2971 dnl Check if there is a java compiler at all. 2972 if test -x "$_javac_path"; then 2973 JAVACOMPILER=$_javac_path 2974 fi 2975 fi 2976 if test -z "$JAVACOMPILER"; then | 2827 fi 2828 fi 2829 if test "$_os" = "WINNT"; then 2830 if test x`echo "$JAVAINTERPRETER" | grep -i '\.exe$'` = x; then 2831 JAVAINTERPRETER="${JAVAINTERPRETER}.exe" 2832 fi 2833 JAVAINTERPRETER=`cygpath -d "$JAVAINTERPRETER"` 2834 JAVAINTERPRETER=`cygpath -u "$JAVAINTERPRETER"` --- 134 unchanged lines hidden (view full) --- 2969 else 2970 _javac_path="$with_jdk_home/bin/$javacompiler" 2971 dnl Check if there is a java compiler at all. 2972 if test -x "$_javac_path"; then 2973 JAVACOMPILER=$_javac_path 2974 fi 2975 fi 2976 if test -z "$JAVACOMPILER"; then |
| 2977 AC_MSG_ERROR([$javacompiler not found set with_jdk_home]) | 2977 AC_MSG_ERROR([$javacompiler not found, please use --with_jdk_home]) |
| 2978 fi 2979 if test "$_os" = "WINNT"; then 2980 if test x`echo "$JAVACOMPILER" | grep -i '\.exe$'` = x; then 2981 JAVACOMPILER="${JAVACOMPILER}.exe" 2982 fi 2983 JAVACOMPILER=`cygpath -d "$JAVACOMPILER"` 2984 JAVACOMPILER=`cygpath -u "$JAVACOMPILER"` 2985 fi --- 40 unchanged lines hidden (view full) --- 3026 dnl Check if there is a javadoc at all. 3027 if test -x "$_javadoc_path"; then 3028 JAVADOC=$_javadoc_path 3029 else 3030 AC_PATH_PROG(JAVADOC, javadoc) 3031 fi 3032 fi 3033 if test -z "$JAVADOC"; then | 2978 fi 2979 if test "$_os" = "WINNT"; then 2980 if test x`echo "$JAVACOMPILER" | grep -i '\.exe$'` = x; then 2981 JAVACOMPILER="${JAVACOMPILER}.exe" 2982 fi 2983 JAVACOMPILER=`cygpath -d "$JAVACOMPILER"` 2984 JAVACOMPILER=`cygpath -u "$JAVACOMPILER"` 2985 fi --- 40 unchanged lines hidden (view full) --- 3026 dnl Check if there is a javadoc at all. 3027 if test -x "$_javadoc_path"; then 3028 JAVADOC=$_javadoc_path 3029 else 3030 AC_PATH_PROG(JAVADOC, javadoc) 3031 fi 3032 fi 3033 if test -z "$JAVADOC"; then |
| 3034 AC_MSG_ERROR([$_javadoc_path not found set with_jdk_home]) | 3034 AC_MSG_ERROR([$_javadoc_path not found, please use --with_jdk_home]) |
| 3035 fi 3036 if test "$_os" = "WINNT"; then 3037 if test x`echo "$JAVADOC" | grep -i '\.exe$'` = x; then 3038 JAVADOC="${JAVADOC}.exe" 3039 fi 3040 JAVADOC=`cygpath -d "$JAVADOC"` 3041 JAVADOC=`cygpath -u "$JAVADOC"` 3042 fi --- 168 unchanged lines hidden (view full) --- 3211 if test -x "$_javac_path"; then 3212 JAVAAOTCOMPILER=$_javac_path 3213 fi 3214 fi 3215 if test -z "$JAVAAOTCOMPILER"; then 3216 AC_PATH_PROG(JAVAAOTCOMPILER, $gcjaot) 3217 fi 3218 if test -z "$JAVAAOTCOMPILER"; then | 3035 fi 3036 if test "$_os" = "WINNT"; then 3037 if test x`echo "$JAVADOC" | grep -i '\.exe$'` = x; then 3038 JAVADOC="${JAVADOC}.exe" 3039 fi 3040 JAVADOC=`cygpath -d "$JAVADOC"` 3041 JAVADOC=`cygpath -u "$JAVADOC"` 3042 fi --- 168 unchanged lines hidden (view full) --- 3211 if test -x "$_javac_path"; then 3212 JAVAAOTCOMPILER=$_javac_path 3213 fi 3214 fi 3215 if test -z "$JAVAAOTCOMPILER"; then 3216 AC_PATH_PROG(JAVAAOTCOMPILER, $gcjaot) 3217 fi 3218 if test -z "$JAVAAOTCOMPILER"; then |
| 3219 AC_MSG_WARN([$gcjaot not found, set with_jdk_home]) | 3219 AC_MSG_WARN([$gcjaot not found, please use --with_jdk_home]) |
| 3220 fi 3221 else 3222 AC_MSG_RESULT([no]) 3223 fi 3224fi 3225 3226AC_SUBST(JAVA_HOME) 3227AC_SUBST(JDK) --- 2206 unchanged lines hidden (view full) --- 5434 HAVE_DIRECTXSDK_LIB="yes" 5435 else 5436 HAVE_DIRECTXSDK_LIB="no" 5437 fi 5438 if test -n "$ENABLE_DIRECTX"; then 5439 if test "$HAVE_DIRECTXSDK_H" = "yes" -a "$HAVE_DIRECTXSDK_LIB" = "yes"; then 5440 AC_MSG_RESULT([found]) 5441 else | 3220 fi 3221 else 3222 AC_MSG_RESULT([no]) 3223 fi 3224fi 3225 3226AC_SUBST(JAVA_HOME) 3227AC_SUBST(JDK) --- 2206 unchanged lines hidden (view full) --- 5434 HAVE_DIRECTXSDK_LIB="yes" 5435 else 5436 HAVE_DIRECTXSDK_LIB="no" 5437 fi 5438 if test -n "$ENABLE_DIRECTX"; then 5439 if test "$HAVE_DIRECTXSDK_H" = "yes" -a "$HAVE_DIRECTXSDK_LIB" = "yes"; then 5440 AC_MSG_RESULT([found]) 5441 else |
| 5442 AC_MSG_ERROR([DirectX SDK files not found, please use --with-directx-home or -disable-directx.]) | 5442 AC_MSG_ERROR([DirectX SDK files not found, please use --with-directx-home or --disable-directx.]) |
| 5443 fi 5444 else 5445 DIRECTXSDK_HOME="" 5446 AC_MSG_RESULT([disabled]) 5447 fi 5448fi 5449AC_SUBST(DIRECTXSDK_HOME) 5450AC_SUBST(DIRECTXSDK_LIB) --- 201 unchanged lines hidden (view full) --- 5652fi 5653AC_SUBST(ZIP_HOME) 5654 5655dnl =================================================================== 5656dnl Windows builds need unicows.dll in external/unicows/ 5657dnl =================================================================== 5658if test "$_os" = "WINNT"; then 5659 AC_MSG_CHECKING([for unicows.dll]) | 5443 fi 5444 else 5445 DIRECTXSDK_HOME="" 5446 AC_MSG_RESULT([disabled]) 5447 fi 5448fi 5449AC_SUBST(DIRECTXSDK_HOME) 5450AC_SUBST(DIRECTXSDK_LIB) --- 201 unchanged lines hidden (view full) --- 5652fi 5653AC_SUBST(ZIP_HOME) 5654 5655dnl =================================================================== 5656dnl Windows builds need unicows.dll in external/unicows/ 5657dnl =================================================================== 5658if test "$_os" = "WINNT"; then 5659 AC_MSG_CHECKING([for unicows.dll]) |
| 5660 if test -x ./external/unicows/unicows.dll; then 5661 AC_MSG_RESULT([found]) | 5660 if test -x ./external/unicows/unicows.dll ; then 5661 AC_MSG_RESULT([found and executable]) |
| 5662 else 5663 AC_MSG_ERROR([The Microsoft Layer for Unicode (unicows.dll) is missing in external/unicows/. 5664Get it from the Microsoft site and put it into external/unicows. 5665(Note: Microsoft seems to enjoy changing the exact location of this file. You 5666may have to search Microsoft's website.) Last time it was seen at: 5667<http://download.microsoft.com/download/b/7/5/b75eace3-00e2-4aa0-9a6f-0b6882c71642/unicows.exe>.]) 5668 fi 5669fi 5670 5671dnl =================================================================== 5672dnl Windows builds need dbghelp.dll in external/dbghelp/ 5673dnl =================================================================== 5674if test "$_os" = "WINNT"; then 5675 AC_MSG_CHECKING([for dbghelp.dll]) 5676 if test -x ./external/dbghelp/dbghelp.dll; then | 5662 else 5663 AC_MSG_ERROR([The Microsoft Layer for Unicode (unicows.dll) is missing in external/unicows/. 5664Get it from the Microsoft site and put it into external/unicows. 5665(Note: Microsoft seems to enjoy changing the exact location of this file. You 5666may have to search Microsoft's website.) Last time it was seen at: 5667<http://download.microsoft.com/download/b/7/5/b75eace3-00e2-4aa0-9a6f-0b6882c71642/unicows.exe>.]) 5668 fi 5669fi 5670 5671dnl =================================================================== 5672dnl Windows builds need dbghelp.dll in external/dbghelp/ 5673dnl =================================================================== 5674if test "$_os" = "WINNT"; then 5675 AC_MSG_CHECKING([for dbghelp.dll]) 5676 if test -x ./external/dbghelp/dbghelp.dll; then |
| 5677 AC_MSG_RESULT([found]) | 5677 AC_MSG_RESULT([found and executable]) |
| 5678 else 5679 AC_MSG_ERROR([dbghelp.dll is missing in external/dbghelp/. 5680Get it from the Microsoft site and put it into external/dbghelp. 5681(Note: Microsoft seems to enjoy changing the exact location of this file. You 5682may have to search Microsoft's website.) Last time it was seen at: 5683<http://www.microsoft.com/downloads/release.asp?releaseid=30682>.]) 5684 fi 5685fi --- 10 unchanged lines hidden (view full) --- 5696fi 5697 5698dnl =================================================================== 5699dnl Windows builds need gdiplus.dll in external/gdiplus/ 5700dnl =================================================================== 5701if test "$_os" = "WINNT"; then 5702 AC_MSG_CHECKING([for gdiplus.dll]) 5703 if test -x ./external/gdiplus/gdiplus.dll; then | 5678 else 5679 AC_MSG_ERROR([dbghelp.dll is missing in external/dbghelp/. 5680Get it from the Microsoft site and put it into external/dbghelp. 5681(Note: Microsoft seems to enjoy changing the exact location of this file. You 5682may have to search Microsoft's website.) Last time it was seen at: 5683<http://www.microsoft.com/downloads/release.asp?releaseid=30682>.]) 5684 fi 5685fi --- 10 unchanged lines hidden (view full) --- 5696fi 5697 5698dnl =================================================================== 5699dnl Windows builds need gdiplus.dll in external/gdiplus/ 5700dnl =================================================================== 5701if test "$_os" = "WINNT"; then 5702 AC_MSG_CHECKING([for gdiplus.dll]) 5703 if test -x ./external/gdiplus/gdiplus.dll; then |
| 5704 AC_MSG_RESULT([found]) | 5704 AC_MSG_RESULT([found and executable]) |
| 5705 else 5706 AC_MSG_ERROR([gdiplus.dll is missing in external/gdiplus/. 5707Get it from the Microsoft site and put it into external/gdiplus. 5708You may have to search Microsoft's website. Last time it was seen at: 5709<http://www.microsoft.com/downloads/details.aspx?familyid=6A63AB9C-DF12-4D41-933C-BE590FEAA05A&displaylang=en>.]) 5710 fi 5711fi 5712 --- 1703 unchanged lines hidden --- | 5705 else 5706 AC_MSG_ERROR([gdiplus.dll is missing in external/gdiplus/. 5707Get it from the Microsoft site and put it into external/gdiplus. 5708You may have to search Microsoft's website. Last time it was seen at: 5709<http://www.microsoft.com/downloads/details.aspx?familyid=6A63AB9C-DF12-4D41-933C-BE590FEAA05A&displaylang=en>.]) 5710 fi 5711fi 5712 --- 1703 unchanged lines hidden --- |