Commit 9624f08f authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

Clean up build system

Remove script src/sflphone.in
parent a8db6284
......@@ -32,7 +32,6 @@ AC_CONFIG_FILES([libs/Makefile \
libs/utilspp/singleton/Makefile])
AC_CONFIG_FILES([src/Makefile \
src/sflphone \
src/audio/Makefile \
src/audio/codecs/Makefile
src/audio/codecs/ilbc/Makefile \
......
#!/bin/sh
# SFLphone bin launcher script v 3
# Setup ld's environment
prefix=@prefix@
exec_prefix=@exec_prefix@
LD_LIBRARY_PATH=@libdir@:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
export PA_ALSA_PLUGHW=1
message="Warning, you probably did not extract the archive in the / directory,
you must edit this script ($0) and change SFLPHONE_DIR to the correct location.
@libexecdir@ must contain the provided libraries."
if [ ! -d ${SFLPHONE_DIR} ]; then
echo $message
exit 1
else
if [ ! -d @libexecdir@ ]; then
echo $message
exit 1
fi
fi
# Let's try to go..
PATH=@libexecdir@:${PATH}
binaryqtname=sflphone-qt
binaryqt=@libexecdir@/${binaryqtname}
binarycliname=sflphone-cli
binarycli=@libexecdir@/${binarycliname}
if [ "$1" != "--text" ]; then
if [ -x ${binaryqt} ]; then
exec $binaryqt $@
else
echo "Could not find the ${binaryqtname} executable in @libexecdir@ !"
exit 1
fi
else
if [ -x ${binarycli} ]; then
shift
SFLPHONE_CORE_DIR=@libexecdir@ exec $binarycli $@
else
echo "Could not find the ${binarycliname} executable in @libexecdir@ !"
exit 1
fi
fi
# EOF
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment