diff --git a/configure.ac b/configure.ac
index a0761dc65bfd28769d975521bfb6fae5b8b1ae7d..ff9e7753fcc26640db4bce01a2672cb9dcf2fca0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -135,6 +135,7 @@ AC_CONFIG_FILES([Makefile
 		 src/slurmctld/Makefile 
 		 src/scontrol/Makefile
 		 src/scancel/Makefile
+		 src/squeue/Makefile
 		 src/test/Makefile
 		 testsuite/Makefile
 		 testsuite/slurm_unit/Makefile
diff --git a/src/Makefile.am b/src/Makefile.am
index 795690f6ead4329d74c841f14fc346723608cb41..e20f78aed249e1c47eb05c3004a810133cb20c69 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -3,7 +3,7 @@ EXTRA_DIST = popt
 
 # add subdir "squeue" as soon as something is there:
 if USE_INCLUDED_POPT
-SUBDIRS = popt common api slurmctld slurmd srun scontrol scancel test
+SUBDIRS = popt common api slurmctld slurmd srun scontrol scancel squeue test
 else
-SUBDIRS = common api slurmctld slurmd srun scontrol scancel test
+SUBDIRS = common api slurmctld slurmd srun scontrol scancel squeue test
 endif