⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 configure.in

📁 一套客户/服务器模式的备份系统代码,跨平台,支持linux,AIX, IRIX, FreeBSD, Digital Unix (OSF1), Solaris and HP-UX.
💻 IN
📖 第 1 页 / 共 2 页
字号:
)`AC_SUBST(clientdir)dnl *** clientbindirAC_ARG_WITH(clientbindir,    [   --with-clientbindir=DIR   client binaries in DIR [clientdir/bin]],    [	if test "$withval"; then	    clientbindir="$withval"	else	    AC_MSG_WARN([*** You must supply an argument to the --with-clientbindir option.])	fi    ]): ${clientbindir:='$clientdir/bin'}clientbindir=`(    eval echo "$clientbindir")`AC_SUBST(clientbindir)dnl *** clientlibdirAC_ARG_WITH(clientlibdir,    [   --with-clientlibdir=DIR   client configuration files in DIR [clientdir/lib]],    [	if test "$withval"; then	    clientlibdir="$withval"	else	    AC_MSG_WARN([*** You must supply an argument to the --with-clientlibdir option.])	fi    ]): ${clientlibdir:='$clientdir/lib'}clientlibdir=`(    eval echo "$clientlibdir")`AC_SUBST(clientlibdir)dnl *** clientvardirAC_ARG_WITH(clientvardir,    [   --with-clientvardir=DIR   variable client files in DIR [clientdir/var]],    [	if test "$withval"; then	    clientvardir="$withval"	else	    AC_MSG_WARN([*** You must supply an argument to the --with-clientvardir option.])	fi    ]): ${clientvardir:='$clientdir/var'}clientvardir=`(    eval echo "$clientvardir")`AC_SUBST(clientvardir)dnl *** clientmandirAC_ARG_WITH(clientmandir,    [   --with-clientmandir=DIR   variable client files in DIR [clientdir/man]],    [	if test "$withval"; then	    clientmandir="$withval"	else	    AC_MSG_WARN([*** You must supply an argument to the --with-clientmandir option.])	fi    ]): ${clientmandir:='$clientdir/man'}clientmandir=`(    eval echo "$clientmandir")`AC_SUBST(clientmandir)dnl *** clientlogdirAC_ARG_WITH(clientlogdir,    [   --with-clientlogdir=DIR   client log files in DIR [clientdir/var]],    [	if test "$withval"; then	    clientlogdir="$withval"	else	    AC_MSG_WARN([*** You must supply an argument to the --with-clientlogdir option.])	fi    ]): ${clientlogdir:='$clientdir/var'}clientlogdir=`(    eval echo "$clientlogdir")`AC_SUBST(clientlogdir)dnl *** clientconfdirAC_ARG_WITH(clientconfdir,    [   --with-clientconfdir=DIR   client log files in DIR [clientdir/etc]],    [	if test "$withval"; then	    clientconfdir="$withval"	else	    AC_MSG_WARN([*** You must supply an argument to the --with-clientconfdir option.])	fi    ]): ${clientconfdir:='$clientdir/etc'}clientconfdir=`(    eval echo "$clientconfdir")`AC_SUBST(clientconfdir)dnl *** rexecdirAC_ARG_WITH(rexecdir,    [   --with-rexecdir=DIR   binaries for remote execution in DIR [prefix/rexec]],    [	if test "$withval"; then	    REXECDIR="$withval"	else	    AC_MSG_WARN([*** You must supply an argument to the --with-rexecdir option.])	fi    ]): ${REXECDIR:='$prefix$subdir/rexec'}REXECDIR=`(    eval echo "$REXECDIR")`AC_SUBST(REXECDIR)dnl *** clientconfAC_ARG_WITH(clientconf,    [   --with-clientconf=NAME   NAME for client configuration [backup.conf]],    [	if test "$withval"; then	    clientconf="$withval"	else	    AC_MSG_WARN([*** You must supply an argument to the --with-clientconf option.])	fi    ]): ${clientconf:=backup.conf}clientconf=`(    eval echo "$clientconf")`AC_SUBST(clientconf)dnl *** serverconfAC_ARG_WITH(serverconf,    [   --with-serverconf=NAME   NAME for server configuration [backup.conf]],    [	if test "$withval"; then	    serverconf="$withval"	else	    AC_MSG_WARN([*** You must supply an argument to the --with-serverconf option.])	fi    ]): ${serverconf:=backup.conf}serverconf=`(    eval echo "$serverconf")`AC_SUBST(serverconf)dnl *** commondirAC_ARG_WITH(commondir,    [   --with-commondir=DIR   software for client and server will reside in DIR [prefix/common]],    [	if test "$withval"; then	    commondir="$withval"	else	    AC_MSG_WARN([*** You must supply an argument to the --with-commondir option.])	fi    ]): ${commondir:='$prefix$subdir/common'}commondir=`(    eval echo "$commondir")`AC_SUBST(commondir)dnl *** commondatadirAC_ARG_WITH(commondatadir,    [   --with-commondatadir=DIR   architecture independent data for client and server will reside in DIR [commondir/share]],    [	if test "$withval"; then	    commondatadir="$withval"	else	    AC_MSG_WARN([*** You must supply an argument to the --with-commondatadir option.])	fi    ]): ${commondatadir:='$commondir/share'}commondatadir=`(    eval echo "$commondatadir")`AC_SUBST(commondatadir)dnl *** commonshlibdirAC_ARG_WITH(commonshlibdir,    [   --with-commonshlibdir=DIR   architecture independent program text for client and server will reside in DIR [commondatadir/lib]],    [	if test "$withval"; then	    commonshlibdir="$withval"	else	    AC_MSG_WARN([*** You must supply an argument to the --with-commonshlibdir option.])	fi    ]): ${commonshlibdir:='$commondatadir/lib'}commonshlibdir=`(    eval echo "$commonshlibdir")`AC_SUBST(commonshlibdir)dnl DES stuffusedes=noAC_ARG_WITH(des,    [   --with-des   for client/server authentication [no]],    [	usedes=yes	des_include=../libdes	des_libdir=`echo $des_include|sed 's#include$#lib#g'`	des_header=des.h	des_ldflag=-ldes    ])AC_ARG_WITH(des-include,    [   --with-des-include=DIR   des header file in DIR [../libdes]],    [	if test "$withval"; then	    usedes=yes	    des_include="$withval"	    des_libdir="$des_include"	    des_header=des.h	    des_ldflag=-ldes	else	    AC_MSG_WARN([*** You must supply an argument to the --with-des-include option.])	fi    ])AC_ARG_WITH(des-header,    [   --with-des-header=NAME   NAME is des header file [des.h]],    [	if test "$withval"; then	    usedes=yes	    des_header="$withval"	    des_ldflag=-ldes	    if test _"$des_include" = _ ; then		des_include=../libdes		des_libdir="$des_include"	    fi	else	    AC_MSG_WARN([*** You must supply an argument to the --with-des-header option.])	fi    ])AC_ARG_WITH(des-libdir,    [   --with-des-libdir=DIR   des library is in DIR [../libdes]],    [	if test "$withval"; then	    usedes=yes	    des_libdir="$withval"	    des_ldflag=-ldes	    if test _"$des_include" = _ ; then		des_include="$des_libdir"	    fi	    if test _"$des_header" = _ ; then		des_header="des.h"	    fi	else	    AC_MSG_WARN([*** You must supply an argument to the --with-des-libdir option.])	fi    ])AC_ARG_WITH(des-ldflag,    [   --with-des-ldflag=LIB   des library is specified by LIB [-ldes]],    [	if test "$withval"; then	    usedes=yes	    des_ldflag="$withval"	    if test _"$des_include" = _ ; then		des_include=../libdes	    fi	    if test _"$des_header" = _ ; then		des_header="des.h"	    fi	    if test _"$des_libdir" = _ ; then		des_libdir="$des_include"	    fi	else	    AC_MSG_WARN([*** You must supply an argument to the --with-des-ldflag option.])	fi    ])if test $usedes = "no" ; then  DESINCLUDEPATH=""  DESDEFINES=""  DESLIB=""  DESLIBPATH=""  DESHEADER=""  DESCRPT=""else  if test `echo $des_ldflag|grep '^lib'|wc -l` -gt 0 ; then    des_ldflag=`echo $des_ldflag|sed 's/^lib/-l/g;s/[.].*//g'`  fi  DESINCLUDEPATH="-I$des_include"  DESDEFINES="-DHAVE_DES_ENCRYPTION"  DESHEADER="$des_header"  DESLIBPATH="-L$des_libdir"  DESLIB="$des_ldflag"  DESCRPT="__descrpt"fiAC_SUBST(DESDEFINES)AC_SUBST(DESINCLUDEPATH)AC_SUBST(DESLIBPATH)AC_SUBST(DESLIB)AC_SUBST(DESHEADER)AC_SUBST(DESCRPT)dnl zlib stuffusezlib=noAC_ARG_WITH(zlib,    [   --with-zlib   for builtin compression [no]],    [	usezlib=yes	zlib_include=/usr/local/include	zlib_libdir=`echo $zlib_include|sed 's#include$#lib#g'`    ])AC_ARG_WITH(zlib-include,    [   --with-zlib-include=DIR   zlib header file in DIR [/usr/local/include]],    [	if test "$withval"; then	    usezlib=yes	    zlib_include="$withval"	    zlib_libdir="$zlib_include"	else	    AC_MSG_WARN([*** You must supply an argument to the --with-zlib-include option.])	fi    ])AC_ARG_WITH(zlib-libdir,    [   --with-zlib-libdir=DIR   zlib library is in DIR [/usr/local/lib]],    [	if test "$withval"; then	    usezlib=yes	    zlib_libdir="$withval"	    if test _"$zlib_include" = _ ; then		zlib_include="$zlib_libdir"	    fi	else	    AC_MSG_WARN([*** You must supply an argument to the --with-zlib-libdir option.])	fi    ])AC_SUBST(commondir)AC_SUBST(commondatadir)AC_SUBST(commonshlibdir)if test $usezlib = "no" ; then  ZLIB_INCLUDEPATH=""  ZLIB_DEFINES=""  ZLIB_LIB=""  ZLIB_LIBPATH=""  ZIP=""else  ZLIB_INCLUDEPATH="-I$zlib_include"  ZLIB_DEFINES="-DUSE_ZLIB"  ZLIB_LIBPATH="-L$zlib_libdir"  ZLIB_LIB="-lz"  ZIP="__z"fiAC_SUBST(ZLIB_DEFINES)AC_SUBST(ZLIB_INCLUDEPATH)AC_SUBST(ZLIB_LIBPATH)AC_SUBST(ZLIB_LIB)AC_SUBST(ZIP)AC_ARG_WITH(strip,    [   --with-strip   strip binaries during installation [yes]],    [ ])STRIP="strip"if test "$with_strip" = no ; then  STRIP="echo Not stripped: "fiAC_SUBST(STRIP)locspec=`echo $prefix|tr '/' '^'`AC_SUBST(locspec)AC_SUBST(EXTRACFLAGS)AC_SUBST(OPTIMIZE)AC_SUBST(osname)AC_SUBST(CC)HEADERS="regex.h limits.h values.h stdint.h"for header in $HEADERS ; do  safeval=`echo "$header" | sed 'y%./+-%__p_%'`  uppersafeval=`echo $safeval|tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`  VNAM=DONT_INC_$uppersafeval  eval $VNAM=DONT_  eval isset='$'ac_cv_header_$safeval  if test $isset = yes ; then    eval $VNAM=""  fidoneTYPES="int32_t uint32_t int16_t uint16_t int8_t uint8_t u_int32_t u_int16_t u_int8_t"for type in $TYPES ; do  safeval=`echo "$type" | sed 'y%./+-%__p_%'`  uppersafeval=`echo $safeval|tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`  VNAM=DONT_TYPE_$uppersafeval  eval $VNAM=DONT_  eval isset='$'ac_cv_type_$safeval  if test $isset = yes ; then    eval $VNAM=""  fidoneDONT_DECL_RE_UTILS="DONT_"DONT_DECL_POSIX_REGEX="DONT_"if test $ac_cv_func_re_compile_pattern != yes ; then  DONT_DECL_RE_UTILS=""fiif test $ac_cv_func_regcomp != yes ; then  DONT_DECL_POSIX_REGEX=""fiAC_SUBST(DONT_INC_REGEX_H)AC_SUBST(DONT_INC_LIMITS_H)AC_SUBST(DONT_INC_VALUES_H)AC_SUBST(DONT_INC_STDINT_H)AC_SUBST(DONT_TYPE_INT32_T)AC_SUBST(DONT_TYPE_INT16_T)AC_SUBST(DONT_TYPE_INT8_T)AC_SUBST(DONT_TYPE_UINT32_T)AC_SUBST(DONT_TYPE_UINT16_T)AC_SUBST(DONT_TYPE_UINT8_T)AC_SUBST(DONT_TYPE_U_INT32_T)AC_SUBST(DONT_TYPE_U_INT16_T)AC_SUBST(DONT_TYPE_U_INT8_T)AC_SUBST(DONT_DECL_RE_UTILS)AC_SUBST(DONT_DECL_POSIX_REGEX)FUNCTIONS="strrstr strcasestr memmove qsort bsearch lsearch lfind rint isnan isatty re_comp"for function in $FUNCTIONS ; do  safeval=`echo "$function" | sed 'y%./+-%__p_%'`  uppersafeval=`echo $safeval|tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`  VNAM=DONT_DEF_$uppersafeval  eval $VNAM=DONT_  eval isset='$'ac_cv_func_$safeval  if test $isset != yes ; then    eval $VNAM=""  fidoneAC_SUBST(DONT_DEF_STRRSTR)AC_SUBST(DONT_DEF_STRCASESTR)AC_SUBST(DONT_DEF_MEMMOVE)AC_SUBST(DONT_DEF_QSORT)AC_SUBST(DONT_DEF_BSEARCH)AC_SUBST(DONT_DEF_LSEARCH)AC_SUBST(DONT_DEF_LFIND)AC_SUBST(DONT_DEF_RINT)AC_SUBST(DONT_DEF_ISATTY)AC_SUBST(DONT_DEF_ISNAN)AC_SUBST(DONT_DEF_RE_COMP)DONT_INC_TIME_H=DONT_DONT_INC_SYS_TIME_H=DONT_if test $ac_cv_header_time_h ; then  DONT_INC_TIME_H=""fiif test $ac_cv_header_time = yes ; then  DONT_INC_TIME_H=""  DONT_INC_SYS_TIME_H=""else  if test $ac_cv_header_sys_time_h = yes ; then    DONT_INC_SYS_TIME_H=""  fifiDONT_INC_SYS_TIMERS_H=DONT_if test $ac_cv_header_sys_timers_h = yes ; then  DONT_INC_SYS_TIMERS_H=""fiAC_SUBST(DONT_INC_TIME_H)AC_SUBST(DONT_INC_SYS_TIME_H)AC_SUBST(DONT_INC_SYS_TIMERS_H)DONT_USE_SOLARIS2_ACLS="DONT_"if test $ac_cv_header_sys_acl_h = yes -a $ac_cv_func_acl = yes ; then  DONT_USE_SOLARIS2_ACLS=""fiAC_SUBST(DONT_USE_SOLARIS2_ACLS)DONT_USE_HPUX10_ACLS="DONT_"if test $ac_cv_header_sys_acl_h = yes -a $ac_cv_func_setacl = yes ; then  DONT_USE_HPUX10_ACLS=""fiAC_SUBST(DONT_USE_HPUX10_ACLS)DONT_USE_POSIX_ACLS="DONT_"if test $ac_cv_header_sys_acl_h = yes -a $acl_get_file = yes ; then  DONT_USE_POSIX_ACLS=""  AC_CHECK_FUNC(acl_free_text, AC_DEFINE(HAVE_ACL_FREE_TEXT))  AC_CHECK_FUNC(acl_to_short_text, AC_DEFINE(HAVE_ACL_TO_SHORT_TEXT))fiAC_SUBST(DONT_USE_POSIX_ACLS)AC_SUBST(LDFLAGS)AC_SUBST(INCLUDES)AC_OUTPUT(lconf.h budefs.h des_aux.h Makefile server.conf client.conf shwish.head xcc xsc xrs xss clientconfig serverconfig autocptapes afclient.8 cartis.8 cartready.8 afserver.8 afmserver.8 label_tape.8 cart_ctl.8 full_backup.8 incr_backup.8 afrestore.8 afverify.8 update_indexes.8 copy_tape.8 xafrestore.8 afclient.conf.8 afserver.conf.8 CONFIG intl/Makefile po/Makefile.in)echo "$ARCH" > config.setup

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -