Last change
on this file since 83937b8 was
6a0fcf9,
checked in by OpenGnSys Support Team <soporte-og@…>, 5 years ago
|
#970 autotools support for ogAdmServer
To build and to install ogAdmServer:
autoreconf -fi
./configure
make
make install
Default prefix is /opt/opengnsys/ as usual.
ogAdmServer uses autotools for compilation, so this patch adapts OpenGnsys
updater and installer to use autotools for compilation.
|
-
Property mode set to
100644
|
File size:
692 bytes
|
Rev | Line | |
---|
[6a0fcf9] | 1 | AC_INIT(ogAdmServer, 1.1.1, opengnsys-devel@listas.unizar.es) |
---|
| 2 | AC_CONFIG_AUX_DIR([build-aux]) |
---|
| 3 | AC_PREFIX_DEFAULT(/opt/opengnsys) |
---|
| 4 | |
---|
| 5 | AC_CANONICAL_HOST |
---|
| 6 | AC_CONFIG_MACRO_DIR([m4]) |
---|
| 7 | AM_INIT_AUTOMAKE([-Wall foreign subdir-objects tar-pax no-dist-gzip dist-bzip2 1.6]) |
---|
| 8 | |
---|
| 9 | m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) |
---|
| 10 | |
---|
| 11 | AC_PROG_CC |
---|
| 12 | AC_PROG_INSTALL |
---|
| 13 | AC_PROG_LN_S |
---|
| 14 | |
---|
| 15 | case "$host" in |
---|
| 16 | *-*-linux*) ;; |
---|
| 17 | *) AC_MSG_ERROR([Linux only, sorry!]);; |
---|
| 18 | esac |
---|
| 19 | |
---|
| 20 | AC_CHECK_LIB([jansson], [json_object], , AC_MSG_ERROR([libjansson not found])) |
---|
| 21 | AC_CHECK_LIB([dbi], [dbi_initialize], , AC_MSG_ERROR([libdbi not found])) |
---|
| 22 | AC_CHECK_LIB([ev], [ev_loop_new], , AC_MSG_ERROR([libev not found])) |
---|
| 23 | |
---|
| 24 | AC_CONFIG_FILES([Makefile]) |
---|
| 25 | AC_OUTPUT |
---|
Note: See
TracBrowser
for help on using the repository browser.