- Timestamp:
- 2010-05-25T22:26:54Z (15 years ago)
- Branches:
- master
- Children:
- 4af3050
- Parents:
- 51a799e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure
r51a799e rf60079b 124 124 EOF 125 125 126 srcdir="$(dirname $0)" 127 if [ "$srcdir" != "." ]; then 128 echo 129 echo "configure script run from a different directory. Will create some symlinks..." 130 if [ ! -e Makefile -o -L Makefile ]; then 131 mkdir -p $(cd "$srcdir"; find . -type d) 132 find . -name Makefile -type l -print0 | xargs -0 rm 2> /dev/null 133 dst="$PWD" 134 cd "$srcdir" 135 for i in $(find . -name Makefile); do 136 ln -s "$PWD${i#.}" "$dst/$i"; 137 done 138 cd "$dst" 139 rm -rf .bzr 140 fi 141 142 echo "SRCDIR=$srcdir/" >> Makefile.settings 143 CFLAGS="$CFLAGS -I${dst}" 144 else 145 srcdir=$PWD 146 fi 147 126 148 cat<<EOF>config.h 127 149 /* BitlBee settings, generated by configure … … 161 183 162 184 echo CFLAGS=$CFLAGS >> Makefile.settings 163 echo CFLAGS+=-I `pwd` -I`pwd`/lib -I`pwd`/protocols -I. >> Makefile.settings185 echo CFLAGS+=-I${srcdir} -I${srcdir}/lib -I${srcdir}/protocols -I. >> Makefile.settings 164 186 165 187 echo CFLAGS+=-DHAVE_CONFIG_H >> Makefile.settings
Note: See TracChangeset
for help on using the changeset viewer.