Skip to content
Snippets Groups Projects
Commit b837e962 authored by Jean-François Remacle's avatar Jean-François Remacle
Browse files

variable LIBEXT controlled by the configure.in

parent 65e49ac5
Branches
Tags
No related merge requests found
......@@ -677,6 +677,7 @@ OPTIM
LINKER
GMSH_DIRS
GMSH_LIBS
LIBEXT
LIBOBJS
LTLIBOBJS'
ac_subst_files=''
......@@ -3567,6 +3568,7 @@ case "$UNAME" in
Darwin*)
RANLIB=true
AR="libtool -o"
LIBEXT=".a"
;;
*)
if test -n "$ac_tool_prefix"; then
......@@ -3711,6 +3713,7 @@ echo "$as_me: error: Could not find the library archiver, aborting." >&2;}
{ (exit 1); exit 1; }; }
fi
AR="${AR} ruvs"
LIBEXT=".a"
;;
esac
......@@ -7379,6 +7382,7 @@ ac_config_headers="$ac_config_headers Common/GmshConfig.h:Common/GmshConfig.h.in
ac_config_files="$ac_config_files variables"
cat >confcache <<\_ACEOF
......@@ -8060,11 +8064,12 @@ OPTIM!$OPTIM$ac_delim
LINKER!$LINKER$ac_delim
GMSH_DIRS!$GMSH_DIRS$ac_delim
GMSH_LIBS!$GMSH_LIBS$ac_delim
LIBEXT!$LIBEXT$ac_delim
LIBOBJS!$LIBOBJS$ac_delim
LTLIBOBJS!$LTLIBOBJS$ac_delim
_ACEOF
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 66; then
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 67; then
break
elif $ac_last_try; then
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
......
......@@ -221,6 +221,7 @@ case "$UNAME" in
Darwin*)
RANLIB=true
AR="libtool -o"
LIBEXT=".a"
;;
*)
AC_PROG_RANLIB
......@@ -229,6 +230,7 @@ case "$UNAME" in
AC_MSG_ERROR([Could not find the library archiver, aborting.])
fi
AR="${AR} ruvs"
LIBEXT=".a"
;;
esac
......@@ -876,6 +878,7 @@ AC_SUBST(LINKER)
AC_SUBST(GMSH_DIRS)
AC_SUBST(GMSH_LIBS)
AC_SUBST(AR)
AC_SUBST(LIBEXT)
AC_CONFIG_FILES([variables])
AC_OUTPUT
......
......@@ -43,7 +43,7 @@ DASH=-
# The extension to use for object files, libraries and executables
OBJEXT=.o
LIBEXT=.a
LIBEXT=@LIBEXT@
EXEEXT=@EXEEXT@
# File handling commands
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment