Add PLATFORM_* define to config.h to allow supporting non Linux platforms.

This commit is contained in:
Bernhard Froehlich 2013-05-04 13:54:12 +02:00
parent a2ccbb2de6
commit 06824215e4

View file

@ -486,6 +486,11 @@ EOF
CONFIG_H="${BUILDDIR}/config.h"
cat > "${CONFIG_H}" <<EOF
// Automatically generated by configure - DO NOT EDIT!
EOF
# Create Platform defines
cat > ${CONFIG_H} <<EOF
#define PLATFORM_$(toupper ${PLATFORM}) 1
EOF
# Add package config