1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/mirrors-yaws

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
configure.ac 20 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
Steve Vinoski Отправлено 19.02.2024 22:36 251c8a8
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571
dnl ------------------------------------------------------------------
dnl Autoconf initialization.
dnl ------------------------------------------------------------------
m4_define([VERSION_NUMBER], m4_esyscmd([. ./vsn.mk && printf '%s' ${YAWS_VSN}]))
AC_INIT([yaws], VERSION_NUMBER)
AC_CONFIG_SRCDIR([src/yaws_app.erl])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR([ac-aux])
dnl work out who the cpu, vendor and OS are
AC_CANONICAL_SYSTEM
AC_DEFINE_UNQUOTED(CPU_VENDOR_OS, "$host")
AM_INIT_AUTOMAKE([1.11 -Wall -Wno-portability foreign])
AC_PREREQ([2.64])
ECHO=echo
COLORED_ECHO_INIT
dnl ------------------------------------------------------------------
dnl Compiler and other tools.
dnl ------------------------------------------------------------------
old_cflags="$CFLAGS"
AM_SILENT_RULES([yes])
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
dnl AC_PREFIX_DEFAULT(/usr)
AC_PROG_CC
AC_PROG_GCC_TRADITIONAL
AC_PROG_LD
AC_PROG_INSTALL
AC_PROG_MAKE_SET
AC_PROG_SED
AC_PROG_MKDIR_P
AM_DISABLE_STATIC
AM_ENABLE_SHARED
AM_PROG_LIBTOOL
CFLAGS="-Werror -Wall -O3 $old_cflags"
dnl ------------------------------------------------------------------
dnl Handle configure options.
dnl ------------------------------------------------------------------
AC_ARG_WITH([defaultcharset],
AC_HELP_STRING([--with-defaultcharset=CHARSET],
[specify default charset, i.e UTF-8]),
with_defaultcharset=${withval%/},
with_defaultcharset="")
if test "x${with_defaultcharset}" = "x"; then
DEFAULT_CHARSET=undefined
else
DEFAULT_CHARSET="\"${with_defaultcharset}\""
fi
AC_SUBST(DEFAULT_CHARSET)
AC_ARG_WITH([extrainclude],
AS_HELP_STRING([--with-extrainclude=DIR],
[dir to include if e.g. pam is installed in some odd place]),
with_extrainclude=${withval%/},
with_extrainclude="")
if test "x$with_extrainclude" = "x" ; then
EXTRAINCLUDE=
else
EXTRAINCLUDE=-I${with_extrainclude}
fi
AC_SUBST(EXTRAINCLUDE)
AC_ARG_ENABLE([pam],
AC_HELP_STRING([--disable-pam],
[disable pam auth]))
AM_CONDITIONAL(WITH_EPAM, [test "x${enable_pam}" != "xno"])
APPDEPS=
AC_ARG_ENABLE(crypto,
AS_HELP_STRING([--enable-crypto],
[adds crypto application to yaws.app file]))
if test "x$enable_crypto" = "xyes"; then
APPDEPS=',crypto'
fi
AC_ARG_ENABLE(compiler,
AS_HELP_STRING([--enable-compiler],
[adds compiler application to yaws.app file]))
if test "x$enable_compiler" = "xyes"; then
APPDEPS="${APPDEPS},compiler"
fi
AC_SUBST(APPDEPS)
DEBUGINFO_OR_DETERMINISTIC=+debug_info
DETERMINISTIC_MACRO=
if test "x${YAWS_DETERMINISTIC_BUILD}" != "x"; then
DEBUGINFO_OR_DETERMINISTIC=+deterministic
DETERMINISTIC_MACRO=-DDETERMINISTIC
PHONY_DEPS=-MP
fi
AC_ARG_ENABLE(deterministic_build,
AS_HELP_STRING([--enable-deterministic-build],
[enable deterministic Yaws build]))
if test "x${enable_deterministic_build}" = "xyes"; then
DEBUGINFO_OR_DETERMINISTIC=+deterministic
DETERMINISTIC_MACRO=-DDETERMINISTIC
PHONY_DEPS=-MP
YAWS_DETERMINISTIC_BUILD=true
fi
AC_SUBST(YAWS_DETERMINISTIC_BUILD)
AC_SUBST(DETERMINISTIC_MACRO)
AC_SUBST(DEBUGINFO_OR_DETERMINISTIC)
AC_SUBST(PHONY_DEPS)
if test "x${SOURCE_DATE_EPOCH}" = "x"; then
SOURCE_DATE_EPOCH=
fi
AC_ARG_WITH(source_date_epoch,
AS_HELP_STRING([--with-source-date-epoch=EPOCH],
[sets build timestamp to EPOCH]),
with_source_date_epoch=${withval},
with_source_date_epoch="")
if test "x${with_source_date_epoch}" != "x"; then
SOURCE_DATE_EPOCH="${with_source_date_epoch}"
fi
AC_SUBST(SOURCE_DATE_EPOCH)
dnl ------------------------------------------------------------------
dnl Erlang environment.
dnl ------------------------------------------------------------------
echo
COLORED_ECHO([%BCheck Erlang environment & applications%b])
tmp_cross_compiling=$cross_compiling
cross_compiling=no
dnl Available flags.
AC_ARG_WITH([erlang],
AC_HELP_STRING([--with-erlang=PREFIX],
[prefix where Erlang is installed (optional)]),
with_erlang=${withval%/},
with_erlang="")
dnl erl(1) is used to compile Erlang modules.
if test "x${with_erlang}" = "x"; then
AC_ERLANG_PATH_ERL
AC_ERLANG_PATH_ERLC
else
erl_path="${with_erlang}/bin"
AC_ERLANG_PATH_ERL(, [$erl_path$PATH_SEPARATOR$PATH])
AC_ERLANG_PATH_ERLC(, [$erl_path$PATH_SEPARATOR$PATH])
fi
if test "x${ERL}" = "x"; then
AC_MSG_ERROR([
Erlang not found. Fill the ERL variable with erl(1) path or provide
Erlang prefix with --with-erlang.])
fi
dnl escript(1) is used by the test suite.
AC_ARG_VAR([ESCRIPT], [Erlang/OTP interpreter command [autodetected]])
if test "x${ESCRIPT}" = "x"; then
if test "x${with_erlang}" = "x"; then
AC_PATH_PROG([ESCRIPT], [escript],,)
else
erl_path="${with_erlang}/bin"
AC_PATH_PROG([ESCRIPT], [escript],,
[$erl_path$PATH_SEPARATOR$PATH])
fi
else
AC_MSG_CHECKING([for escript])
AC_MSG_RESULT([$ESCRIPT])
fi
if test "x${ESCRIPT}" = "x"; then
AC_MSG_WARN([
escript(1) not found. Fill the ESCRIPT variable with escript(1) path if
you want to use the test suite.])
fi
dnl dialyzer(1).
AC_ARG_VAR([DIALYZER], [Erlang/OTP discrepancy analyzer [autodetected]])
if test "x${DIALYZER}" = "x"; then
if test "x${with_erlang}" = "x"; then
AC_PATH_PROG([DIALYZER], [dialyzer],,)
else
erl_path="${with_erlang}/bin"
AC_PATH_PROG([DIALYZER], [dialyzer],,
[$erl_path$PATH_SEPARATOR$PATH])
fi
else
AC_MSG_CHECKING([for dialyzer])
AC_MSG_RESULT([$DIALYZER])
fi
if test "x${DIALYZER}" = "x"; then
AC_MSG_WARN([
dialyzer(1) not found. Fill the DIALYZER variable with dialyzer(1) path if
you want to use it.])
fi
dnl ct_run(1).
AC_ARG_VAR([CT_RUN], [Erlang/OTP Program used for starting Common Test [autodetected]])
if test "x${CT_RUN}" = "x"; then
if test "x${with_erlang}" = "x"; then
AC_PATH_PROG([CT_RUN], [ct_run],,)
else
erl_path="${with_erlang}/bin"
AC_PATH_PROG([CT_RUN], [ct_run],,
[$erl_path$PATH_SEPARATOR$PATH])
fi
else
AC_MSG_CHECKING([for ct_run])
AC_MSG_RESULT([$CT_RUN])
fi
if test "x${CT_RUN}" = "x"; then
AC_MSG_WARN([
ct_run(1) not found. Fill the CT_RUN variable with ct_run(1) path if
you want to use it.])
fi
dnl Declare ERL_LIBS as precious.
AC_ARG_VAR([ERL_LIBS], [Erlang/OTP applications search path [none]])
dnl Get Erlang $ROOT dir and lib dir.
AC_ERLANG_SUBST_ROOT_DIR
AC_ERLANG_SUBST_LIB_DIR
dnl Get ERTS version.
ERLANG_CHECK_ERTS
ERLANG_CHECK_RELEASE
dnl Require Erlang >=22.0 (ERTS 10.4) is required.
AX_COMPARE_VERSION([${ERLANG_ERTS_VER}], [ge], [10.4],
[],
[AC_MSG_ERROR([Erlang 22.0 or higher is required but only Erlang $ERLANG_RELEASE was found!])])
dnl Determine directories for installation.
if test "x${prefix}" != "xNONE" -a "x${ERLANG_INSTALL_LIB_DIR}" = "x"; then
dnl Under $prefix
ERLANG_INSTALL_LIB_DIR='${prefix}/lib'
else
dnl Under default erlang libdir
ERLANG_INSTALL_LIB_DIR='${ERLANG_LIB_DIR}'
fi
AC_ERLANG_SUBST_INSTALL_LIB_DIR
. ${srcdir}/vsn.mk
AC_SUBST(YAWS_VSN)
AC_ERLANG_SUBST_INSTALL_LIB_SUBDIR(AC_PACKAGE_NAME, ${YAWS_VSN})
. ${srcdir}/applications/yapp/vsn.mk
AC_SUBST(YAPP_VSN)
AC_ERLANG_SUBST_INSTALL_LIB_SUBDIR(yapp, ${YAPP_VSN})
dnl ------------------------------------------------------------------
dnl Erlang applicatons.
dnl ------------------------------------------------------------------
AC_ERLANG_CHECK_LIB([kernel],, [AC_MSG_ERROR(["kernel" Erlang application not found.])])
AC_ERLANG_CHECK_LIB([stdlib],, [AC_MSG_ERROR(["stdlib" Erlang application not found.])])
AC_ERLANG_CHECK_LIB([sasl],, [AC_MSG_ERROR(["sasl" Erlang application not found.])])
AC_ERLANG_CHECK_LIB([erts],, [AC_MSG_ERROR(["erts" Erlang application not found.])])
AC_ERLANG_CHECK_LIB([compiler],, [AC_MSG_ERROR(["compiler" Erlang application not found.])])
AC_ERLANG_CHECK_LIB([crypto],, [AC_MSG_ERROR(["crypto" Erlang application not found.])])
AC_ERLANG_CHECK_LIB([xmerl],, [AC_MSG_ERROR(["xmerl" Erlang application not found.])])
AC_ERLANG_CHECK_LIB([public_key],, [AC_MSG_WARN(["public_key" Erlang application not found.
It could be required to run Yaws or its test suites.])])
AC_ERLANG_CHECK_LIB([ssl],, [AC_MSG_WARN(["ssl" Erlang application not found.
It could be required to run Yaws or its test suites.])])
AC_ERLANG_CHECK_LIB([mnesia],, [AC_MSG_WARN(["mnesia" Erlang application not found.
It could be required to run Yaws or its test suites.])])
AC_ERLANG_CHECK_LIB([eunit],, [AC_MSG_WARN(["eunit" Erlang application not found.
It could be required to run Yaws or its test suites.])])
AC_ERLANG_CHECK_LIB([erlsom],, [AC_MSG_WARN(["erlsom" Erlang application not found.
It could be required to run Yaws or its test suites.])])
AC_ERLANG_CHECK_LIB([xmlrpc],, [AC_MSG_WARN(["xmlrpc" Erlang application not found.
It could be required to run Yaws or its test suites.])])
AC_ERLANG_CHECK_LIB([inets],, [AC_MSG_WARN(["inets" Erlang application not found.
It could be required to run Yaws or its test suites.])])
AC_ERLANG_CHECK_LIB([tools],, [AC_MSG_WARN(["tools" Erlang application not found.
It could be required to run Yaws or its test suites.])])
AC_ERLANG_CHECK_LIB([common_test],,[AC_MSG_WARN(["common_test" Erlang application not found.
It could be required to run Yaws or its test suites.])])
cross_compiling=$tmp_cross_compiling
dnl ------------------------------------------------------------------
dnl Check platform-specific stuff
dnl ------------------------------------------------------------------
echo
COLORED_ECHO([%BCheck platform-specific and system requirements%b])
AC_MSG_CHECKING([for the build and host architectures])
case "$host_os" in
*cygwin*)
AC_MSG_RESULT([windows (native)])
CYGWIN=true
AC_PATH_PROG(WERL, werl)
AC_SUBST(WERL)
;;
mingw|mingw32*)
AC_MSG_RESULT([windows (cross-compiled)])
MINGW=true
AC_PATH_PROG(WERL, werl)
AC_SUBST(WERL)
;;
*)
AC_MSG_RESULT([$host_os])
dnl Sigh, pam headers do not seem to have a standard place. On FreeBSD and
dnl Linuxes I've seen they are in /usr/include/security, but MacOS has them
dnl in /usr/include/pam, /usr/include/security, or under a special SDK directory.
EPAM_CFLAGS=
EPAM_INCLUDE=
if test "x$enable_pam" != "xno"; then
AC_CHECK_HEADERS([security/pam_appl.h pam/pam_appl.h pam_appl.h],[break])
case "$host_os" in
darwin*)
if ! test -d /usr/include; then
AC_CHECK_PROGS([XCRUN], [xcrun])
if test "x$XCRUN" != "x"; then
AC_MSG_CHECKING([for $XCRUN --show-sdk-path])
sdk_dir=`$XCRUN --show-sdk-path`
if test "x$sdk_dir" != "x"; then
AC_MSG_RESULT([$sdk_dir])
EPAM_INCLUDE="$sdk_dir"
else
AC_MSG_RESULT([no])
fi
fi
fi
;;
*)
;;
esac
if test "x$ac_cv_header_security_pam_appl_h" = "xyes" ; then
EPAM_CFLAGS='-I$(EPAM_INCLUDE)/usr/include/security'
elif test "x$ac_cv_header_pam_pam_appl_h" = "xyes" ; then
EPAM_CFLAGS='-I$(EPAM_INCLUDE)/usr/include/pam'
elif test "x$ac_cv_header_pam_appl_h" = "xno" ; then
AC_MSG_ERROR("Could not find pam_appl.h required for pam authentication")
fi
AC_CHECK_LIB(pam,pam_start,[],[AC_MSG_ERROR("Could not find pam library")])
fi
AC_SUBST(EPAM_INCLUDE)
AC_SUBST(EPAM_CFLAGS)
;;
esac
AM_CONDITIONAL(CYGWIN, [test "x$CYGWIN" = "xtrue"])
AM_CONDITIONAL(MINGW, [test "x$MINGW" = "xtrue"])
AM_CONDITIONAL(WINDOWS, [test "x$MINGW" = "xtrue" -o "x$CYGWIN" = "xtrue"])
dnl ------------------------------------------------------------------
dnl Check for programs used during Yaws compilation/installation
dnl ------------------------------------------------------------------
echo
COLORED_ECHO([%BCheck programs support%b])
dnl Make LaTeX and related commands configurable
dnl
dnl We might want to check whether latex is pdflatex and creates PDF instead of
dnl DVI without being given -output-format=dvi. However, this at least allows
dnl to give the working command at configure time.
AC_ARG_VAR([DVILATEX], [(pdf)latex command creating DVI file])
AC_CHECK_PROG([DVILATEX], [latex], [latex])
AC_ARG_VAR([DVIPS], [dvips command])
AC_CHECK_PROG([DVIPS], [dvips], [dvips])
AC_ARG_VAR([PDFLATEX], [(pdf)latex command creating PDF file])
AC_CHECK_PROG([PDFLATEX], [pdflatex], [pdflatex])
AC_ARG_VAR([EPSTOPDF], [epstopdf command])
AC_CHECK_PROG([EPSTOPDF], [epstopdf], [epstopdf])
AC_ARG_VAR([MAN], [man command creating manpages])
AC_CHECK_PROG([MAN], [man], [man])
AC_ARG_VAR([PS2PDF], [ps2pdf command creating PDF file])
AC_CHECK_PROG([PS2PDF], [ps2pdf], [ps2pdf])
AM_CONDITIONAL(CAN_BUILD_DOC,
[test "x$DVILATEX" != "x" && test "x$DVIPS" != "x" && test "x$PDFLATEX" != "x" && test "x$EPSTOPDF" != "x"])
AC_ARG_VAR([CADAVER], [command-line WebDAV client for Unix])
AC_CHECK_PROG([CADAVER], [cadaver], [cadaver])
AC_ARG_VAR([CURL], [command-line tool for transferring data with URL syntax])
AC_CHECK_PROG([CURL], [curl], [curl])
AC_ARG_VAR([UNIX2DOS], [converts DOS <-> Unix text files])
AC_CHECK_PROG([UNIX2DOS], [unix2dos], [unix2dos])
AC_ARG_VAR([TODOS], [converts DOS <-> Unix text files])
AC_CHECK_PROG([TODOS], [todos], [todos])
AC_ARG_VAR([INSTALL_BUILDER], [BitRock InstallBuilder directory ['${HOME}/installbuilder-5.4.14']])
if test "x${INSTALL_BUILDER}" = "x"; then
INSTALL_BUILDER="${HOME}/installbuilder-5.4.14"
fi
dnl ------------------------------------------------------------------
dnl Final path substitutions
dnl ------------------------------------------------------------------
AM_CONDITIONAL(HAVE_TS_TOOLS, [(test "x${CT_RUN}" != "x") &&
(test "${ERLANG_LIB_DIR_common_test}" != "not found") &&
(test "${ERLANG_LIB_DIR_eunit}" != "not found") &&
(test "${ERLANG_LIB_DIR_inets}" != "not found") &&
(test "${ERLANG_LIB_DIR_tools}" != "not found")])
AC_ARG_VAR([confdir], [Default Yaws configuration directory ['$(sysconfdir)/yaws']])
if test "x${confdir}" = "x"; then
confdir='$(sysconfdir)/yaws'
fi
AC_ARG_VAR([wwwdir], [Default Yaws docroot ['$(localstatedir)/yaws/www']])
if test "x${wwwdir}" = "x"; then
wwwdir='$(localstatedir)/yaws/www'
fi
AC_ARG_VAR([appsdir], [Default Yaws applications directory ['$(localstatedir)/yaws']])
if test "x${appsdir}" = "x"; then
appsdir='$(localstatedir)/yaws'
fi
AC_ARG_VAR([logdir], [Default Yaws log directory ['$(localstatedir)/log/yaws']])
if test "x${logdir}" = "x"; then
logdir='$(localstatedir)/log/yaws'
fi
AC_ARG_VAR([yawsdir], [Default Yaws installation directory ['$(libdir)/yaws'].
If not specified, it is a link on '$(ERLANG_INSTALL_LIB_DIR_yaws)'])
if test "x${yawsdir}" = "x"; then
yawsdir='$(libdir)/yaws'
else
dnl If yawsdir is defined, replace ERLANG_INSTALL_LIB_DIR_yaws too
ERLANG_INSTALL_LIB_DIR_yaws='${yawsdir}'
fi
AC_ARG_VAR([yappdir], [Default Yapp installation directory ['$(libdir)/yapp'].
If not specified, it is a link on '$(ERLANG_INSTALL_LIB_DIR_yapp)'])
if test "x${yappdir}" = "x"; then
yappdir='$(libdir)/yapp'
else
dnl If yappdir is defined, replace ERLANG_INSTALL_LIB_DIR_yapp too
ERLANG_INSTALL_LIB_DIR_yapp='${yappdir}'
fi
dnl ------------------------------------------------------------------
dnl Autoconf output.
dnl ------------------------------------------------------------------
AC_SUBST([CONFIG_STATUS_DEPENDENCIES],
['$(top_srcdir)/vsn.mk \
$(top_srcdir)/erlang_deps.mk \
$(top_srcdir)/include.mk.in \
$(top_srcdir)/scripts/gen-yaws-generated.in \
$(top_srcdir)/applications/yapp/vsn.mk \
$(top_srcdir)/test/run_common_test.in \
$(top_srcdir)/test/yaws.coverspec.in \
$(top_srcdir)/test/cover_to_html.sh.in \
$(top_srcdir)/test/analyze_coverdata.escript.in'])
AC_CONFIG_FILES([
yaws.pc
Makefile
include.mk
c_src/Makefile
win32/Makefile
win32/build.xml
man/Makefile
doc/Makefile
scripts/Makefile
src/Makefile
ebin_src/Makefile
examples/src/Makefile
examples/ebin/Makefile
examples/include/Makefile
www/code/Makefile
www/shoppingcart/Makefile
test/Makefile
test/${PACKAGE_NAME}.coverspec
test/testsuite.hrl
applications/chat/Makefile
applications/chat/src/Makefile
applications/chat/ebin/Makefile
applications/mail/Makefile
applications/mail/src/Makefile
applications/mail/ebin/Makefile
applications/wiki/Makefile
applications/wiki/src/Makefile
applications/wiki/ebin/Makefile
applications/yapp/Makefile
applications/yapp/src/Makefile
applications/yapp/ebin/Makefile
src/yaws_charset.hrl
src/yaws_appdeps.hrl
])
AC_CONFIG_FILES([test/run_common_test], [chmod +x test/run_common_test])
AC_CONFIG_FILES([test/cover_to_html.sh], [chmod +x test/cover_to_html.sh])
AC_CONFIG_FILES([test/analyze_coverdata.escript], [chmod +x test/analyze_coverdata.escript])
AC_CONFIG_FILES([scripts/make-release], [chmod +x scripts/make-release])
AC_CONFIG_FILES([scripts/gen-yaws-generated], [chmod +x scripts/gen-yaws-generated])
AC_CONFIG_FILES([applications/wiki/scripts/addFile], [chmod +x applications/wiki/scripts/addFile])
AC_CONFIG_FILES([applications/wiki/scripts/getPassword], [chmod +x applications/wiki/scripts/getPassword])
AC_CONFIG_FILES([applications/wiki/scripts/importFiles], [chmod +x applications/wiki/scripts/importFiles])
AC_CONFIG_FILES([applications/wiki/scripts/updateWiki], [chmod +x applications/wiki/scripts/updateWiki])
dnl when srcdir != builddir, we need to create some symlinks
AC_CONFIG_FILES([include/Makefile], [
AS_IF([test -e include/yaws.hrl],
[], [ln -s ${ac_abs_srcdir}/yaws.hrl include/yaws.hrl])
AS_IF([test -e include/yaws_api.hrl],
[], [ln -s ${ac_abs_srcdir}/yaws_api.hrl include/yaws_api.hrl])
])
AC_CONFIG_FILES([priv/Makefile], [
AS_IF([test -e priv/mime.types],
[], [ln -s ${ac_abs_srcdir}/mime.types priv/mime.types])
])
AC_OUTPUT
dnl --------------------------------------------------
dnl Configuration report
dnl --------------------------------------------------
echo
COLORED_ECHO([ %B== ${PACKAGE_NAME} ${PACKAGE_VERSION} ==%b])
echo
COLORED_ECHO([Configuration:])
COLORED_ECHO([ %BApplication dir.%b: ${ERLANG_INSTALL_LIB_DIR_yaws}])
echo
COLORED_ECHO([ %BPrefix%b: ${prefix}])
COLORED_ECHO([ %Betcdir%b: ${sysconfdir}])
COLORED_ECHO([ %Bconfdir%b: ${confdir}])
COLORED_ECHO([ %Bbindir%b: ${bindir}])
COLORED_ECHO([ %Bvardir%b: ${localstatedir}])
COLORED_ECHO([ %Bwwwdir%b: ${wwwdir}])
COLORED_ECHO([ %Bappsdir%b: ${appsdir}])
COLORED_ECHO([ %Blogdir%b: ${logdir}])
COLORED_ECHO([ %Byawsdir%b: ${yawsdir}])
COLORED_ECHO([ %Bdocdir%b: ${docdir}])
COLORED_ECHO([ %Bmandir%b: ${mandir}])
echo
COLORED_ECHO([ %BErlang root dir%b: ${ERLANG_ROOT_DIR}])
COLORED_ECHO([ %BErlang lib dir%b: ${ERLANG_LIB_DIR}])
COLORED_ECHO([ %BErlang compiler%b: ${ERLC}])
COLORED_ECHO([ %BErlang emulator%b: ${ERL}])
COLORED_ECHO([ %BWindows Erlang emulator%b: ${WERL}])
COLORED_ECHO([ %BErlang interpreter%b: ${ESCRIPT}])
COLORED_ECHO([ %BErlang dialyzer tool%b: ${DIALYZER}])
COLORED_ECHO([ %BErlang ct_run tool%b: ${CT_RUN}])
echo

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/mirrors-yaws.git
git@api.gitlife.ru:oschina-mirror/mirrors-yaws.git
oschina-mirror
mirrors-yaws
mirrors-yaws
master