~evergreen-bugs/evergreen/rel_3_11

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: phasefx
  • Date: 2010-08-24 19:04:20 UTC
  • Revision ID: git-v1:53a0bd89fe11176c309b6bcf7f812e3bb60b1283
Staff Client Build/Update Enhancements patch from Thomas Berezansky

Among other things, allows cross-compilation of Windows installers from Unix environments via NSIS, and enables Mozilla's upgrade mechanism for performing upgrades without needing to download and execute external files.

See https://bugs.launchpad.net/evergreen/+bug/616452/ for more details.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17330 dcc99617-32d9-48b4-a31d-7c20da2025e4

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
#    yes) openils_all=true;
53
53
#        openils_core=true;
54
54
#        openils_web=true;
 
55
#        openils_updates=true;
55
56
#        openils_reporter=true;
56
57
#        openils_client_xul=true;
57
58
#        openils_server_xul=true ;;
85
86
 
86
87
AM_CONDITIONAL([BUILDILSWEB], [test x$openils_web = xtrue])
87
88
 
 
89
# install evergreen-updates?
 
90
 
 
91
AC_ARG_ENABLE([updates],
 
92
[  --disable-updates    disables installation of the Evergreen updates folder ],
 
93
[case "${enableval}" in
 
94
    yes) openils_updates=true ;;
 
95
    no)  openils_updates=false ;;
 
96
  *) AC_MSG_ERROR([please choose another value for --disable-updates (supported values are yes or no])
 
97
esac],
 
98
[openils_updates=true])
 
99
 
 
100
AM_CONDITIONAL([BUILDILSUPDATES], [test x$openils_updates = xtrue])
 
101
 
 
102
# Default updates host?
 
103
AC_ARG_WITH([updateshost],
 
104
[  --with-updateshost=hostname    default hostname for automatic updates (default is blank)],
 
105
[AUTOUPDATE_HOST=${withval}],
 
106
[AUTOUPDATE_HOST=])
 
107
AC_SUBST([AUTOUPDATE_HOST])
 
108
 
88
109
# install Evergreen Apache modules?
89
110
AC_ARG_ENABLE([apache-modules],
90
111
[  --disable-apache-modules    disables installation of the Evergreen Apache modules ],
350
371
AC_CONFIG_FILES([Makefile
351
372
                 Open-ILS/src/Makefile
352
373
                 Open-ILS/web/Makefile
 
374
                 Open-ILS/updates/Makefile
353
375
                 Open-ILS/xul/staff_client/Makefile
354
376
                 Open-ILS/src/extras/eg_config
355
377
                 Open-ILS/src/extras/fast-extract],
383
405
else
384
406
        AC_MSG_RESULT([Evergreen Web:                   no])
385
407
fi
 
408
if test "$openils_updates" = "true" ; then
 
409
        AC_MSG_RESULT([Evergreen Updates:               yes])
 
410
else
 
411
        AC_MSG_RESULT([Evergreen Updates:               no])
 
412
fi
386
413
if test "$openils_reporter" = "true" ; then
387
414
        AC_MSG_RESULT([Evergreen Reporter:              yes])
388
415
else