Revision 3ef693a0 configure

b/configure
1 1
#!/bin/sh
2 2
#
3
# gemu configure script (c) 2003 Fabrice Bellard
3
# qemu configure script (c) 2003 Fabrice Bellard
4 4
#
5 5
# set temporary file name
6 6
if test ! -z "$TMPDIR" ; then
......
11 11
    TMPDIR1="/tmp"
12 12
fi
13 13

  
14
TMPC="${TMPDIR1}/gemu-conf-${RANDOM}-$$-${RANDOM}.c"
15
TMPO="${TMPDIR1}/gemu-conf-${RANDOM}-$$-${RANDOM}.o"
16
TMPE="${TMPDIR1}/gemu-conf-${RANDOM}-$$-${RANDOM}"
17
TMPS="${TMPDIR1}/gemu-conf-${RANDOM}-$$-${RANDOM}.S"
18
TMPH="${TMPDIR1}/gemu-conf-${RANDOM}-$$-${RANDOM}.h"
14
TMPC="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}.c"
15
TMPO="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}.o"
16
TMPE="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}"
17
TMPS="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}.S"
18
TMPH="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}.h"
19 19

  
20 20
# default parameters
21 21
prefix="/usr/local"
......
195 195
echo "/* Automatically generated by configure - do not modify */" > $TMPH
196 196

  
197 197
echo "prefix=$prefix" >> config.mak
198
echo "#define CONFIG_GEMU_PREFIX \"$prefix\"" >> $TMPH
198
echo "#define CONFIG_QEMU_PREFIX \"$prefix\"" >> $TMPH
199 199
echo "MAKE=$make" >> config.mak
200 200
echo "CC=$cc" >> config.mak
201 201
echo "GCC_MAJOR=$gcc_major" >> config.mak
......
227 227
echo -n "VERSION=" >>config.mak
228 228
head $source_path/VERSION >>config.mak
229 229
echo "" >>config.mak
230
echo -n "#define GEMU_VERSION \"" >> $TMPH
230
echo -n "#define QEMU_VERSION \"" >> $TMPH
231 231
head $source_path/VERSION >> $TMPH
232 232
echo "\"" >> $TMPH
233 233
if test "$network" = "yes" ; then

Also available in: Unified diff