This commit is contained in:
fgerlits 2006-09-12 17:35:09 +00:00
parent ede0c3db94
commit 0f1237d24b
14 changed files with 264 additions and 18 deletions

View File

@ -99,8 +99,10 @@ fi
#-------------------------------------------------------------------------------
rm -rf $tmpdir/configure
$bindir/autogen.sh || exit 1
$basedir/configure --prefix=$usrdir --with-www-docroot=$usrdir/var \
--with-apache-group=$apache_group || exit 1
$basedir/configure --prefix=$usrdir \
--with-www-docroot=$usrdir/var \
--with-apache-group=$apache_group \
--enable-debug || exit 1
#-------------------------------------------------------------------------------

View File

@ -81,6 +81,8 @@ STUDIO_AUDIO_CUE = "@STUDIO_AUDIO_CUE@"
export LD_LIBRARY_PATH:=${prefix}/lib:${LD_LIBRARY_PATH}
export PKG_CONFIG_PATH=${prefix}/lib/pkgconfig
DEBUG = @DEBUG@
DOXYGEN_CONFIG = ${ETC_DIR}/doxygen.config
XMLRPC-DOXYGEN_CONFIG = ${ETC_DIR}/xmlrpc-doxygen.config
@ -310,13 +312,13 @@ ${TMP_DIR}/modules_setup.stamp:
--with-database-password=${DB_PASSWORD}
cd ${GETID3_DIR} && ./configure --prefix=${prefix}
cd ${HTML_UI_DIR} && ./configure --prefix=${prefix} \
--with-apache-group=${APACHE_GROUP} \
--with-www-docroot=${WWW_DOCROOT} \
--with-configure-apache=${CONFIGURE_APACHE} \
--with-storage-server=${prefix}/var/LiveSupport/storageServer
--with-apache-group=${APACHE_GROUP} \
--with-www-docroot=${WWW_DOCROOT} \
--with-configure-apache=${CONFIGURE_APACHE} \
--with-storage-server=${prefix}/var/LiveSupport/storageServer
cd ${STORAGE_ADMIN_DIR} && ./configure --prefix=${prefix} \
--with-storage-server=${prefix}/var/LiveSupport/storageServer \
--with-phppart-dir=${prefix}/var/LiveSupport/storageAdmin
--with-storage-server=${prefix}/var/LiveSupport/storageServer \
--with-phppart-dir=${prefix}/var/LiveSupport/storageAdmin
cd ${STORAGE_SERVER_DIR} && \
./configure --prefix=${prefix} \
--with-apache-group=${APACHE_GROUP} \
@ -329,21 +331,31 @@ ${TMP_DIR}/modules_setup.stamp:
--with-database-user=${DB_USER} \
--with-database-password=${DB_PASSWORD} \
--with-init-database=${INIT_LS_DATABASE}
cd ${CORE_DIR} && ./configure --prefix=${prefix}
cd ${AUTHENTICATION_DIR} && ./configure --prefix=${prefix}
cd ${DB_DIR} && ./configure --prefix=${prefix}
cd ${STORAGE_CLIENT_DIR} && ./configure --prefix=${prefix}
cd ${GSTREAMER_ELEMENTS_DIR} && ./configure --prefix=${prefix}
cd ${PLAYLIST_EXECUTOR_DIR} && ./configure --prefix=${prefix}
cd ${EVENT_SCHEDULER_DIR} && ./configure --prefix=${prefix}
cd ${SCHEDULER_CLIENT_DIR} && ./configure --prefix=${prefix}
cd ${WIDGETS_DIR} && ./configure --prefix=${prefix}
cd ${CORE_DIR} && \
./configure --prefix=${prefix} --enable-debug=${DEBUG}
cd ${AUTHENTICATION_DIR} && \
./configure --prefix=${prefix} --enable-debug=${DEBUG}
cd ${DB_DIR} && \
./configure --prefix=${prefix} --enable-debug=${DEBUG}
cd ${STORAGE_CLIENT_DIR} && \
./configure --prefix=${prefix} --enable-debug=${DEBUG}
cd ${GSTREAMER_ELEMENTS_DIR} && \
./configure --prefix=${prefix} --enable-debug=${DEBUG}
cd ${PLAYLIST_EXECUTOR_DIR} && \
./configure --prefix=${prefix} --enable-debug=${DEBUG}
cd ${EVENT_SCHEDULER_DIR} && \
./configure --prefix=${prefix} --enable-debug=${DEBUG}
cd ${SCHEDULER_CLIENT_DIR} && \
./configure --prefix=${prefix} --enable-debug=${DEBUG}
cd ${WIDGETS_DIR} && \
./configure --prefix=${prefix} --enable-debug=${DEBUG}
touch ${TMP_DIR}/modules_setup.stamp
products_setup: ${TMP_DIR}/products_setup.stamp
${TMP_DIR}/products_setup.stamp:
cd ${SCHEDULER_DIR} && \
./configure --prefix=${prefix} \
--enable-debug=${DEBUG} \
--with-hostname=${HOSTNAME} \
--with-www-port=${WWW_PORT} \
--with-scheduler-port=${SCHEDULER_PORT} \
@ -356,6 +368,7 @@ ${TMP_DIR}/products_setup.stamp:
--with-init-database=${INIT_LS_DATABASE}
cd ${GLIVESUPPORT_DIR} && \
./configure --prefix=${prefix} \
--enable-debug=${DEBUG} \
--with-hostname=${HOSTNAME} \
--with-www-port=${WWW_PORT} \
--with-scheduler-port=${SCHEDULER_PORT} \

