📄 configure.in
字号:
AC_INIT(../../../src/samples/qtgui/main.cpp)AC_CONFIG_HEADER(config.h)AM_INIT_AUTOMAKE(qtgui,0.0.1)AM_PROG_LIBTOOLAC_PROG_INSTALLbindir="@datadir@/Rebecca/bin/release"dnl find and test the C and C++ compilerAC_PROG_CCAC_LANG_CAC_LANG_CPLUSPLUSAC_PROG_MAKE_SETAC_HEADER_STDCAC_ARG_WITH([qt-dir], AC_HELP_STRING([--with-qt-dir=/path/to/Qt-4.1.1], [to specify the path to the Qt-4.1.1 directory.]), [QTPATHS="$withval"], [QTPATHS="/usr/local/Trolltech/Qt-4.1.1 /usr/lib/qt4"])QTMYDIR=xxxfor x in $QTPATHS; do if test -d $x ; then QTMYDIR="$x" MYQMAKE="${x}/bin/qmake" fidoneif test $QTMYDIR = xxx ; then AC_MSG_ERROR([Could not locate QT 4.1.1, please install it from http://www.trolltech.com/If you have installed it but it is in a different location than/usr/local/Trolltech/Qt-4.1.1 then use --with-qt-dir=/path/to/Qt-4.1.1 and put your path after the equals sign])fitouch ../../../bin/release/qtguiAC_MSG_RESULT(Found QT 4.1.1 at $QTMYDIR)AC_MSG_RESULT(Using this qmake $MYQMAKE)dnl read Makefile.in and write Makefilednl Hidden values overriden only for the RPM build systemdnl These are arguments are hidden. They are arguments to be used withdnl the rpm build system.dnl Set the prefix and exec_prefix if they are not settest "$prefix" = NONE && prefix=/usr/localtest "$exec_prefix" = NONE && exec_prefix=$prefixAC_ARG_WITH([build_prefix],,[BUILD_prefix="$withval"],[BUILD_prefix=$prefix],)AC_MSG_RESULT(build_prefix is $BUILD_prefix)AC_SUBST(BUILD_prefix)dnl I have to use prefix for now otherwise it'll expand to nothingAC_ARG_WITH([build_exec_prefix],,[BUILD_exec_prefix="$withval"],[BUILD_exec_prefix=$exec_prefix],)AC_MSG_RESULT(build_exec_prefix is $BUILD_exec_prefix)AC_SUBST(BUILD_exec_prefix)AC_ARG_WITH([build_includedir],,[BUILD_includedir="$withval"],[BUILD_includedir=${includedir}],)AC_MSG_RESULT(build_includedir is $BUILD_includedir)AC_SUBST(BUILD_includedir)AC_ARG_WITH([build_libdir],,[BUILD_libdir="$withval"],[BUILD_libdir=${libdir}],)AC_MSG_RESULT(build_libdir is $BUILD_libdir)AC_SUBST(BUILD_libdir)AC_ARG_WITH([build_datadir],,[BUILD_datadir="$withval"],[BUILD_datadir=${datadir}],)AC_MSG_RESULT(build_datadir is $BUILD_datadir)AC_SUBST(BUILD_datadir)AC_SUBST(BUILD_prefix)AC_SUBST(BUILD_exec_prefix)AC_SUBST(BUILD_includedir)AC_SUBST(BUILD_libdir)AC_SUBST(BUILD_datadir)AC_CONFIG_FILES(scripts/qtgui.pro)AC_SUBST(MYQMAKE)dnl read Makefile.in and write MakefileAC_OUTPUT(Makefile)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -