X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=m4%2Fjre-layout.m4;h=29184d56140d06cbc2f939e2005dbc9291860cb7;hb=03349a3953e0f217d686d88b99fa176509a27559;hp=25c08b5b70e0ed858507ec0075156e69ae73de9e;hpb=055c59c5b0f8c0b939bab81c2f8d48c25c4eaa5d;p=cacao.git diff --git a/m4/jre-layout.m4 b/m4/jre-layout.m4 index 25c08b5b7..29184d561 100644 --- a/m4/jre-layout.m4 +++ b/m4/jre-layout.m4 @@ -23,19 +23,19 @@ dnl 02110-1301, USA. dnl if we compile for a JRE-style directory layout -AC_DEFUN([AC_CHECK_WITH_JRE_LAYOUT],[ +AC_DEFUN([AC_CHECK_ENABLE_JRE_LAYOUT],[ AC_MSG_CHECKING(if we compile for a JRE-style directory layout) -AC_ARG_WITH([jre-layout], - [AS_HELP_STRING(--with-jre-layout,compile for JRE-style directory layout [[default=no]])], - [case "${withval}" in - yes) - WITH_JRE_LAYOUT=yes - AC_DEFINE([WITH_JRE_LAYOUT], 1, [with JRE layout]) - ;; - *) - WITH_JRE_LAYOUT=no - ;; - esac], - [WITH_JRE_LAYOUT=no]) -AC_MSG_RESULT(${WITH_JRE_LAYOUT}) +AC_ARG_ENABLE([jre-layout], + [AS_HELP_STRING(--enable-jre-layout,compile for JRE-style directory layout [[default=disabled]])], + [case "${enableval}" in + yes) + ENABLE_JRE_LAYOUT=yes + AC_DEFINE([ENABLE_JRE_LAYOUT], 1, [enable JRE layout]) + ;; + *) + ENABLE_JRE_LAYOUT=no + ;; + esac], + [ENABLE_JRE_LAYOUT=no]) +AC_MSG_RESULT(${ENABLE_JRE_LAYOUT}) ])