View File

@ -43,6 +43,19 @@ AC_PROG_CC()
AC_PROG_CXX()
dnl-----------------------------------------------------------------------------
dnl specify whether debug info should be compiled into the executable
dnl-----------------------------------------------------------------------------
AC_SUBST(DEBUG)
AC_ARG_ENABLE([debug],
AC_HELP_STRING([--enable-debug], [compile with debug info (no)]),
[DEBUG=${enable_debug}],
[DEBUG=no])
AC_MSG_RESULT([compiling with debug info: ${DEBUG}])
dnl-----------------------------------------------------------------------------
dnl specify whether the LiveSupport database and user should be created
dnl-----------------------------------------------------------------------------
@ -231,7 +244,7 @@ AC_ARG_WITH([station-audio-out],
either ALSA or OSS (default)]),
[STATION_AUDIO_OUT=${withval}], [STATION_AUDIO_OUT=default])
AC_MSG_RESULT([using audio output device for the station: ${STAITON_AUDIO_OUT}])
AC_MSG_RESULT([using audio output device for the station: ${STATION_AUDIO_OUT}])
dnl-----------------------------------------------------------------------------

View File

@ -44,6 +44,26 @@ AC_PROG_CXX()
AC_CHECK_HEADERS(getopt.h)
dnl-----------------------------------------------------------------------------
dnl specify whether debug info should be compiled into the executable
dnl-----------------------------------------------------------------------------
AC_SUBST(CXXFLAGS)
AC_ARG_ENABLE([debug],
AC_HELP_STRING([--enable-debug], [compile with debug info (no)]),
[],
[enable_debug=no])
if test "x${enable_debug}" = "xyes"; then
CXXFLAGS="-g -O0"
else
CXXFLAGS="-O3"
fi
AC_MSG_RESULT([using compiler options: ${CXXFLAGS}])
dnl-----------------------------------------------------------------------------
dnl specify the pkg-config path
dnl-----------------------------------------------------------------------------

View File

@ -50,6 +50,26 @@ fi
AC_CHECK_HEADERS(getopt.h sys/time.h time.h sys/types.h pwd.h errno.h stdint.h)
dnl-----------------------------------------------------------------------------
dnl specify whether debug info should be compiled into the executable
dnl-----------------------------------------------------------------------------
AC_SUBST(CXXFLAGS)
AC_ARG_ENABLE([debug],
AC_HELP_STRING([--enable-debug], [compile with debug info (no)]),
[],
[enable_debug=no])
if test "x${enable_debug}" = "xyes"; then
CXXFLAGS="-g -O0"
else
CXXFLAGS="-O3"
fi
AC_MSG_RESULT([using compiler options: ${CXXFLAGS}])
dnl-----------------------------------------------------------------------------
dnl specify the pkg-config path
dnl-----------------------------------------------------------------------------

