|
Lines 127-133
Link Here
|
| 127 |
AC_ARG_ENABLE(java, |
127 |
AC_ARG_ENABLE(java, |
| 128 |
AC_HELP_STRING([--enable-java], |
128 |
AC_HELP_STRING([--enable-java], |
| 129 |
[enable support for Java via ikvm [default=no]]), |
129 |
[enable support for Java via ikvm [default=no]]), |
| 130 |
[PKG_CHECK_MODULES(IKVM, ikvm >= $IKVM_REQUIRED_VERSION, enable_java=yes, enable_java=no)], |
130 |
[PKG_CHECK_MODULES(IKVM, ikvm >= $IKVM_REQUIRED_VERSION, , enable_java=no)], |
| 131 |
enable_java=no) |
131 |
enable_java=no) |
| 132 |
AM_CONDITIONAL(ENABLE_JAVA, test x$enable_java = xyes) |
132 |
AM_CONDITIONAL(ENABLE_JAVA, test x$enable_java = xyes) |
| 133 |
|
133 |
|
|
Lines 135-141
Link Here
|
| 135 |
AC_ARG_ENABLE(boo, |
135 |
AC_ARG_ENABLE(boo, |
| 136 |
AC_HELP_STRING([--enable-boo], |
136 |
AC_HELP_STRING([--enable-boo], |
| 137 |
[enable support for boo [default=no]]), |
137 |
[enable support for boo [default=no]]), |
| 138 |
[PKG_CHECK_MODULES(BOO, boo >= $BOO_REQUIRED_VERSION, enable_boo=yes, enable_boo=no)], |
138 |
[PKG_CHECK_MODULES(BOO, boo >= $BOO_REQUIRED_VERSION, , enable_boo=no)], |
| 139 |
enable_boo=no) |
139 |
enable_boo=no) |
| 140 |
|
140 |
|
| 141 |
AM_CONDITIONAL(ENABLE_BOO, test x$enable_boo = xyes) |
141 |
AM_CONDITIONAL(ENABLE_BOO, test x$enable_boo = xyes) |
|
Lines 149-155
Link Here
|
| 149 |
AC_ARG_ENABLE(nemerle, |
149 |
AC_ARG_ENABLE(nemerle, |
| 150 |
AC_HELP_STRING([--enable-nemerle], |
150 |
AC_HELP_STRING([--enable-nemerle], |
| 151 |
[enable support for Nemerle [default=no]]), |
151 |
[enable support for Nemerle [default=no]]), |
| 152 |
[PKG_CHECK_MODULES(NEMERLE, nemerle >= $NEMERLE_REQUIRED_VERSION, enable_nemerle=yes, enable_nemerle=no)], |
152 |
[PKG_CHECK_MODULES(NEMERLE, nemerle >= $NEMERLE_REQUIRED_VERSION, , enable_nemerle=no)], |
| 153 |
enable_nemerle=no) |
153 |
enable_nemerle=no) |
| 154 |
|
154 |
|
| 155 |
AM_CONDITIONAL(ENABLE_NEMERLE, test x$enable_nemerle = xyes) |
155 |
AM_CONDITIONAL(ENABLE_NEMERLE, test x$enable_nemerle = xyes) |
|
Lines 295-301
Link Here
|
| 295 |
AC_ARG_ENABLE(aspnet, |
295 |
AC_ARG_ENABLE(aspnet, |
| 296 |
AC_HELP_STRING([--enable-aspnet], |
296 |
AC_HELP_STRING([--enable-aspnet], |
| 297 |
[enable ASP.NET project support [default=no]]), |
297 |
[enable ASP.NET project support [default=no]]), |
| 298 |
enable_aspnet=yes, enable_aspnet=no) |
298 |
, enable_aspnet=no) |
| 299 |
|
299 |
|
| 300 |
if test "x$enable_aspnet" = "xyes"; then |
300 |
if test "x$enable_aspnet" = "xyes"; then |
| 301 |
PKG_CHECK_MODULES(XSP, xsp >= $XSP_VERSION xsp-2 >= $XSP2_VERSION) |
301 |
PKG_CHECK_MODULES(XSP, xsp >= $XSP_VERSION xsp-2 >= $XSP2_VERSION) |
|
Lines 323-332
Link Here
|
| 323 |
MOZILLA_HOME=$(grep -h GRE_PATH= /etc/gre.d/*.conf | cut -d '"' -f 2 -d = | head -n 1) |
323 |
MOZILLA_HOME=$(grep -h GRE_PATH= /etc/gre.d/*.conf | cut -d '"' -f 2 -d = | head -n 1) |
| 324 |
elif [ $(which mozilla 2>/dev/null) ] && grep MOZILLA_FIVE_HOME= "$(which mozilla)" > /dev/null ; then |
324 |
elif [ $(which mozilla 2>/dev/null) ] && grep MOZILLA_FIVE_HOME= "$(which mozilla)" > /dev/null ; then |
| 325 |
MOZILLA_HOME=$(grep MOZILLA_FIVE_HOME= $(which mozilla) | cut -d '"' -f 2 | cut -d '=' -f 2 ) |
325 |
MOZILLA_HOME=$(grep MOZILLA_FIVE_HOME= $(which mozilla) | cut -d '"' -f 2 | cut -d '=' -f 2 ) |
| 326 |
elif [ $(which firefox 2>/dev/null) ] && grep MOZILLA_FIVE_HOME= "$(which firefox)" > /dev/null ; then |
|
|
| 327 |
MOZILLA_HOME=$(grep MOZILLA_FIVE_HOME= $(which firefox) | cut -d '"' -f 2 | cut -d '=' -f 2 ) |
| 328 |
elif [ $(which firefox 2>/dev/null) ] && grep MOZILLA_LIBDIR= "$(which firefox)" > /dev/null ; then |
326 |
elif [ $(which firefox 2>/dev/null) ] && grep MOZILLA_LIBDIR= "$(which firefox)" > /dev/null ; then |
| 329 |
MOZILLA_HOME=$(grep MOZILLA_LIBDIR= $(which firefox) | cut -d '"' -f 2 | cut -d '=' -f 2) |
327 |
MOZILLA_HOME=$(grep MOZILLA_LIBDIR= $(which firefox) | cut -d '"' -f 2 | cut -d '=' -f 2 ) |
|
|
328 |
elif [ $(which seamonkey 2>/dev/null) ] && grep MOZILLA_LIBDIR= "$(which seamonkey)" > /dev/null ; then |
| 329 |
MOZILLA_HOME=$(grep MOZILLA_LIBDIR= $(which seamonkey) | cut -d '"' -f 2 | cut -d '=' -f 2) |
| 330 |
else |
330 |
else |
| 331 |
if test "x$enable_aspnetedit" = "xyes"; then |
331 |
if test "x$enable_aspnetedit" = "xyes"; then |
| 332 |
AC_MSG_ERROR([Cannot detect Mozilla library directory. AspNetEdit addin cannot be built.]) |
332 |
AC_MSG_ERROR([Cannot detect Mozilla library directory. AspNetEdit addin cannot be built.]) |
|
Lines 342-348
Link Here
|
| 342 |
AC_ARG_ENABLE(aspnetedit, |
342 |
AC_ARG_ENABLE(aspnetedit, |
| 343 |
AC_HELP_STRING([--enable-aspnetedit], |
343 |
AC_HELP_STRING([--enable-aspnetedit], |
| 344 |
[enable ASP.NET visual designer support [default=no]]), |
344 |
[enable ASP.NET visual designer support [default=no]]), |
| 345 |
enable_aspnetedit=yes, enable_aspnetedit=no) |
345 |
, enable_aspnetedit=no) |
| 346 |
|
346 |
|
| 347 |
if test "x$enable_aspnet" = "xno"; then |
347 |
if test "x$enable_aspnet" = "xno"; then |
| 348 |
enable_aspnetedit=no |
348 |
enable_aspnetedit=no |