[build] fix default CFLAGS and squish warning

* configure.ac: Move down the AC_SYS_LARGEFILE test - it was setting CFLAGS
  and so disabling the default CFLAGS setting section.
  Squish warning by adding AC_CONFIG_MACRO_DIR on the reccommendation of
  autoreconf.
This commit is contained in:
Paul Jakma 2009-07-19 17:33:21 +01:00
parent fd35b948db
commit 62c9f504bd

View file

@ -10,6 +10,7 @@ AC_PREREQ(2.53)
AC_INIT(Quagga, 0.99.13, [http://bugzilla.quagga.net]) AC_INIT(Quagga, 0.99.13, [http://bugzilla.quagga.net])
AC_CONFIG_SRCDIR(lib/zebra.h) AC_CONFIG_SRCDIR(lib/zebra.h)
AC_CONFIG_MACRO_DIR([m4])
dnl ----------------------------------- dnl -----------------------------------
dnl Get hostname and other information. dnl Get hostname and other information.
@ -28,8 +29,6 @@ BSD awk complains: awk: gensub doesn't support backreferences (subst "\1") ])
fi fi
AC_ARG_VAR([GAWK],[GNU AWK]) AC_ARG_VAR([GAWK],[GNU AWK])
AC_SYS_LARGEFILE
dnl default is to match previous behavior dnl default is to match previous behavior
exampledir=${sysconfdir} exampledir=${sysconfdir}
AC_ARG_ENABLE([exampledir], AC_ARG_ENABLE([exampledir],
@ -554,6 +553,8 @@ case "$host" in
;; ;;
esac esac
AC_SYS_LARGEFILE
dnl --------------------- dnl ---------------------
dnl Integrated VTY option dnl Integrated VTY option
dnl --------------------- dnl ---------------------