diff --git a/src/Include/config.h.in b/src/Include/config.h.in index 13044e031..ffe400f82 100644 --- a/src/Include/config.h.in +++ b/src/Include/config.h.in @@ -236,7 +236,3 @@ /* Name of package */ #undef PACKAGE - -/* Version number of package */ -#undef VERSION - diff --git a/src/Include/version.h.in b/src/Include/version.h.in new file mode 100644 index 000000000..7e49437c4 --- /dev/null +++ b/src/Include/version.h.in @@ -0,0 +1,32 @@ +// version.h -- FlightGear version +// +// Written by Curtis Olson, started October 2000. +// +// Copyright (C) 2000 Curtis L. Olson - curt@flightgear.org +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the +// Free Software Foundation, Inc., 59 Temple Place - Suite 330, +// Boston, MA 02111-1307, USA. +// +// $Id$ + + +#ifndef _FLIGHTGEAR_VERSION_H +#define _FLIGHTGEAR_VERSION_H + + +#define FLIGHTGEAR_VERSION "@VERSION@" + + +#endif // _FLIGHTGEAR_VERSION_H