Revision 6791077e build_all.sh

View differences:

build_all.sh
7 7
  [ -e "$ALL_DIR" ] || { echo "Directory in \$ALL_DIR does not exist: $ALL_DIR"; exit; }  
8 8
  [ -z "$LIBEVENT_DIR" ] && LIBEVENT_DIR=$ALL_DIR/libevent
9 9
  [ -z "$LIBCONFUSE_DIR" ] && LIBCONFUSE_DIR=$ALL_DIR/libconfuse;
10
  [ -z "$LOG4C_DIR" ] && LOG4C_DIR=$ALL_DIR/log4c;
11 10
  [ -z "$LIBXML2_DIR" ] && LIBXML2_DIR=$ALL_DIR/libxml2;
12 11
fi
13 12

  
......
23 22

  
24 23
[ -n "$LIBEVENT_DIR" ] || LIBEVENT_DIR="<build_local>"
25 24
[ -n "$LIBCONFUSE_DIR" ] || LIBCONFUSE_DIR="<build_local>"
26
[ -n "$LOG4C_DIR" ] || LOG4C_DIR="<build_local>"
27 25
[ -n "$LIBXML2_DIR" ] || LIBXML2_DIR="<build_local>"
28 26

  
29 27
# leave empty or assign 0 to disable these features.
......
266 264

  
267 265
[ `uname -m` = x86_64 ] && LIBEXPAT_HACK='--with-expat=builtin'
268 266

  
269
prepare_lib log4c LOG4C_DIR "log4c.h liblog4c.a" \
270
        "wget http://downloads.sourceforge.net/project/log4c/log4c/1.2.1/log4c-1.2.1.tar.gz; \
271
              tar xvzf log4c-1.2.1.tar.gz" \
272
        "./configure --prefix \$LIB_HOME $LIBEXPAT_HACK; $MAKE; $MAKE install"
273

  
274 267
prepare_lib libxml2 LIBXML2_DIR "libxml2/libxml/xmlversion.h libxml2/libxml/xmlIO.h libxml2/libxml/parser.h libxml2/libxml/tree.h libxml2.a" \
275 268
        "wget ftp://xmlsoft.org/libxml2/libxml2-2.7.6.tar.gz; \
276 269
              tar xvzf libxml2-2.7.6.tar.gz" \
......
286 279
echo "=============== YOUR 3RDPARTY DIRECTORIES ============"
287 280
echo "LIBEVENT_DIR=$LIBEVENT_DIR" 
288 281
echo "LIBCONFUSE_DIR=$LIBCONFUSE_DIR" 
289
echo "LOG4C_DIR=$LOG4C_DIR" 
290 282
echo "LIBXML2_DIR=$LIBXML2_DIR"
291 283

  
292 284
echo

Also available in: Unified diff