Fix building with libtasn1 < 3.1

The data type ASN1_ARRAY_TYPE is deprecated, but still available
in current versions of libtasn1.

This fixes building with the version of libtasn1 from current
debian stable.
List all the debian build dependencies

These have been tested on a debootstrap based install of
debian wheezy.

The gettext dependency is only required for some m4 macros
used in m4/iconv.m4 - to avoid it, the lib-prefix.m4 and
lib-link.m4 files from gettext could be bundled as well.
Use the right printf format for printing uint64_t
Change the return value of a function to void

This avoids a warning about control reaching the end of a non-void
function.
Include sys/types.h within rc4.h

This makes sure the rc4.h header can be included anywhere,
without assuming that the user of the header needs to include
any special header beforehand.

This fixes compilation on OS X.
Use uint8_t instead of the nonstandard u_char type in the rc4 code
Remove stray tabs from Makefile.am
Properly substitute LTLIBICONV in the makefile
Check for strlcpy and libbsd during configure

On BSD-derived systems (such as OS X), where strlcpy already exists
in libc, we can build just fine without libbsd.
Add smb_stat_list_destroy function. Plus a few small fixes
Fix a bug where smb_message_grow was not counting smb_packet size in the memcpy of the oldpacket ...
Compute smb_tree_connect msg size more precisely
Fix a bug that would cause smb_tree_connect to share name with non-ascii characters to fail
fix smb_find
Whitespace commit
Merge pull request #9 from mstorsjo/detect-libbsd

Check for strlcpy and libbsd during configure
Merge pull request #3 from mstorsjo/old-libtasn1

Fix building with libtasn1 < 3.1
Merge pull request #4 from mstorsjo/debian-deps

List all the debian build dependencies
Merge pull request #5 from mstorsjo/printf-formats

Use the right printf format for printing uint64_t
Merge pull request #6 from mstorsjo/void-return

Change the return value of a function to void