diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-01-24 06:33:01 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-01-24 06:33:01 +0000 |
commit | a539c47027ad32956582162c0d96b2e35d57deed (patch) | |
tree | 4a4567d3e5dace0cfb88c943b0cb31e8e7acd4c8 /configure.ac | |
parent | 554af21bee873a761c8acc8c43cf50d23b151d16 (diff) |
Only rebuild bison and flex source files on demand, if bison and flex are detected by the configure script.
Changed after discussion on the -dev list about possible unnecessary build
failures, due to checkouts/untars causing these special source files to
possibly be newer than their resulting C files. This should additionally
ensure that nobody need learn about extra Makefile arguments to ensure the
proper files get rebuilt when changes are made to these special source files.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@242520 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index a4f2dc317..aa1ddb0be 100644 --- a/configure.ac +++ b/configure.ac @@ -142,6 +142,8 @@ fi AC_SUBST(GNU_LD) AC_PATH_PROG([AWK], [awk], :) +AC_PATH_PROG([BISON], [bison], :) +AC_PATH_PROG([FLEX], [flex], :) AC_PATH_PROG([GREP], [grep], :) AC_PATH_PROG([FIND], [find], :) AC_PATH_PROG([COMPRESS], [compress], :) |