📄 configure.ac
字号:
# Process this file with autoconf to produce a configure scriptAC_INIT(ipkg.c)AM_INIT_AUTOMAKE([ipkg], [0.99.162])AM_CONFIG_HEADER(config.h)AC_CANONICAL_HOSTfor top_builddir in . .. ../.. $ac_auxdir $ac_auxdir/..; do test -f $top_builddir/configure && breakdone# Checks for programsAC_PROG_AWKAC_PROG_CCAC_PROG_INSTALLAC_PROG_LN_SAM_PROG_INSTALL_STRIPAC_PROG_LIBTOOL# Checks for libraries (hah! ipkg is pretty much self-contained)# Checks for header filesAC_HEADER_DIRENTAC_HEADER_STDCAC_HEADER_SYS_WAITAC_CHECK_HEADERS([errno.h fcntl.h memory.h regex.h stddef.h stdlib.h string.h strings.h unistd.h utime.h])# Checks for typedefs, structures, and compiler characteristics.AC_C_CONSTAC_TYPE_UID_TAC_TYPE_MODE_TAC_TYPE_OFF_TAC_TYPE_PID_TAC_TYPE_SIZE_TAC_CHECK_MEMBERS([struct stat.st_rdev])# Don't do annoying tests that don't work when cross-compiling, just trust them.# The AC_FUNC_MEMCMP test doesn't work during a cross-compile, disable.# AC_FUNC_MEMCMP# The AC_FUNC_STAT test doesn't work during a cross-compile, disable.# AC_FUNC_STAT# Checks for library functionsAC_FUNC_CHOWNAC_FUNC_FORKAC_TYPE_SIGNALAC_FUNC_UTIME_NULLAC_FUNC_VPRINTFAC_CHECK_FUNCS([memmove memset mkdir regcomp strchr strcspn strdup strerror strndup strrchr strstr strtol strtoul sysinfo utime])ipkglibdir=AC_ARG_WITH(ipkglibdir,[ --with-ipkglibdir=DIR specifies directory to put status and info files. "/ipkg" is always added so if you want your files to be in /usr/lib/ipkg you should indicate --with-ipkglibdir=/usr/lib ],[case "${withval}" inyes) AC_MSG_ERROR(bad value ${withval} given for ipkg libs directories ) ;;no) ;;*) ipkglibdir=$with_ipkglibdir ;;esac])# Default local prefix if it is emptyif test x$ipkglibdir = x; then ipkglibdir=/usr/libfiAC_SUBST(ipkglibdir)AC_OUTPUT(Makefile etc/Makefile familiar/Makefile familiar/control familiar/control-unstripped familiar/libipkg-control familiar/libipkg-dev-control libbb/Makefile libipkg.pc ipkg.h)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -