Update comments about old O_NDELAY
[libmodbus.git] / autogen.sh
blob1d6f3ca823aa3590a62a44abed52e949038e22f9
1 #! /bin/sh
2 do_symlink=
3 if ln -s autogen-symlink-test autogen-symlink-test-link > /dev/null 2>&1; then
4 do_symlink=--symlink
5 rm autogen-symlink-test-link
6 fi
7 if autoreconf --install $do_symlink --force; then
8 echo
9 echo "------------------------------------------------------"
10 echo "Initialized build system. You can now run ./configure "
11 echo "------------------------------------------------------"
12 echo
13 else
14 s="$?"
15 echo
16 echo "--------------------------"
17 echo "Running autoreconf failed."
18 echo "--------------------------"
19 echo
20 exit "$s"