diff options
author | guy <guy> | 2004-12-17 23:25:36 +0000 |
---|---|---|
committer | guy <guy> | 2004-12-17 23:25:36 +0000 |
commit | 529f98f94f26c2ebebe53bb58481edd231c625a4 (patch) | |
tree | 1c9a7cbe1b7e5483ad7d75c362fb7f95ab5ae6d3 /configure | |
parent | 14eb2792bd54efdcc77f1ac9d5f76596a5226ecb (diff) |
Use "version.h" if autoconf is being used (as that assumes a
UN*Xy-enough platform that the Makefile.in rules to generate "version.h"
work), and use the stuff from "version.h" iff HAVE_VERSION_H is defined,
so we can use it even with WinPcap.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 1.109 . +# From configure.in Revision: 1.110 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.57. # @@ -5487,6 +5487,16 @@ _ACEOF fi +# +# Makefile.in includes rules to generate version.h, so we assume +# that it will be generated if autoconf is used. +# + +cat >>confdefs.h <<\_ACEOF +#define HAVE_VERSION_H 1 +_ACEOF + + rm -f net ln -s ${srcdir}/bpf/net net |