[wpdev-commits] wolfpack configure,1.4,1.5
Brought to you by:
rip,
thiagocorrea
|
From: <as...@us...> - 2004-01-12 17:25:01
|
Update of /cvsroot/wpdev/wolfpack
In directory sc8-pr-cvs1:/tmp/cvs-serv26657
Modified Files:
configure
Log Message:
added possibiblity to disable mysql support
Index: configure
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/configure,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** configure 11 Jan 2004 05:03:16 -0000 1.4
--- configure 12 Jan 2004 17:24:56 -0000 1.5
***************
*** 7,11 ****
#################################################################
! # TODO: check for dependencies like "seq".
ask_path()
--- 7,23 ----
#################################################################
! # seq replacement (not all distributions include seq)
! #wp_seq()
! #{
! # FIRST="$1";
! # LAST="$2";
! # while [ "$FIRST" -le "$LAST" ];
! # do
! # echo "$FIRST";
! # FIRST="$(expr $FIRST + 1)";
! # done;
! #}
!
! # aszlig: weird, i thought i used seq!?
ask_path()
***************
*** 18,22 ****
echo -en "\e[A\rPlease enter the correct include directory: ";
read SUPPLIED_PATH;
! if [ "$SUPPLIED_PATH" = "" ]; then
break;
fi
--- 30,34 ----
echo -en "\e[A\rPlease enter the correct include directory: ";
read SUPPLIED_PATH;
! if [ ! "$SUPPLIED_PATH" = "" ]; then
break;
fi
***************
*** 24,43 ****
}
! # <mysql>
! echo -n "Searching for MySQL includes... ";
! MYSQLINC=$(mysql_config --cflags|cut -d\' -f2);
! if ! [ "$MYSQLINC" ];
! then
! ask_path;
! MYSQLINC="$SUPPLIED_PATH";
! if ! [ "$MYSQLINC" ]; then
! echo "MySQL support disabled ";
! fi
! else
! echo "$MYSQLINC";
fi;
- # </mysql>
# <python>
--- 36,58 ----
}
! if [ "$1" != "--disable-mysql" ]
! then
! # <mysql>
! echo -n "Searching for MySQL includes... ";
! MYSQLINC=$(mysql_config --cflags|cut -d\' -f2);
! if ! [ "$MYSQLINC" ];
! then
! ask_path;
! MYSQLINC="$SUPPLIED_PATH";
! if [ ! "$MYSQLINC" ]; then
! echo "MySQL support disabled ";
! fi
! else
! echo "$MYSQLINC";
! fi;
! # </mysql>
fi;
# <python>
|