1# 2# Copyright 2013, Juniper Networks, Inc. 3# All rights reserved. 4# This SOFTWARE is licensed under the LICENSE provided in the 5# ../Copyright file. By downloading, installing, copying, or otherwise 6# using the SOFTWARE, you agree to be bound by the terms of that 7# LICENSE. 8 9 10if [ ! -f configure ]; then 11 vers=`autoreconf --version | head -1` 12 echo "Using" $vers 13 14 mkdir -p m4 15 16 autoreconf --install 17 18 if [ ! -f configure ]; then 19 echo "Failed to create configure script" 20 exit 1 21 fi 22fi 23 24echo "Creating build directory ..." 25mkdir build 26 27echo "Setup is complete. To build libslax:" 28 29echo " 1) Type 'cd build ; ../configure' to configure libslax" 30echo " 2) Type 'make' to build libslax" 31echo " 3) Type 'make install' to install libslax" 32 33exit 0 34