More fixes for remote_party_id
[asterisk/asterisk.git] / make_build_h
1 #!/bin/sh
2 HOSTNAME=`uname -n`
3 KERNEL=`uname -r`
4 MACHINE=`uname -m`
5 OS=`uname -s`
6 USER=`whoami`
7 VERSION=`cat .version`
8 rm -f build.h
9 cat > build.h << END
10 /*
11  * build.h 
12  * Automatically generated
13  */
14 #define BUILD_HOSTNAME "${HOSTNAME}"
15 #define BUILD_KERNEL "${KERNEL}"
16 #define BUILD_MACHINE "${MACHINE}"
17 #define BUILD_OS "${OS}"
18 #define BUILD_VERSION "${VERSION}"
19 #define BUILD_USER "${USER}"
20 END