Release 940301
[wine/gsoc-2012-control.git] / Configure
blobc6bf09788023c729909468c9efb30570e55c0c41
1 #! /bin/sh
3 ALLDEFINES=''
5 echo -n 'Build Wine as emulator or library (E/L) [E]? '
6 read input
7 if [ "$input" = 'l' -o "$input" = 'L' ]
8 then
9 WINELIB='#define WineLib -DWINELIB'
10 ALLDEFINES=$ALLDEFINES -DWINELIB
11 else
12 WINELIB=''
15 echo -n 'Short filenames (Y/N) [N]? '
16 read input
17 if [ "$input" = 'y' -o "$input" = 'Y' ]
18 then
19 SHORTNAMES='#define ShortNames -DSHORTNAMES'
20 ALLDEFINES=$ALLDEFINES -DSHORTNAMES
21 else
22 SHORTNAMES=''
25 echo '/* autoconf.h generated automatically. Run Configure. */' > autoconf.h
26 echo $WINELIB >> autoconf.h
27 echo $SHORTNAMES >> autoconf.h
28 echo "#define AutoDefines $ALLDEFINES" >> autoconf.h
30 xmkmf -a