Update build/inc/autoconfig.h and build/inc/upnpconfig.h at configure

time.
This commit is contained in:
Marcelo Roberto Jimenez 2010-10-04 10:47:39 -03:00
parent 3886a697b5
commit a9b5081a08
2 changed files with 8 additions and 2 deletions

View File

@ -500,3 +500,9 @@ AC_CONFIG_FILES([
AC_OUTPUT
#
# Files copied for windows compilation.
#
cp autoconfig.h build/inc/autoconfig.h
cp upnp/inc/upnpconfig.h build/inc/upnpconfig.h

View File

@ -1,7 +1,7 @@
/* -*- C -*- */
/*******************************************************************************
*
* Copyright (c) 2006 Rémi Turboult <r3mi@users.sourceforge.net>
* Copyright (c) 2006 Rémi Turboult <r3mi@users.sourceforge.net>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -52,7 +52,7 @@
/** The library version (numeric) e.g. 10300 means version 1.3.0 */
#define UPNP_VERSION \
((UPNP_VERSION_MAJOR*100 + UPNP_VERSION_MINOR)*100 + UPNP_VERSION_PATCH)
((UPNP_VERSION_MAJOR * 100 + UPNP_VERSION_MINOR) * 100 + UPNP_VERSION_PATCH)