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

time.
(cherry picked from commit a9b5081a084f74e70ab90499b3c44c2ab0950104)
This commit is contained in:
Marcelo Roberto Jimenez 2010-10-04 10:47:39 -03:00
parent 10652572d7
commit 420c87761a
2 changed files with 8 additions and 2 deletions

View File

@ -497,3 +497,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)