11 prefix=`echo $1 | sed 's/^--prefix=//'`
35 echo "installation prefix: $prefix"
36 $build_mod_url && echo 'build mod_url: yes' || echo 'build mod_url: no'
37 $opt && echo 'optimizations: yes' || echo 'optimizations: no'
38 $dbg && echo 'debug symbols: yes' || echo 'debug symbols: no'
40 echo "Configuring assman..."
42 echo "# do not modify this file manually, it's generated by the configure script" >Makefile
43 echo "PREFIX = $prefix" >>Makefile
44 $opt && echo '-O3' | xargs echo 'opt =' >>Makefile
45 $dbg && echo '-g' | xargs echo 'dbg =' >>Makefile
46 if $build_mod_url; then
47 echo 'mod_url_cflags = -DBUILD_MOD_URL' >>Makefile
48 echo 'mod_url_libs = -lcurl -lpthread' >>Makefile
50 echo '# --- end of generated part, start of Makefile.in ---' >>Makefile
51 cat Makefile.in >>Makefile
53 echo 'Done. Run make (or gmake) to compile.'