Want to run around with just the Glock in Left 4 Dead 2? Unfortunately, you can't have it as a standalone sidearm.
The only way to get the Glock in the game is by using the dual-wielded pistols, which pair it up rather than letting you equip it solo. So if you're set on the Glock, dual pistols are your route.