Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NetworkManager-l2tp
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
CeRiAl
NetworkManager-l2tp
Commits
1b16c522
Commit
1b16c522
authored
May 30, 2012
by
Сергей Прохоров
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: copied some updates frop pptp plugin (build-time warnings & error options)
parent
fe40f64f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
66 additions
and
48 deletions
+66
-48
.gitignore
.gitignore
+24
-44
Makefile.am
Makefile.am
+2
-0
configure.ac
configure.ac
+6
-4
compiler_warnings.m4
m4/compiler_warnings.m4
+34
-0
No files found.
.gitignore
View file @
1b16c522
# Temporary files
*~
*.swp
# Compiled files
*.o
*.la
*.lo
auth-dialog/nm-l2tp-auth-dialog
src/nm-l2tp-service
# Generated
nm-l2tp-service.name
src/nm-l2tp-pppd-service-glue.h
# GNU Autotools
.deps
.libs
*.la
Makefile
Makefile.in*
configure
compile
config.*
aclocal.m4
autom4te.cache/
depcomp
compile
config.guess
config.h
config.h.in
config.h~
config.log
config.status
config.sub
configure
install-sh
intltool-extract.in
intltool-merge.in
intltool-update.in
libtool
ltmain.sh
m4/
Makefile
Makefile.in
missing
po/*.pot
po/Makefile.in.in
po/POTFILES
po/stamp-it
stamp-h1
#cdt files
.autotools
.cproject
.project
# gmo
*.gmo
mkinstalldirs
POTFILES
stamp-*
.deps
.libs
autom4te.cache
intltool-*
po/*.gmo
po/.intltool-merge-cache
m4/gtk-doc.m4
m4/intltool.m4
m4/libtool.m4
m4/lt*.m4
auth-dialog/nm-l2tp-auth-dialog
nm-l2tp-service.name
nm-l2tp.desktop
src/nm-l2tp-pppd-service-glue.h
src/nm-l2tp-service
Makefile.am
View file @
1b16c522
...
...
@@ -29,6 +29,8 @@ endif
nm-l2tp-service.name
:
$(srcdir)/nm-l2tp-service.name.in
sed
-e
's|[@]LIBEXECDIR[@]|
$(libexecdir)
|g'
$<
>
$@
DISTCHECK_CONFIGURE_FLAGS
=
--enable-more-warnings
=
yes
EXTRA_DIST
=
nm-l2tp-service.name.in
\
$(dbusservice_DATA)
\
$(desktopfile)
\
...
...
configure.ac
View file @
1b16c522
...
...
@@ -70,10 +70,10 @@ AC_SUBST(DBUS_GLIB_CFLAGS)
AC_SUBST(DBUS_GLIB_LIBS)
PKG_CHECK_MODULES(NM,
NetworkManager >= 0.9.
0
libnm-util
libnm-glib
libnm-glib-vpn
)
NetworkManager >= 0.9.
4
libnm-util >= 0.9.4
libnm-glib >= 0.9.4
libnm-glib-vpn >= 0.9.4
)
AC_SUBST(NM_CFLAGS)
AC_SUBST(NM_LIBS)
...
...
@@ -102,6 +102,8 @@ if test x"$with_gnome" != xno; then
AC_SUBST(GNOMEKEYRING_LIBS)
fi
NM_COMPILER_WARNINGS
dnl
dnl Distribution version string
dnl
...
...
m4/compiler_warnings.m4
0 → 100644
View file @
1b16c522
AC_DEFUN([NM_COMPILER_WARNINGS],
[AC_ARG_ENABLE(more-warnings,
AS_HELP_STRING([--enable-more-warnings], [Possible values: no/yes/error]),
set_more_warnings="$enableval",set_more_warnings=error)
AC_MSG_CHECKING(for more warnings)
if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
AC_MSG_RESULT(yes)
CFLAGS="-Wall -std=gnu89 $CFLAGS"
for option in -Wshadow -Wmissing-declarations -Wmissing-prototypes \
-Wdeclaration-after-statement -Wstrict-prototypes \
-Wfloat-equal -Wno-unused-parameter -Wno-sign-compare \
-fno-strict-aliasing -Wno-unused-but-set-variable; do
SAVE_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $option"
AC_MSG_CHECKING([whether gcc understands $option])
AC_TRY_COMPILE([], [],
has_option=yes,
has_option=no,)
if test $has_option = no; then
CFLAGS="$SAVE_CFLAGS"
fi
AC_MSG_RESULT($has_option)
unset has_option
unset SAVE_CFLAGS
done
unset option
if test "x$set_more_warnings" = xerror; then
CFLAGS="$CFLAGS -Werror"
fi
else
AC_MSG_RESULT(no)
fi
])
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