[root@localhost autogen_test]# ./autogen.sh?... auto_test autogen ...Running aclocal...
Running autoheader...
Running libtoolize...
Running autoconf...
Running automake...
configure.ac:9: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ?For more info, see:
configure.ac:9: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
configure.ac:17: installing './config.guess'
configure.ac:17: installing './config.sub'
configure.ac:9: installing './install-sh'
configure.ac:9: installing './missing'
src/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/Makefile.am: installing './depcomp'Please proceed with configuring, compiling, and installing.
查看文件:
[root@localhost autogen_test]# ll
total 1224
-rw-r--r-- 1 root root 346593 Jan 19 10:47 aclocal.m4
-rwxr-xr-x 1 root root ? 1986 Jan 18 15:22 autogen.sh
drwxr-xr-x 2 root root ? 4096 Jan 19 10:47 autom4te.cache
-rwxr-xr-x 1 root root ?45297 Jan 19 10:47 config.guess
-rw-r--r-- 1 root root ? 2278 Jan 19 10:47 config.h.in
-rwxr-xr-x 1 root root ?35533 Jan 19 10:47 config.sub
-rwxr-xr-x 1 root root 415594 Jan 19 10:47 configure
-rwxr-xr-x 1 root root ? ?708 Jan 18 16:03 configure.ac
-rwxr-xr-x 1 root root ?23566 Jan 19 10:47 depcomp
-rwxr-xr-x 1 root root ?13997 Jan 19 10:47 install-sh
-rw-r--r-- 1 root root 283474 Jan 19 10:47 ltmain.sh
-rw-r--r-- 1 root root ? ?229 Jan 19 10:45 Makefile.am
-rw-r--r-- 1 root root ?24704 Jan 19 10:47 Makefile.in
-rwxr-xr-x 1 root root ? 6873 Jan 19 10:47 missing
drwxr-xr-x 2 root root ? 4096 Jan 19 10:47 src
?執(zhí)行configure
[root@localhost autogen_test]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...?
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for string.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for memset... yes
checking for socket... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
?查看生成的文件
[root@localhost autogen_test]# ll
total 1644
-rw-r--r-- 1 root root 346593 Jan 19 10:47 aclocal.m4
-rwxr-xr-x 1 root root ? 1986 Jan 18 15:22 autogen.sh
drwxr-xr-x 2 root root ? 4096 Jan 19 10:47 autom4te.cache
-rwxr-xr-x 1 root root ?45297 Jan 19 10:47 config.guess
-rw-r--r-- 1 root root ? 2504 Jan 19 10:48 config.h
-rw-r--r-- 1 root root ? 2278 Jan 19 10:47 config.h.in
-rw-r--r-- 1 root root ?25756 Jan 19 10:48 config.log
-rwxr-xr-x 1 root root ?61429 Jan 19 10:48 config.status
-rwxr-xr-x 1 root root ?35533 Jan 19 10:47 config.sub
-rwxr-xr-x 1 root root 415594 Jan 19 10:47 configure
-rwxr-xr-x 1 root root ? ?708 Jan 18 16:03 configure.ac
-rwxr-xr-x 1 root root ?23566 Jan 19 10:47 depcomp
-rwxr-xr-x 1 root root ?13997 Jan 19 10:47 install-sh
-rwxr-xr-x 1 root root 292999 Jan 19 10:48 libtool
-rw-r--r-- 1 root root 283474 Jan 19 10:47 ltmain.sh
-rw-r--r-- 1 root root ?24843 Jan 19 10:48 Makefile
-rw-r--r-- 1 root root ? ?229 Jan 19 10:45 Makefile.am
-rw-r--r-- 1 root root ?24704 Jan 19 10:47 Makefile.in
-rwxr-xr-x 1 root root ? 6873 Jan 19 10:47 missing
drwxr-xr-x 3 root root ? 4096 Jan 19 10:48 src
-rw-r--r-- 1 root root ? ? 23 Jan 19 10:48 stamp-h1
[root@localhost autogen_test]#?