diff options
author | Evan Huus <eapache@gmail.com> | 2013-06-19 23:52:54 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2013-06-19 23:52:54 +0000 |
commit | c0fda177b6c4f7e4d0e77acf7c3ee5c7988adab9 (patch) | |
tree | 6b29e094fb2555006039d25e58befe3883b55d2e /autogen.sh | |
parent | 88a4c49bf775380906c1160fcbed53fb350137a2 (diff) |
From Dirk J via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8821
if no make options are given to the macosx-setup.sh script by the user, the
script sets the number of parallel make jobs to 1.5x CPU cores.
Bonus enhancement: print the "export PKG_CONFIG_PATH" information in autogen.sh
on OsX, so people don't have to remember it.
svn path=/trunk/; revision=50070
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh index 5d45e447f6..3f3e35a242 100755 --- a/autogen.sh +++ b/autogen.sh @@ -123,7 +123,12 @@ $AUTOMAKE --add-missing --gnu $am_opt || exit 1 echo $AUTOCONF $AUTOCONF || exit 1 -#./configure "$@" || exit 1 +if [ $(uname) = Darwin ] ; then + echo + echo "To configure Wireshark on OsX, you will need to type:" + echo "export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/X11/lib/pkgconfig" + echo "before you can run configure." +fi echo echo "Now type \"./configure [options]\" and \"make\" to compile $PROJECT." |