Conditionally display build instructions for the cmake case
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40528
f5534014-38df-0310-8fa8-
9805f1628bb7
curl -O http://www.cmake.org/files/v$cmake_dir/cmake-$CMAKE_VERSION.tar.gz || exit 1
gzcat cmake-$CMAKE_VERSION.tar.gz | tar xf - || exit 1
cd cmake-$CMAKE_VERSION
- ./bootstrap --system-libs || exit 1
+ ./bootstrap || exit 1
make -j 3 || exit 1
$DO_MAKE_INSTALL || exit 1
cd ..
echo ""
echo "You are now prepared to build Wireshark. To do so do:"
+echo "export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/X11/lib/pkgconfig"
+echo ""
+if [ -n "$CMAKE" ]; then
+ echo "mkdir build; cd build"
+ echo "cmake .."
+ echo
+ echo "or"
+ echo
+fi
echo "./autogen.sh"
-echo "./configure"
+echo "mkdir build; cd build"
+echo "../configure"
+echo ""
echo "make -j 3"
echo "make install"