View File

@ -44,6 +44,26 @@ AC_PROG_CXX()
AC_CHECK_HEADERS(getopt.h)
dnl-----------------------------------------------------------------------------
dnl specify whether debug info should be compiled into the executable
dnl-----------------------------------------------------------------------------
AC_SUBST(CXXFLAGS)
AC_ARG_ENABLE([debug],
AC_HELP_STRING([--enable-debug], [compile with debug info (no)]),
[],
[enable_debug=no])
if test "x${enable_debug}" = "xyes"; then
CXXFLAGS="-g -O0"
else
CXXFLAGS="-O3"
fi
AC_MSG_RESULT([using compiler options: ${CXXFLAGS}])
dnl-----------------------------------------------------------------------------
dnl specify the pkg-config path
dnl-----------------------------------------------------------------------------

View File

@ -44,6 +44,26 @@ AC_PROG_CXX()
AC_CHECK_HEADERS(getopt.h unistd.h sys/time.h)
dnl-----------------------------------------------------------------------------
dnl specify whether debug info should be compiled into the executable
dnl-----------------------------------------------------------------------------
AC_SUBST(CXXFLAGS)
AC_ARG_ENABLE([debug],
AC_HELP_STRING([--enable-debug], [compile with debug info (no)]),
[],
[enable_debug=no])
if test "x${enable_debug}" = "xyes"; then
CXXFLAGS="-g -O0"
else
CXXFLAGS="-O3"
fi
AC_MSG_RESULT([using compiler options: ${CXXFLAGS}])
dnl-----------------------------------------------------------------------------
dnl specify the pkg-config path
dnl-----------------------------------------------------------------------------

View File

@ -45,6 +45,26 @@ AC_PROG_CXX()
AC_CHECK_HEADERS(string.h getopt.h sys/time.h)
dnl-----------------------------------------------------------------------------
dnl specify whether debug info should be compiled into the executable
dnl-----------------------------------------------------------------------------
AC_SUBST(CXXFLAGS)
AC_ARG_ENABLE([debug],
AC_HELP_STRING([--enable-debug], [compile with debug info (no)]),
[],
[enable_debug=no])
if test "x${enable_debug}" = "xyes"; then
CXXFLAGS="-g -O0"
else
CXXFLAGS="-O3"
fi
AC_MSG_RESULT([using compiler options: ${CXXFLAGS}])
dnl-----------------------------------------------------------------------------
dnl specify the pkg-config path
dnl-----------------------------------------------------------------------------

View File

@ -44,6 +44,26 @@ AC_PROG_CXX()
AC_CHECK_HEADERS(getopt.h sys/time.h)
dnl-----------------------------------------------------------------------------
dnl specify whether debug info should be compiled into the executable
dnl-----------------------------------------------------------------------------
AC_SUBST(CXXFLAGS)
AC_ARG_ENABLE([debug],
AC_HELP_STRING([--enable-debug], [compile with debug info (no)]),
[],
[enable_debug=no])
if test "x${enable_debug}" = "xyes"; then
CXXFLAGS="-g -O0"
else
CXXFLAGS="-O3"
fi
AC_MSG_RESULT([using compiler options: ${CXXFLAGS}])
dnl-----------------------------------------------------------------------------
dnl specify the pkg-config path
dnl-----------------------------------------------------------------------------

View File

