fi
TERM_LIB=""
-AC_CHECK_HEADER(termcap.h,
- [ AC_CHECK_LIB(termcap, tgetent,
- [ TERM_LIB="-ltermcap" ],
- [ AC_CHECK_LIB(ncurses, tgetent, [ TERM_LIB="-lncurses" ])
+AC_CHECK_HEADER(curses.h,
+ [ AC_CHECK_LIB(ncurses, tgetent,
+ [ TERM_LIB="-lncurses" ],
+ [ AC_CHECK_LIB(termcap, tgetent, [ TERM_LIB="-ltermcap" ])
])
],
[ AC_CHECK_HEADERS(curses.h)
dnl
dnl allow setting default executable permissions
dnl
-SBINPERM=0754
+SBINPERM=0750
AC_ARG_WITH(sbin-perm,
- AC_HELP_STRING([--with-sbin-perm=MODE], [specify permissions for sbin binaries @<:@default=0754@:>@]),
+ AC_HELP_STRING([--with-sbin-perm=MODE], [specify permissions for sbin binaries @<:@default=0750@:>@]),
[
if test "x$withval" != "x" ; then
SBINPERM=$withval
if test x$DISTVER = x5.6 ; then
AC_DEFINE(HAVE_OLD_SOCKOPT)
fi
- LIBS="$LIBS -lresolv"
+ LIBS="$LIBS -lresolv -lrt"
;;
suse)
DISTVER=`cat /etc/SuSE-release |grep VERSION|\
src/cats/drop_ingres_database \
src/cats/sqlite \
src/cats/mysql \
- src/cats/create_bdb_database \
- src/cats/update_bdb_tables \
- src/cats/make_bdb_tables \
- src/cats/grant_bdb_privileges \
- src/cats/drop_bdb_tables \
- src/cats/drop_bdb_database \
src/cats/create_bacula_database \
src/cats/update_bacula_tables \
src/cats/grant_bacula_privileges \