1 # Process this file with autoconf to produce a configure script.
2 AC_INIT(libvppinfra,1.0,)
3 AC_CONFIG_AUX_DIR(config)
4 AC_CONFIG_HEADERS(config/config.h)
7 AM_INIT_AUTOMAKE([gnu no-dist-gzip dist-bzip2])
10 # Checks for programs.
15 ######################################################################
21 AC_HELP_STRING([--with-cc],[Set CC for use as C compiler.]),
25 AC_HELP_STRING([--with-cflags],[Set CFLAGS for use by C compiler.]),
26 [CFLAGS="$with_cflags"])
29 AC_HELP_STRING([--with-ldflags],[Set LDFLAGS for linking.]),
30 [LDFLAGS="$with_ldflags"])
32 ######################################################################
35 AC_HELP_STRING([--with-unix],[Compile unix version of clib]),
38 darwin* | linux*) with_unix=yes;;
42 AM_CONDITIONAL(WITH_UNIX, test "$with_unix" = "yes")
45 ## Enable 64-bit vector lengths
47 AC_HELP_STRING([--with-vec64],[Enable 64-bit vector lengths]),
51 AC_SUBST(VEC64,[-DCLIB_VEC64=${with_vec64}])
53 AC_CONFIG_FILES([Makefile])