@ -47,6 +47,25 @@ AC_CHECK_HEADERS(getopt.h sys/time.h)
AC_CHECK_HEADERS(libtar.h)
dnl-----------------------------------------------------------------------------
dnl specify whether debug info should be compiled into the executable
dnl-----------------------------------------------------------------------------
AC_SUBST(CXXFLAGS)
AC_ARG_ENABLE([debug],
AC_HELP_STRING([--enable-debug], [compile with debug info (no)]),
[],
[enable_debug=no])
if test "x${enable_debug}" = "xyes"; then
CXXFLAGS="-g -O0"
else
CXXFLAGS="-O3"
fi
AC_MSG_RESULT([using compiler options: ${CXXFLAGS}])
dnl-----------------------------------------------------------------------------
dnl specify the pkg-config path
dnl-----------------------------------------------------------------------------

View File

@ -44,6 +44,26 @@ AC_PROG_CXX()
AC_CHECK_HEADERS(getopt.h sys/time.h time.h)
dnl-----------------------------------------------------------------------------
dnl specify whether debug info should be compiled into the executable
dnl-----------------------------------------------------------------------------
AC_SUBST(CXXFLAGS)
AC_ARG_ENABLE([debug],
AC_HELP_STRING([--enable-debug], [compile with debug info (no)]),
[],
[enable_debug=no])
if test "x${enable_debug}" = "xyes"; then
CXXFLAGS="-g -O0"
else
CXXFLAGS="-O3"
fi
AC_MSG_RESULT([using compiler options: ${CXXFLAGS}])
dnl-----------------------------------------------------------------------------
dnl specify the pkg-config path
dnl-----------------------------------------------------------------------------

View File

@ -44,6 +44,26 @@ AC_PROG_CXX()
AC_CHECK_HEADERS(getopt.h)
dnl-----------------------------------------------------------------------------
dnl specify whether debug info should be compiled into the executable
dnl-----------------------------------------------------------------------------
AC_SUBST(CXXFLAGS)
AC_ARG_ENABLE([debug],
AC_HELP_STRING([--enable-debug], [compile with debug info (no)]),
[],
[enable_debug=no])
if test "x${enable_debug}" = "xyes"; then
CXXFLAGS="-g -O0"
else
CXXFLAGS="-O3"
fi
AC_MSG_RESULT([using compiler options: ${CXXFLAGS}])
dnl-----------------------------------------------------------------------------
dnl specify the pkg-config path
dnl-----------------------------------------------------------------------------

View File

@ -45,6 +45,26 @@ AC_PROG_CXX()
AC_CHECK_HEADERS(sys/types.h unistd.h getopt.h signal.h sys/stat.h time.h)
AC_CHECK_HEADERS(stdio.h fcntl.h sys/time.h pwd.h)
dnl-----------------------------------------------------------------------------
dnl specify whether debug info should be compiled into the executable
dnl-----------------------------------------------------------------------------
AC_SUBST(CXXFLAGS)
AC_ARG_ENABLE([debug],
AC_HELP_STRING([--enable-debug], [compile with debug info (no)]),
[],
[enable_debug=no])
if test "x${enable_debug}" = "xyes"; then
CXXFLAGS="-g -O0"
else
CXXFLAGS="-O3"
fi
AC_MSG_RESULT([using compiler options: ${CXXFLAGS}])
dnl-----------------------------------------------------------------------------
dnl specify the pkg-config path
dnl-----------------------------------------------------------------------------

View File

@ -48,6 +48,25 @@ AC_CHECK_HEADERS(stdio.h fcntl.h sys/time.h)
AC_CHECK_HEADERS(libtar.h)
dnl-----------------------------------------------------------------------------
dnl specify whether debug info should be compiled into the executable
dnl-----------------------------------------------------------------------------
AC_SUBST(CXXFLAGS)
AC_ARG_ENABLE([debug],
AC_HELP_STRING([--enable-debug], [compile with debug info (no)]),
[],
[enable_debug=no])
if test "x${enable_debug}" = "xyes"; then
CXXFLAGS="-g -O0"
else
CXXFLAGS="-O3"
fi
AC_MSG_RESULT([using compiler options: ${CXXFLAGS}])
dnl-----------------------------------------------------------------------------
dnl specify the pkg-config path
dnl-----------------------------------------------------------------------------