Skip to content

Commit

Permalink
Initial work on shared library support
Browse files Browse the repository at this point in the history
  • Loading branch information
njansson committed Sep 30, 2024
1 parent ccd043b commit 911e33b
Show file tree
Hide file tree
Showing 4 changed files with 343 additions and 326 deletions.
5 changes: 4 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ AM_MAINTAINER_MODE
AC_CONFIG_MACRO_DIR([m4])
AC_CANONICAL_HOST
AC_LANG(Fortran)
AC_PROG_RANLIB
AC_PROG_INSTALL
AC_PROG_LIBTOOL
AC_PROG_MAKE_SET
LT_INIT([disable-shared])
LT_LANG(Fortran)

AC_ARG_ENABLE(contrib,
AS_HELP_STRING([--enable-contrib],[Compile various tools]),
Expand Down
10 changes: 10 additions & 0 deletions regen.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
#!/bin/sh

echo "Updating configuration..."
echo "Running libtoolize"
if which libtoolize > /dev/null 2>&1; then
libtoolize -i
elif which glibtoolize > /dev/null 2>&1; then
glibtoolize -i
else
echo "No libtoolize found on your system"
exit 1
fi

rm -fr autom4te.cache
rm aclocal.m4

Expand Down
Loading

0 comments on commit 911e33b

Please sign in to comment.