Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libcdi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mpim-sw
libcdi
Commits
4a23ed0e
Commit
4a23ed0e
authored
14 years ago
by
Ralf Mueller
Browse files
Options
Downloads
Patches
Plain Diff
Create position independent code (PIC) for shared AND static library by default
parent
f6a189f5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
configure
+20
-21
20 additions, 21 deletions
configure
configure.ac
+1
-1
1 addition, 1 deletion
configure.ac
with
21 additions
and
22 deletions
configure
+
20
−
21
View file @
4a23ed0e
...
...
@@ -767,9 +767,9 @@ SHELL'
ac_subst_files=''
ac_user_opts='
enable_option_checking
with_pic
enable_shared
enable_static
with_pic
enable_fast_install
enable_dependency_tracking
with_gnu_ld
...
...
@@ -7229,6 +7229,21 @@ done
# Set options
# Check whether --with-pic was given.
if test "${with_pic+set}" = set; then :
withval=$with_pic; pic_mode="$withval"
else
pic_mode=default
fi
test -z "$pic_mode" && pic_mode=yes
enable_dlopen=no
...
...
@@ -7300,22 +7315,6 @@ fi
# Check whether --with-pic was given.
if test "${with_pic+set}" = set; then :
withval=$with_pic; pic_mode="$withval"
else
pic_mode=default
fi
test -z "$pic_mode" && pic_mode=default
# Check whether --enable-fast-install was given.
if test "${enable_fast_install+set}" = set; then :
enableval=$enable_fast_install; p=${PACKAGE-default}
...
...
@@ -24607,9 +24606,9 @@ double_quote_subst='$double_quote_subst'
delay_variable_subst='$delay_variable_subst'
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
...
...
@@ -25896,15 +25895,15 @@ available_tags="FC F77 CXX "
macro_version=$macro_version
macro_revision=$macro_revision
# What type of objects to build.
pic_mode=$pic_mode
# Whether or not to build shared libraries.
build_libtool_libs=$enable_shared
# Whether or not to build static libraries.
build_old_libs=$enable_static
# What type of objects to build.
pic_mode=$pic_mode
# Whether or not to optimize for fast installation.
fast_install=$enable_fast_install
...
...
This diff is collapsed.
Click to expand it.
configure.ac
+
1
−
1
View file @
4a23ed0e
...
...
@@ -31,7 +31,7 @@ AM_CONFIG_HEADER([src/config.h])
# Set up libtool.
AC_MSG_NOTICE([setting up libtool])
LT_INIT
LT_INIT
([pic-only])
# Check building environment
AC_CHECK_TOOL([CC],[gcc],[:])
...
...
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