comparison configure @ 34143:3f73c0da20c7

configure: add -D__STDC_FORMAT_MACROS to CXXFLAGS This is required to safely #include inttypes.h in .cpp files.
author diego
date Fri, 21 Oct 2011 15:44:56 +0000
parents bd4f91a73fda
children 6e798fce4fc1
comparison
equal deleted inserted replaced
34142:bd4f91a73fda 34143:3f73c0da20c7
7718 7718
7719 ############################################################################# 7719 #############################################################################
7720 7720
7721 CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE" 7721 CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE"
7722 7722
7723 CXXFLAGS=" $CFLAGS -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS" 7723 CXXFLAGS=" $CFLAGS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS"
7724 7724
7725 # This must be the last test to be performed. Any other tests following it 7725 # This must be the last test to be performed. Any other tests following it
7726 # could fail due to linker errors. libdvdnavmini is intentionally not linked 7726 # could fail due to linker errors. libdvdnavmini is intentionally not linked
7727 # against libdvdread (to permit MPlayer to use its own copy of the library). 7727 # against libdvdread (to permit MPlayer to use its own copy of the library).
7728 # So any compilation using the flags added here but not linking against 7728 # So any compilation using the flags added here but not linking against