Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
alberta3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ians-nmh-siebert
alberta
alberta3
Commits
ae045e63
Commit
ae045e63
authored
Nov 18, 2010
by
Claus-Justus Heine
Browse files
Options
Downloads
Patches
Plain Diff
Change the standard include stuff from `#include <alberta.h>' to `#include <alberta/alberta.h>'
parent
1537204d
Branches
main
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
Makefile.am
+3
-0
3 additions, 0 deletions
Makefile.am
configure.ac
+17
-14
17 additions, 14 deletions
configure.ac
install-pkgheader.sh
+23
-0
23 additions, 0 deletions
install-pkgheader.sh
m4/grapeiface.m4
+1
-4
1 addition, 4 deletions
m4/grapeiface.m4
with
44 additions
and
18 deletions
Makefile.am
+
3
−
0
View file @
ae045e63
...
...
@@ -63,11 +63,14 @@ clean-local:
-
rm
-rf
$(
DEMO
)
-
rm
-f
$(
DEMO
)
.tar.gz
# Make sure distclean remove all configure-generated stuff, otherwise
# "make distcheck" would fail.
distclean-local
:
if
!
test
"
$(
srcdir
)
"
=
"."
;
then
\
chmod
-R
u+rwX demo
;
\
rm
-rf
demo
;
\
fi
rm
-rf
include
rm
-f
libtool.@PACKAGE@-@VERSION@
...
...
This diff is collapsed.
Click to expand it.
configure.ac
+
17
−
14
View file @
ae045e63
...
...
@@ -10,6 +10,7 @@ AC_CANONICAL_BUILD
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
AS_SHELL_SANITIZE
AS_CASE([${target}],[*apple-darwin*],[OSX=true],[OSX=false])
AM_INIT_AUTOMAKE([1.10 dist-bzip2 tar-pax])
...
...
@@ -95,18 +96,19 @@ else
fi],
[BITS=$(( ${ac_cv_sizeof_long} * 8 ))])
dnl AC_CONFIG_COMMANDS([dof_stride_free_bit.h],
dnl [: ${TMPDIR=/tmp}
dnl TARGET_NEW=${TMPDIR}/dof_stride_free_bit.h
dnl TARGET=alberta/src/Common/dof_stride_free_bit.h
dnl ${SHELL} ${srcdir}/mkdoffreemasks.sh ${BITS} ${BITS} > ${TARGET_NEW}
dnl if test -f ${TARGET} && cmp ${TARGET} ${TARGET_NEW} > /dev/null 2>&1 ; then
dnl AC_MSG_NOTICE([${TARGET} is unchanged])
dnl else
dnl AC_MSG_NOTICE([Creating ${TARGET}])
dnl mv -f ${TARGET_NEW} ${TARGET}
dnl fi],
dnl [BITS=$(( ${ac_cv_sizeof_long} * 8 ))])
AC_CONFIG_COMMANDS([packageheaders],
[${RM} -r include
for m in `find . -name Makefile`
do
AS_IF(
[${FGREP} -q nodist_pkginclude_HEADERS ${m}],
[d=`AS_DIRNAME(["${m}"])`
${MAKE-make} -C "${d}" INSTALL_HEADER="${ac_top_srcdir}/install-pkgheader.sh" includedir="${ac_abs_top_builddir}/include" install-nodist_pkgincludeHEADERS],
[${FGREP} -q pkginclude_HEADERS ${m}],
[d=`AS_DIRNAME(["${m}"])`
${MAKE-make} -C "${d}" INSTALL_HEADER="${ac_top_srcdir}/install-pkgheader.sh" includedir="${ac_abs_top_builddir}/include" install-pkgincludeHEADERS],
[])
done])
# Collect the demo programs
DEMOSOURCES=
...
...
@@ -248,7 +250,8 @@ AC_PROG_CPP
AC_C_INLINE
AC_PROG_CPP
AC_PROG_CXX
AC_PATH_PROG([CPP], [cpp], [], [/usr/bin:/lib:$PATH])
#AC_PATH_PROG([CPP], [cpp], [], [/usr/bin:/lib:$PATH])
AC_PATH_PROG([CPP], [cpp])
AC_DEFINE_UNQUOTED([CPP],["$CPP"],["Command which runs the C preprecessor"])
#
...
...
@@ -637,7 +640,7 @@ else
fi
AC_SUBST([USE_LIBBLAS])
ALBERTA_CHECK_PACKAGE([gpskca],[gpskca],
[
${GPSKCA_F77_FUNC}
]
,[],[${FLIBS}],[],[],[],[optional enabled])
${GPSKCA_F77_FUNC},[],[${FLIBS}],[],[],[],[optional enabled])
#
# Only support linking with fortran stuff if needed.
...
...
This diff is collapsed.
Click to expand it.
install-pkgheader.sh
0 → 100755
+
23
−
0
View file @
ae045e63
#! /bin/sh
#
# invocation with
#
# SCRIPT SRC DST
#
SOURCES
=
""
while
test
"$#"
!=
"1"
do
SRC
=
"
$1
"
DIR
=
`
dirname
"
${
SRC
}
"
`
SRC
=
`
basename
"
${
SRC
}
"
`
DIR
=
`
cd
"
${
DIR
}
"
;
pwd
`
SOURCES
=
"
${
SOURCES
}
${
DIR
}
/
${
SRC
}
"
shift
done
DST
=
"
$1
"
ln
-s
${
SOURCES
}
"
${
DST
}
"
This diff is collapsed.
Click to expand it.
m4/grapeiface.m4
+
1
−
4
View file @
ae045e63
...
...
@@ -8,10 +8,7 @@ dnl
ALBERTA_CHECK_PACKAGE([grape],[gr],[grape],[],[${OPENGL_ALL_LIBS}],
[grape.h],[],[],[optional])
ALBERTA_LIB_PATHS='$prefix/lib'
ALBERTA_ALL_INCLUDES='-I$(top_srcdir)/alberta/src/Common/ -I$(top_srcdir)/alberta_util/src/ -I$(top_builddir)/alberta_util/src/'
if test ! "x${ac_cv_func_obstack}" = "xyes" || [test "x${NEED_GETOPT}" = "x1"]; then
ALBERTA_ALL_INCLUDES="${ALBERTA_ALL_INCLUDES} "'-I$(top_srcdir)/gnu-compat/'
fi
ALBERTA_ALL_INCLUDES='-I${top_builddir}/include -I${top_builddir}/include/alberta'
#
# ordinary libraries
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment