Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
fa3cd3c3
Commit
fa3cd3c3
authored
May 03, 2012
by
Richard Henderson
Committed by
Richard Henderson
May 03, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libatomic: Enable AM_MAINTAINER_MODE
From-SVN: r187108
parent
d8acd563
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
87 additions
and
10 deletions
+87
-10
libatomic/ChangeLog
+2
-1
libatomic/Makefile.in
+5
-4
libatomic/aclocal.m4
+40
-0
libatomic/configure
+35
-2
libatomic/configure.ac
+1
-0
libatomic/testsuite/Makefile.in
+4
-3
No files found.
libatomic/ChangeLog
View file @
fa3cd3c3
2012-05-03 Richard Henderson <rth@redhat.com>
* configure.ac (AM_MAINTAINER_MODE): New.
* acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Handle compilation
failure in gcc_no_link path.
* configure: Rebuild.
* configure
, aclocal.m4, Makefile.in
: Rebuild.
2012-05-01 Richard Henderson <rth@redhat.com>
...
...
libatomic/Makefile.in
View file @
fa3cd3c3
...
...
@@ -218,6 +218,7 @@ LIBTOOL = @LIBTOOL@
LIPO
=
@LIPO@
LN_S
=
@LN_S@
LTLIBOBJS
=
@LTLIBOBJS@
MAINT
=
@MAINT@
MAKEINFO
=
@MAKEINFO@
MKDIR_P
=
@MKDIR_P@
NM
=
@NM@
...
...
@@ -364,7 +365,7 @@ all: auto-config.h
.SUFFIXES
:
.c .lo .o .obj
am--refresh
:
Makefile
@
:
$(srcdir)/Makefile.in
:
$(srcdir)/Makefile.am $(am__configure_deps)
$(srcdir)/Makefile.in
:
@MAINTAINER_MODE_TRUE@
$(srcdir)/Makefile.am $(am__configure_deps)
@
for
dep
in
$?
;
do
\
case
'
$(am__configure_deps)
'
in
\
*
$$
dep
*
)
\
...
...
@@ -391,9 +392,9 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
$(top_builddir)/config.status
:
$(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL)
./config.status
--recheck
$(top_srcdir)/configure
:
$(am__configure_deps)
$(top_srcdir)/configure
:
@MAINTAINER_MODE_TRUE@
$(am__configure_deps)
$(am__cd)
$(srcdir)
&&
$(AUTOCONF)
$(ACLOCAL_M4)
:
$(am__aclocal_m4_deps)
$(ACLOCAL_M4)
:
@MAINTAINER_MODE_TRUE@
$(am__aclocal_m4_deps)
$(am__cd)
$(srcdir)
&&
$(ACLOCAL)
$(ACLOCAL_AMFLAGS)
$(am__aclocal_m4_deps)
:
...
...
@@ -404,7 +405,7 @@ auto-config.h: stamp-h1
stamp-h1
:
$(srcdir)/auto-config.h.in $(top_builddir)/config.status
@
rm
-f
stamp-h1
cd
$(top_builddir)
&&
$(SHELL)
./config.status auto-config.h
$(srcdir)/auto-config.h.in
:
$(am__configure_deps)
$(srcdir)/auto-config.h.in
:
@MAINTAINER_MODE_TRUE@
$(am__configure_deps)
(
$(am__cd)
$(top_srcdir)
&&
$(AUTOHEADER)
)
rm
-f
stamp-h1
touch
$@
...
...
libatomic/aclocal.m4
View file @
fa3cd3c3
...
...
@@ -601,6 +601,46 @@ if test x"${install_sh}" != xset; then
fi
AC_SUBST(install_sh)])
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
# From Jim Meyering
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
# 2011 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 5
# AM_MAINTAINER_MODE([DEFAULT-MODE])
# ----------------------------------
# Control maintainer-specific portions of Makefiles.
# Default is to disable them, unless `enable' is passed literally.
# For symmetry, `disable' may be passed as well. Anyway, the user
# can override the default with the --enable/--disable switch.
AC_DEFUN([AM_MAINTAINER_MODE],
[m4_case(m4_default([$1],
[disable]),
[enable],
[m4_define([am_maintainer_other],
[disable])],
[disable],
[m4_define([am_maintainer_other],
[enable])],
[m4_define([am_maintainer_other],
[enable])
m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE
:
$1])])
AC_MSG_CHECKING([whether
to
enable
maintainer-specific
portions
of
Makefiles])
dnl
maintainer-mode
's default is '
disable
' unless '
enable
' is passed
AC_ARG_ENABLE([maintainer-mode],
[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
(and sometimes confusing) to the casual installer],
[USE_MAINTAINER_MODE=$enableval],
[USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
AC_MSG_RESULT([$USE_MAINTAINER_MODE])
AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
MAINT=$MAINTAINER_MODE_TRUE
AC_SUBST([MAINT])dnl
]
)
AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
# Check to see how '
make
' treats includes. -*- Autoconf -*-
# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
...
...
libatomic/configure
View file @
fa3cd3c3
...
...
@@ -622,6 +622,9 @@ LIBAT_BUILD_VERSIONED_SHLIB_TRUE
OPT_LDFLAGS
SECTION_LDFLAGS
libtool_VERSION
MAINT
MAINTAINER_MODE_FALSE
MAINTAINER_MODE_TRUE
enable_static
enable_shared
CPP
...
...
@@ -757,6 +760,7 @@ with_pic
enable_fast_install
with_gnu_ld
enable_libtool_lock
enable_maintainer_mode
enable_symvers
'
ac_precious_vars
=
'build_alias
...
...
@@ -1399,6 +1403,8 @@ Optional Features:
--enable-fast-install[=PKGS]
optimize for fast installation [default=yes]
--disable-libtool-lock avoid locking (might break parallel builds)
--enable-maintainer-mode enable make rules and dependencies not useful
(and sometimes confusing) to the casual installer
--enable-symvers=STYLE enables symbol versioning of the shared library
[default=yes]
...
...
@@ -11002,7 +11008,7 @@ else
lt_dlunknown
=
0
;
lt_dlno_uscore
=
1
;
lt_dlneed_uscore
=
2
lt_status
=
$lt_dlunknown
cat
>
conftest.
$ac_ext
<<
_LT_EOF
#line 110
05
"configure"
#line 110
11
"configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
...
...
@@ -11108,7 +11114,7 @@ else
lt_dlunknown
=
0
;
lt_dlno_uscore
=
1
;
lt_dlneed_uscore
=
2
lt_status
=
$lt_dlunknown
cat
>
conftest.
$ac_ext
<<
_LT_EOF
#line 1111
1
"configure"
#line 1111
7
"configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
...
...
@@ -11348,6 +11354,29 @@ CC="$lt_save_CC"
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking whether to enable maintainer-specific portions of Makefiles"
>
&5
$as_echo_n
"checking whether to enable maintainer-specific portions of Makefiles... "
>
&6
;
}
# Check whether --enable-maintainer-mode was given.
if
test
"
${
enable_maintainer_mode
+set
}
"
=
set
;
then
:
enableval
=
$enable_maintainer_mode
;
USE_MAINTAINER_MODE
=
$enableval
else
USE_MAINTAINER_MODE
=
no
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$USE_MAINTAINER_MODE
"
>
&5
$as_echo
"
$USE_MAINTAINER_MODE
"
>
&6
;
}
if
test
$USE_MAINTAINER_MODE
=
yes
;
then
MAINTAINER_MODE_TRUE
=
MAINTAINER_MODE_FALSE
=
'#'
else
MAINTAINER_MODE_TRUE
=
'#'
MAINTAINER_MODE_FALSE
=
fi
MAINT
=
$MAINTAINER_MODE_TRUE
# For libtool versioning info, format is CURRENT:REVISION:AGE
libtool_VERSION
=
1:0:0
...
...
@@ -15212,6 +15241,10 @@ if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
as_fn_error
"conditional
\"
am__fastdepCCAS
\"
was never defined.
Usually this means the macro was only invoked conditionally."
"
$LINENO
"
5
fi
if
test
-z
"
${
MAINTAINER_MODE_TRUE
}
"
&&
test
-z
"
${
MAINTAINER_MODE_FALSE
}
"
;
then
as_fn_error
"conditional
\"
MAINTAINER_MODE
\"
was never defined.
Usually this means the macro was only invoked conditionally."
"
$LINENO
"
5
fi
if
test
-z
"
${
LIBAT_BUILD_VERSIONED_SHLIB_TRUE
}
"
&&
test
-z
"
${
LIBAT_BUILD_VERSIONED_SHLIB_FALSE
}
"
;
then
as_fn_error
"conditional
\"
LIBAT_BUILD_VERSIONED_SHLIB
\"
was never defined.
...
...
libatomic/configure.ac
View file @
fa3cd3c3
...
...
@@ -144,6 +144,7 @@ AC_PROG_INSTALL
AM_PROG_LIBTOOL
AC_SUBST(enable_shared)
AC_SUBST(enable_static)
AM_MAINTAINER_MODE
# For libtool versioning info, format is CURRENT:REVISION:AGE
libtool_VERSION=1:0:0
...
...
libatomic/testsuite/Makefile.in
View file @
fa3cd3c3
...
...
@@ -98,6 +98,7 @@ LIBTOOL = @LIBTOOL@
LIPO
=
@LIPO@
LN_S
=
@LN_S@
LTLIBOBJS
=
@LTLIBOBJS@
MAINT
=
@MAINT@
MAKEINFO
=
@MAKEINFO@
MKDIR_P
=
@MKDIR_P@
NM
=
@NM@
...
...
@@ -202,7 +203,7 @@ RUNTEST = "$(_RUNTEST) $(AM_RUNTESTFLAGS)"
all
:
all-am
.SUFFIXES
:
$(srcdir)/Makefile.in
:
$(srcdir)/Makefile.am $(am__configure_deps)
$(srcdir)/Makefile.in
:
@MAINTAINER_MODE_TRUE@
$(srcdir)/Makefile.am $(am__configure_deps)
@
for
dep
in
$?
;
do
\
case
'
$(am__configure_deps)
'
in
\
*
$$
dep
*
)
\
...
...
@@ -227,9 +228,9 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
$(top_builddir)/config.status
:
$(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd
$(top_builddir)
&&
$(MAKE)
$(AM_MAKEFLAGS)
am--refresh
$(top_srcdir)/configure
:
$(am__configure_deps)
$(top_srcdir)/configure
:
@MAINTAINER_MODE_TRUE@
$(am__configure_deps)
cd
$(top_builddir)
&&
$(MAKE)
$(AM_MAKEFLAGS)
am--refresh
$(ACLOCAL_M4)
:
$(am__aclocal_m4_deps)
$(ACLOCAL_M4)
:
@MAINTAINER_MODE_TRUE@
$(am__aclocal_m4_deps)
cd
$(top_builddir)
&&
$(MAKE)
$(AM_MAKEFLAGS)
am--refresh
$(am__aclocal_m4_deps)
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment