Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Newton <redshodan@gmail.com>2007-11-23 03:08:13 +0300
committerJames Newton <redshodan@gmail.com>2007-11-23 03:08:13 +0300
commit3be6d51d8b872f04709b5b3e8d974d3d09b9b6fb (patch)
tree6e733c9d9e59c845dfad36a944c24bd46947d699 /autogen.sh
parent510725255a6ae35d2ed3b6b2914f2e3402afa7c6 (diff)
Setup the env for osx before checking for pkg-config in case there is no
fink/darwin ports with pkg-config installed.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh18
1 files changed, 9 insertions, 9 deletions
diff --git a/autogen.sh b/autogen.sh
index 76c221430..97eb8bbce 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,4 +1,12 @@
#!/usr/bin/env bash
+ AM_ARGS="--add-missing --gnu --copy"
+ CONF_ARGS=""
+ if test x`uname -s 2>/dev/null` = 'xDarwin';then
+ . /Library/Frameworks/GTK+.framework/Versions/Current/env
+ AM_ARGS="${AM_ARGS} --ignore-deps"
+ CONF_ARGS="${CONF_ARGS} --disable-idle --without-x"
+ fi
+
echo "[encoding: UTF-8]" > po/POTFILES.in \
&& ls -1 -U data/gajim.desktop.in.in data/glade/*.glade \
src/*py src/common/*py src/common/zeroconf/*.py >> \
@@ -8,15 +16,7 @@
echo "See README.html for build requirements."
exit 1
fi
- AM_ARGS="--add-missing --gnu --copy"
- CONF_ARGS=""
- if test x`uname -s 2>/dev/null` = 'xDarwin';then
- . /Library/Frameworks/GTK+.framework/Versions/Current/env
- #export PATH=/Library/Frameworks/GTK+.framework/Versions/Current/bin/:$PATH
- #export PKG_CONFIG_PATH=/Library/Frameworks/GTK+.framework/Versions/Current/lib/pkgconfig
- AM_ARGS="${AM_ARGS} --ignore-deps"
- CONF_ARGS="${CONF_ARGS} --disable-idle --without-x"
- fi
+
intltoolize --force --automake \
&& aclocal -I ./m4 \
&& libtoolize --copy --force --automake \