X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fautoconf%2Fconfigure.in;h=2ca1069c6e43658c44d6877df5e46a356d72d08b;hb=5a0e1c1f28ceb89d68b8d18909733a8220720cd5;hp=787532b732f3404a2fb432315e4e3c6c6189d45d;hpb=8bc6d4fd3e521c260fd28231a2d796711362dcd8;p=bacula%2Fbacula diff --git a/bacula/autoconf/configure.in b/bacula/autoconf/configure.in index 787532b732..2ca1069c6e 100644 --- a/bacula/autoconf/configure.in +++ b/bacula/autoconf/configure.in @@ -142,6 +142,11 @@ support_smartalloc=yes support_readline=yes support_gnome=no support_static_tools=no +support_static_fd=no +support_static_sd=no +support_static_dir=no +support_static_cons=no +build_client_only=no cats= db_name=Internal DB_NAME=bdb @@ -149,17 +154,12 @@ DB_NAME=bdb dnl# -------------------------------------------------------------------------- dnl# CHECKING COMMAND LINE OPTIONS dnl# -------------------------------------------------------------------------- -AC_ARG_ENABLE(everything, - [ --enable-everything enable standard non-multichoice features: marked *], - [if test x$enableval = xyes; then - support_smartalloc=yes - fi]) # ------------------------------------------- # gnome (default off) # ------------------------------------------- AC_ARG_ENABLE(gnome, - [ --enable-gnome enable build of gnome-console GUI *], + [ --enable-gnome enable build of gnome-console GUI [disabled]], [if test x$enableval = xyes; then support_gnome=yes fi]) @@ -176,7 +176,7 @@ AC_SUBST(GNOME_DIR) # smartalloc (default off) # ------------------------------------------- AC_ARG_ENABLE(smartalloc, - [ --enable-smartalloc enable smartalloc debugging support *], + [ --enable-smartalloc enable smartalloc debugging support [disabled]], [if test x$enableval = xno; then support_smartalloc=no fi]) @@ -189,7 +189,7 @@ fi # static-tools (default off) # ------------------------------------------- AC_ARG_ENABLE(static-tools, - [ --enable-static-tools enable static tape tools *], + [ --enable-static-tools enable static tape tools [disabled]], [if test x$enableval = xyes; then support_static_tools=yes fi]) @@ -200,15 +200,88 @@ if test x$support_static_tools = xyes; then fi AC_SUBST(TTOOL_LDFLAGS) +# ------------------------------------------- +# static-fd (default off) +# ------------------------------------------- +AC_ARG_ENABLE(static-fd, + [ --enable-static-fd enable static File daemon [disabled]], + [if test x$enableval = xyes; then + support_static_fd=yes + fi]) +STATIC_FD= +if test x$support_static_fd = xyes; then + STATIC_FD="static-bacula-fd" +fi +AC_SUBST(STATIC_FD) +# ------------------------------------------- +# static-sd (default off) +# ------------------------------------------- +AC_ARG_ENABLE(static-sd, + [ --enable-static-sd enable static Storage daemon [disabled]], + [if test x$enableval = xyes; then + support_static_sd=yes + fi]) + +STATIC_SD= +if test x$support_static_sd = xyes; then + STATIC_SD="static-bacula-sd" +fi +AC_SUBST(STATIC_SD) + +# ------------------------------------------- +# static-dir (default off) +# ------------------------------------------- +AC_ARG_ENABLE(static-dir, + [ --enable-static-dir enable static Director [disabled]], + [if test x$enableval = xyes; then + support_static_dir=yes + fi]) + +STATIC_DIR= +if test x$support_static_dir = xyes; then + STATIC_DIR="static-bacula-dir" +fi +AC_SUBST(STATIC_DIR) + +# ------------------------------------------- +# static-cons (default off) +# ------------------------------------------- +AC_ARG_ENABLE(static-cons, + [ --enable-static-cons enable static Console [disabled]], + [if test x$enableval = xyes; then + support_static_cons=yes + fi]) + +STATIC_CONS= +if test x$support_static_cons = xyes; then + STATIC_CONS="static-console" +fi +AC_SUBST(STATIC_CONS) + +# ------------------------------------------- +# client_only (default off) +# ------------------------------------------- +AC_ARG_ENABLE(client-only, + [ --enable-client-only build client (File daemon) only [disabled]], + [if test x$enableval = xyes; then + build_client_only=yes + fi]) +if test x$build_client_only = xno; then + ALL_DIRS="subdirs" +else + ALL_DIRS="" +fi +AC_SUBST(ALL_DIRS) # --------------------------------------------------- # Check for readline support/directory (default on) # --------------------------------------------------- # this allows you to turn it completely off AC_ARG_ENABLE(readline, - [ --disable-readline disable readline support ], + [ --disable-readline disable readline support [enabled] + ], [if test x$enableval = xno; then support_readline=no fi]) @@ -217,7 +290,7 @@ got_readline="no" READLINE_SRC= if test x$support_readline = xyes; then AC_ARG_WITH(readline, - [ --with-readline[=DIR] Specify readline library directory], + [ --with-readline=DIR specify readline library directory], [ case "$with_readline" in no) : ;; @@ -417,7 +490,7 @@ AC_CHECK_HEADERS(varargs.h \ # ----------------------------------------------------------- TCPW_MSG="no" AC_ARG_WITH(tcp-wrappers, - [ --with-tcp-wrappers=DIR Enable tcpwrappers support], + [ --with-tcp-wrappers=DIR enable tcpwrappers support], [ if test "x$withval" != "xno" ; then saved_LIBS="$LIBS" @@ -445,7 +518,7 @@ AC_ARG_WITH(tcp-wrappers, # ------------------------------------------ working_dir=`eval echo ${sysconfdir}/working` AC_ARG_WITH(working-dir, - [ --with-working-dir=PATH Specify location of Bacula working files], + [ --with-working-dir=PATH specify path of Bacula working directory], [ if test "x$withval" != "xno" ; then working_dir=$withval @@ -460,7 +533,7 @@ AC_SUBST(working_dir) # ------------------------------------------ dump_email=root@localhost AC_ARG_WITH(dump-email, - [ --with-dump-email=Dump email address], + [ --with-dump-email=EMAIL dump email address], [ if test "x$withval" != "xno" ; then dump_email=$withval @@ -475,7 +548,7 @@ AC_SUBST(dump_email) # ------------------------------------------ job_email=root@localhost AC_ARG_WITH(job-email, - [ --with-job-email=Job output email address], + [ --with-job-email=EMAIL job output email address], [ if test "x$withval" != "xno" ; then job_email=$withval @@ -490,7 +563,7 @@ AC_SUBST(job_email) # ------------------------------------------ smtp_host=localhost AC_ARG_WITH(smtp_host, - [ --with-smtp-host=SMTP mail host address], + [ --with-smtp-host=HOST SMTP mail host address], [ if test "x$withval" != "xno" ; then smtp_host=$withval @@ -506,7 +579,7 @@ AC_SUBST(smtp_host) # ------------------------------------ piddir=/var/run AC_ARG_WITH(pid-dir, - [ --with-pid-dir=PATH Specify location of Bacula pid files], + [ --with-pid-dir=PATH specify location of Bacula pid files], [ if test "x$withval" != "xno" ; then piddir=$withval @@ -531,7 +604,7 @@ AC_SUBST(piddir) # ------------------------------------ subsysdir=/var/run/subsys AC_ARG_WITH(subsys-dir, - [ --with-subsys-dir=PATH Specify location of Bacula subsys file], + [ --with-subsys-dir=PATH specify location of Bacula subsys file], [ if test "x$withval" != "xno" ; then subsysdir=$withval @@ -556,7 +629,7 @@ AC_SUBST(subsysdir) # ------------------------------------ baseport=9101 AC_ARG_WITH(baseport, - [ --with-baseport=PORT Specify base port address for daemons], + [ --with-baseport=PORT specify base port address for daemons], [ if test "x$withval" != "xno" ; then baseport=$withval @@ -579,7 +652,7 @@ AC_SUBST(sd_port) # ------------------------------------------ dir_password= AC_ARG_WITH(dir-password, - [ --with-dir-password=PASSWORD Specify Director's password], + [ --with-dir-password=PASSWORD specify Director's password], [ if test "x$withval" != "xno" ; then dir_password=$withval @@ -599,7 +672,7 @@ fi fd_password= AC_ARG_WITH(fd-password, - [ --with-fd-password=PASSWORD Specify Client's password], + [ --with-fd-password=PASSWORD specify Client's password], [ if test "x$withval" != "xno" ; then fd_password=$withval @@ -619,7 +692,7 @@ fi sd_password= AC_ARG_WITH(sd-password, - [ --with-sd-password=PASSWORD Specify Storage daemon's password], + [ --with-sd-password=PASSWORD specify Storage daemon's password], [ if test "x$withval" != "xno" ; then sd_password=$withval @@ -1208,6 +1281,9 @@ AC_SUBST_FILE(MCOMMON) AC_OUTPUT([autoconf/Make.common \ Makefile \ + rescue/Makefile \ + rescue/linux/Makefile \ + rescue/freebsd/Makefile \ scripts/startmysql \ scripts/stopmysql \ scripts/btraceback \ @@ -1292,6 +1368,10 @@ Configuration on `date`: Linker flags: ${LDFLAGS} Libraries: ${LIBS} Statically Linked Tools: ${support_static_tools} + Statically Linked FD: ${support_static_fd} + Statically Linked SD: ${support_static_sd} + Statically Linked DIR: ${support_static_dir} + Statically Linked CONS: ${support_static_cons} Database type: ${db_name} Database lib: ${DB_LIBS} @@ -1310,6 +1390,7 @@ Configuration on `date`: ZLIB support: ${have_zlib} enable-smartalloc: ${support_smartalloc} enable-gnome: ${support_gnome} + client-only: ${build_client_only} " > config.out