Skip to content

Commit

Permalink
FreeBSD 64-bit support
Browse files Browse the repository at this point in the history
  • Loading branch information
megastep committed Aug 23, 2016
1 parent 5f3d5e2 commit acfd6ec
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
9 changes: 6 additions & 3 deletions config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,13 @@
/* Define to 1 if you have the `waitpid' function. */
#undef HAVE_WAITPID

/* Define to 1 if you have the file `AC_File'. */
/* Define to 1 if you have the file `/dev/ptc'. */
#undef HAVE__DEV_PTC

/* Define to 1 if you have the file `AC_File'. */
/* Define to 1 if you have the file `/dev/ptmx'. */
#undef HAVE__DEV_PTMX

/* Define to 1 if you have the file `AC_File'. */
/* Define to 1 if you have the file `/dev/pts'. */
#undef HAVE__DEV_PTS

/* Define to 1 if you have the `_getpty' function. */
Expand Down Expand Up @@ -213,6 +213,9 @@
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME

/* Define to the home page for this package. */
#undef PACKAGE_URL

/* Define to the version of this package. */
#undef PACKAGE_VERSION

Expand Down
4 changes: 4 additions & 0 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ case "$target" in
LIBDL=""
AC_DEFINE(USE_BSD_PTY, 1, Use BSD-style ptys)
ARCH=x86 ;;
amd64*freebsd*)
LIBDL=""
AC_DEFINE(USE_BSD_PTY, 1, Use BSD-style ptys)
ARCH=x86_64 ;;
*alpha*)
CFLAGS="$CFLAGS -mcpu=ev4 -Wa,-mall"
ARCH=alpha ;;
Expand Down

0 comments on commit acfd6ec

Please sign in to comment.