Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
cbca05d6
Commit
cbca05d6
authored
20 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
added check for socklen_t in configure script
parent
7e48c985
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Fltk/GmshServer.h
+3
-3
3 additions, 3 deletions
Fltk/GmshServer.h
TODO
+7
-2
7 additions, 2 deletions
TODO
configure
+38
-0
38 additions, 0 deletions
configure
configure.in
+7
-1
7 additions, 1 deletion
configure.in
with
55 additions
and
6 deletions
Fltk/GmshServer.h
+
3
−
3
View file @
cbca05d6
...
@@ -166,10 +166,10 @@ class GmshServer {
...
@@ -166,10 +166,10 @@ class GmshServer {
return
-
4
;
// Error: Socket listening timeout
return
-
4
;
// Error: Socket listening timeout
// accept connection request
// accept connection request
#if defined(linux) || defined(_AIX) || defined(__FreeBSD__) || defined(__sun__)
#if defined(HAVE_NO_SOCKLEN_T)
socklen_t
len
;
#else
int
len
;
int
len
;
#else
socklen_t
len
;
#endif
#endif
if
(
_portno
<
0
){
if
(
_portno
<
0
){
struct
sockaddr_un
from_un
;
struct
sockaddr_un
from_un
;
...
...
This diff is collapsed.
Click to expand it.
TODO
+
7
−
2
View file @
cbca05d6
$Id: TODO,v 1.
79
2005-01-2
0 01:25:49
geuzaine Exp $
$Id: TODO,v 1.
80
2005-01-2
1 17:29:27
geuzaine Exp $
********************************************************************
********************************************************************
add GUI for the Layer stuff in Extrude commands
add GUI for
- translate+rotate extrusions
- mesh extrusion (layer stuff)
- elliptic surface
- coherence
********************************************************************
********************************************************************
...
...
This diff is collapsed.
Click to expand it.
configure
+
38
−
0
View file @
cbca05d6
...
@@ -3155,6 +3155,44 @@ else
...
@@ -3155,6 +3155,44 @@ else
fi
fi
cat
>
conftest.
$ac_ext
<<
_ACEOF
#line
$LINENO
"configure"
/* confdefs.h. */
_ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
#include <sys/types.h>
#include <sys/socket.h>
int
main ()
{
socklen_t len = 42; return 0;
;
return 0;
}
_ACEOF
rm
-f
conftest.
$ac_objext
if
{
(
eval echo
"
$as_me
:
$LINENO
:
\"
$ac_compile
\"
"
)
>
&5
(
eval
$ac_compile
)
2>&5
ac_status
=
$?
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
&&
{
ac_try
=
'test -s conftest.$ac_objext'
{
(
eval echo
"
$as_me
:
$LINENO
:
\"
$ac_try
\"
"
)
>
&5
(
eval
$ac_try
)
2>&5
ac_status
=
$?
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
;
}
;
then
:
else
echo
"
$as_me
: failed program was:"
>
&5
sed
's/^/| /'
conftest.
$ac_ext
>
&5
FLAGS
=
"-DHAVE_NO_SOCKLEN_T
${
FLAGS
}
"
fi
rm
-f
conftest.
$ac_objext
conftest.
$ac_ext
GMSH_DIRS
=
"Common DataStr Geo Mesh Numeric Parallel Parser Plugin"
GMSH_DIRS
=
"Common DataStr Geo Mesh Numeric Parallel Parser Plugin"
...
...
This diff is collapsed.
Click to expand it.
configure.in
+
7
−
1
View file @
cbca05d6
dnl $Id: configure.in,v 1.
59
2005-01-
0
1 1
9:35
:27 geuzaine Exp $
dnl $Id: configure.in,v 1.
60
2005-01-
2
1 1
7:29
:27 geuzaine Exp $
dnl
dnl
dnl Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle
dnl Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle
dnl
dnl
...
@@ -115,6 +115,12 @@ dnl Check for various functions
...
@@ -115,6 +115,12 @@ dnl Check for various functions
AC_CHECK_FUNC(vsnprintf,,FLAGS="-DHAVE_NO_VSNPRINTF ${FLAGS}")
AC_CHECK_FUNC(vsnprintf,,FLAGS="-DHAVE_NO_VSNPRINTF ${FLAGS}")
AC_CHECK_FUNC(snprintf,,FLAGS="-DHAVE_NO_SNPRINTF ${FLAGS}")
AC_CHECK_FUNC(snprintf,,FLAGS="-DHAVE_NO_SNPRINTF ${FLAGS}")
dnl Check if Unix98 socklen_t type is available
AC_TRY_COMPILE(
[#include <sys/types.h>
#include <sys/socket.h>],
[socklen_t len = 42; return 0;],,FLAGS="-DHAVE_NO_SOCKLEN_T ${FLAGS}")
dnl See if we need a .exe extension on executables
dnl See if we need a .exe extension on executables
AC_EXEEXT
AC_EXEEXT
...
...
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