📄 configure.in
字号:
AC_INIT(cdk4nios.7)AM_CONFIG_HEADER(config.h)AC_PREREQ(2.12)AC_CANONICAL_SYSTEMAM_INIT_AUTOMAKE(cdk4nios, 0.3)dnl ###### ALL_LINGUAS="de"case $host in *linux*) AC_DEFINE(OS_LINUX,1,if defined we found Linux as host system) ;; *cygwin*) AC_DEFINE(OS_CYGWIN32,1,if defined we found Cygwin as host system) ;; *solaris*) AC_DEFINE(OS_SOLARIS,1,if defined we found Solaris as host system) ;;esacAC_PROG_CCAC_ISC_POSIXAC_PROG_GCC_TRADITIONALAC_PROG_INSTALLAM_C_PROTOTYPESdnl AM_DISABLE_SHAREDAM_PROG_LIBTOOLdnldnl if CC is gcc, we can switch on all warningsdnlif test "X$CC" = Xgcc; then CFLAGS="-Wall $CFLAGS"fiaddlib() { l=$1 shift case "$target" in *-*-solaris*) LIBS="$LIBS -L$l -R $l $*";; *) LIBS="$LIBS -L$l $*";; esac}dnldnl if CC is gcc, we can rebuild the dependencies (since the depend rulednl requires gcc). If it's not, don't rebuild dependencies -- use what wasdnl shipped with lowio.dnlif test X"$GCC" = "Xyes" ; then TARGET="depend allprogs"else TARGET="everything" # # let the Makefile know that we're done with `depend', since we don't # have gcc we're not going to rebuild our dependencies at all. # echo > .depend-donefiAC_SUBST(TARGET)dnl check compiler characteristics#AC_C_BIGENDIANAC_C_INLINEdnl Checks for header files we can live without.AC_HEADER_STDCAC_HEADER_TIMEAC_CHECK_HEADERS(unistd.h string.h memory.h)AC_CHECK_HEADERS(termios.h)dnl AC_CHECK_HEADERS(alloca.h libintl.h mcheck.h)AC_CHECK_FUNCS(strchr memcpy)AC_CHECK_FUNCS(strerror mtrace)dnl Checks particular typedefsAC_TYPE_SIZE_TCDK4NIOS_SOURCE_PATH="`pwd`"AC_DEFINE_UNQUOTED(CDK4NIOS_SOURCE_PATH, "$CDK4NIOS_SOURCE_PATH")AC_SUBST(CDK4NIOS_SOURCE_PATH)AC_OUTPUT([Doxyfile Makefile])
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -