Revision 66b73752 build_ul.sh

View differences:

build_ul.sh
509 509
if [ -d "$BASE_UL_DIR/../../3RDPARTY-LIBS/libevent" ]; then
510 510
	LOCAL_EVENT="$BASE_UL_DIR/../../3RDPARTY-LIBS/libevent"
511 511
	echo "found LIBEVENT in $LOCAL_EVENT"
512
else if [ -d "$BASE_UL_DIR/external_libs/libevent" ]; then
512
else 
513
  if [ -d "$BASE_UL_DIR/../THIRDPARTY-LIBS/NAPA-BASELIBS/3RDPARTY-LIBS/libevent" ]; then
514
	LOCAL_EVENT="$BASE_UL_DIR/../THIRDPARTY-LIBS/NAPA-BASELIBS/3RDPARTY-LIBS/libevent"
515
	echo "found LIBEVENT in $LOCAL_EVENT"
516
  else 
517
    if [ -d "$BASE_UL_DIR/external_libs/libevent" ]; then
513 518
	LOCAL_EVENT="$BASE_UL_DIR/external_libs/libevent"
514 519
	echo "found LIBEVENT in $LOCAL_EVENT"
515 520
    else
......
527 532
		LOCAL_EVENT=`dirname $LOCAL_EVENT_A`/..
528 533
	fi
529 534
    fi
535
  fi
530 536
fi
531 537

  
532 538
if [ -d "$BASE_UL_DIR/../../3RDPARTY-LIBS/libconfuse" ]; then
533 539
	LOCAL_CONFUSE="$BASE_UL_DIR/../../3RDPARTY-LIBS/libconfuse"
534 540
	echo "found LIBCONFUSE in $LOCAL_CONFUSE"
535
else
541
else 
542
  if [ -d "$BASE_UL_DIR/../THIRDPARTY-LIBS/NAPA-BASELIBS/3RDPARTY-LIBS/libconfuse" ]; then
543
	LOCAL_CONFUSE="$BASE_UL_DIR/../THIRDPARTY-LIBS/NAPA-BASELIBS/3RDPARTY-LIBS/libconfuse"
544
	echo "found LIBCONFUSE in $LOCAL_CONFUSE"
545
  else 
546
    if [ -d "$BASE_UL_DIR/external_libs/libconfuse" ]; then
547
	LOCAL_CONFUSE="$BASE_UL_DIR/external_libs/libconfuse"
548
	echo "found LIBCONFUSE in $LOCAL_CONFUSE"
549
    else
536 550
	if [ "$LOCAL_CONFUSE_A" = "" ]; then
537 551
		if [ -f "/usr/lib/libconfuse.a" ]; then
538 552
			echo "You have file libconfuse.a in default system"
......
545 559
	else
546 560
		LOCAL_CONFUSE=`dirname $LOCAL_CONFUSE_A`/..
547 561
	fi
562
    fi
563
  fi
548 564
fi
549 565

  
550 566
#set needed paths to external libraries

Also available in: Unified diff